24.11.2014 Views

General Information

General Information

General Information

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

# NETWORK AREA<br />

0 10.2.0.0/24 local_10<br />

1 10.3.0.0/24 local_10<br />

After all routers have been set up as described above, and the links between them are operational,<br />

the routing tables of the three routers look as follows:<br />

[admin@OSPF_MAIN] ip route> print<br />

Flags: X - disabled, I - invalid, D - dynamic, J - rejected,<br />

C - connect, S - static, r - rip, o - ospf, b - bgp<br />

# DST-ADDRESS G GATEWAY DISTANCE INTERFACE<br />

0 Io 192.168.0.0/24 110<br />

1 DC 192.168.0.0/24 r 0.0.0.0 0 main_gw<br />

2 Do 10.3.0.0/24 r 10.2.0.1 110 to_peer_2<br />

r 10.1.0.1<br />

to_peer_1<br />

3 Io 10.2.0.0/24 110<br />

4 DC 10.2.0.0/24 r 0.0.0.0 0 to_peer_2<br />

5 Io 10.1.0.0/24 110<br />

6 DC 10.1.0.0/24 r 0.0.0.0 0 to_peer_1<br />

[admin@OSPF_peer_1] ip route> print<br />

Flags: X - disabled, I - invalid, D - dynamic, J - rejected,<br />

C - connect, S - static, r - rip, o - ospf, b - bgp<br />

# DST-ADDRESS G GATEWAY DISTANCE INTERFACE<br />

0 Do 192.168.0.0/24 r 10.1.0.2 110 to_main<br />

1 Io 10.3.0.0/24 110<br />

2 DC 10.3.0.0/24 r 0.0.0.0 0 backup<br />

3 Do 10.2.0.0/24 r 10.1.0.2 110 to_main<br />

r 10.3.0.2<br />

backup<br />

4 Io 10.1.0.0/24 110<br />

5 DC 10.1.0.0/24 r 0.0.0.0 0 to_main<br />

[admin@OSPF_peer_2] ip route> print<br />

Flags: X - disabled, I - invalid, D - dynamic, J - rejected,<br />

C - connect, S - static, r - rip, o - ospf, b - bgp<br />

# DST-ADDRESS G GATEWAY DISTANCE INTERFACE<br />

0 Do 192.168.0.0/24 r 10.2.0.2 110 to_main<br />

1 Io 10.3.0.0/24 110<br />

2 DC 10.3.0.0/24 r 0.0.0.0 0 to_peer_1<br />

3 Io 10.2.0.0/24 110<br />

4 DC 10.2.0.0/24 r 0.0.0.0 0 to_main<br />

5 Do 10.1.0.0/24 r 10.3.0.1 110 to_peer_1<br />

r 10.2.0.2<br />

to_main<br />

Routing tables with Revised Link Cost<br />

This example shows how to set up link cost. Let us assume, that the link between the routers<br />

OSPF_peer_1 and OSPF_peer_2 has a higher cost (might be slower, we have to pay more for the<br />

traffic through it, etc.).<br />

Page 391 of 568<br />

Copyright 1999-2005, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.<br />

Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!