AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers
109
RouterOS v3 Configuration and User Guide
On OSPF_peer_1:
[admin@OSPF_peer_1] > ip route pr
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, r - rip, o - ospf, b - bgp
# DST-ADDRESS G GATEWAY DISTANCE INTERFACE
0 Do 192.168.0.0/24 r 10.1.0.2 110 to_main
1 Io 10.3.0.0/24
110
2 DC 10.3.0.0/24 r 0.0.0.0 0 backup
3 Do 10.2.0.0/24 r 10.1.0.2 110 to_main
4 Io 10.1.0.0/24
110
5 DC 10.1.0.0/24 r 0.0.0.0 0 to_main
On OSPF_peer_2:
[admin@OSPF_peer_2] > ip route print
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, r - rip, o - ospf, b - bgp
# DST-ADDRESS G GATEWAY DISTANCE INTERFACE
0 Do 192.168.0.0/24 r 10.2.0.2 110 to_main
1 Io 10.3.0.0/24
110
2 DC 10.3.0.0/24 r 0.0.0.0 0 to_peer_1
3 Io 10.2.0.0/24
110
4 DC 10.2.0.0/24 r 0.0.0.0 0 to_main
5 Do 10.1.0.0/24 r 10.2.0.2 110 to_main
Functioning of the Backup
If the link between routers
OSPF_MAIN
and
OSPF_peer_1
goes down, we have the following
situation:
main_gw 192.168.0.11
[OSPF_peer_2]
Cost=1
Cost=1
Cost=1
to_peer1 10.3.0.2
to_main 10.2.0.1
backup 10.3.0.1
to_peer2 10.2.0.2
to_peer1 10.1.0.2
[OSPF_MAIN]
to_main 10.1.0.1
[OSPF_peer_1]
Internet
Figure 15: OSPF Backup