Т.е., принимая во внимание то, что HSRP - это костыль и на внешних интерфейсах делать его нет надобности, то оставляю по одной сиське на каждом провайдере...
Тогда вопрос следующего уровня. :)
Есть третья cisco! У которой есть два аплинка к провайдерам (она тоже в AS), однако, оба анонса в состоянии shutdown. Хочется, чтобы трафик шёл через ту cisco, которая в настоящий момент активна. Но чего-то не получается. :( не работает neighbor A.B.C.D next-hop-self. Скорее всего чего-то я не доделал. При попытке получить табличку маршрутизации:
Активная cisco:
dlg-router01#show ip bgp
BGP table version is 7, local router ID is 193.LLL.BBB.251
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 217.FF.RRR.1 3000 28775 i
*> 193.LLL.BBB.0 0.0.0.0 0 32768 i
dlg-router01#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is 217.FF.RRR.1 to network 0.0.0.0
B* 0.0.0.0/0 [20/0] via 217.FF.RRR.1, 7w0d
10.0.0.0/8 is variably subnetted, 5 subnets, 3 masks
S 10.XXX.0.0/16 [1/0] via 10.XXX.YY.250
C 10.XXX.YY.0/24 is directly connected, Vlan85
L 10.XXX.YY.245/32 is directly connected, Vlan85
S 10.NNN.0.0/24 [1/0] via 10.XXX.YY.250
S 10.MMM.0.0/16 [1/0] via 10.XXX.YY.250
193.LLL.BBB.0/24 is variably subnetted, 2 subnets, 2 masks
C 193.LL.BBB.0/24 is directly connected, GigabitEthernet0/0
L 193.LL.BBB.251/32 is directly connected, GigabitEthernet0/0
217.FF.RRR.0/24 is variably subnetted, 2 subnets, 2 masks
C 217.FF.RRR.0/30 is directly connected, GigabitEthernet0/1
L 217.FF.RRR.2/32 is directly connected, GigabitEthernet0/1
А вот на проблемной:
gw#sh ip bgp
BGP table version is 68, local router ID is 193.LLL.BBB.254
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
* i 0.0.0.0 217.FF.RRR.1 0 100 0 28775 i
r>i 193.LLL.BBB.0 193.LLL.BBB.251 0 100 0 i
gw#sho ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
89.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 89.MMM.KKK.8/30 is directly connected, GigabitEthernet0/1
L 89.MMM.KKK.10/32 is directly connected, GigabitEthernet0/1
193.LLL.BBB.0/24 is variably subnetted, 2 subnets, 2 masks
C 193.LLL.BBB.0/24 is directly connected, GigabitEthernet0/0
L 193.LLL.BBB.254/32 is directly connected, GigabitEthernet0/0