Есть 2 ESR-200 между ними подняты 2 тонеля ip4ip4. Надо поднять OSPF, чтоб при падении одного канала использовался резервный.
Настройки на ESR-1:
Код: Выделить всё
esr200-1# do sh ip ospf interface
Interface: ip4ip4 2
Internet Address: IID 0
Router ID: 10.10.100.102
Network Type: broadcast
Area: 1.1.1.1 (16843009)
Transmit: 1
State: DR
Priority: 128
Cost: 1
ECMP weight: 1
Hello timer: 10
Wait timer: 10
Dead timer: 10
Retransmit timer: 10
Designed router (ID): 10.10.100.102
Designed router (IP): 10.100.100.82
Backup designed router (ID): 0.0.0.0
Backup designed router (IP): 0.0.0.0
Neighbor Count: 0
Adjacent neighbor count: 0
esr200-1# sh running-config routing ospf
router ospf log-adjacency-changes
router ospf 10
router-id 10.10.100.102
preference 10
area 1.1.1.1
network 10.100.100.80/30
area-type nssa
enable
exit
enable
exit
tunnel ip4ip4 2
ip ospf instance 10
ip ospf area 1.1.1.1
ip ospf mtu-ignore
ip ospf cost 1
ip ospf dead-interval 10
ip ospf wait-interval 10
ip ospf network point-to-point
ip ospf neighbor 10.10.100.101
ip ospf
exit
Настройки на ESR-2:
Код: Выделить всё
esr200-2# sh ip ospf interface
Interface: ip4ip4 5
Internet Address: IID 0
Router ID: 10.10.100.101
Network Type: broadcast
Area: 2.2.2.2 (33686018)
Transmit: 1
State: DR
Priority: 128
Cost: 1
ECMP weight: 1
Hello timer: 10
Wait timer: 10
Dead timer: 10
Retransmit timer: 10
Designed router (ID): 10.10.10.101
Designed router (IP): 10.100.100.81
Backup designed router (ID): 0.0.0.0
Backup designed router (IP): 0.0.0.0
Neighbor Count: 0
Adjacent neighbor count: 0
esr200-2# sh running-config routing ospf
router ospf log-adjacency-changes
router ospf 10
router-id 10.10.100.101
area 2.2.2.2
network 10.100.100.80/30
area-type nssa
enable
exit
enable
exit
tunnel ip4ip4 2
ip ospf instance 10
ip ospf area 2.2.2.2
ip ospf mtu-ignore
ip ospf cost 1
ip ospf dead-interval 10
ip ospf wait-interval 10
ip ospf network point-to-point
ip ospf neighbor 10.10.100.102
ip ospf
exit
Код: Выделить всё
esr200-2# sh ip ospf neighbors
Router ID Pri State DTime Interface Router IP
--------- --- ----- ----- ------------- ---------
Зарание благодарю за помощь.