Dynamic routing protocols: BGP, OSPF, RIP
U
SER
G
UIDE
221
B>* 172.20.1.221/32 [20/1] via 88.58.10.246, tun0, 00:01:01
B>* 192.168.1.0/24 [20/20] via 88.58.10.246, tun0, 00:01:01
B>* 192.168.184.6/32 [20/0] via 94.92.113.170, tun1, 00:01:03
The show IP bgp command shows that both the neighbors are available:
root@IMOLA>
show ip bgp
BGP table version is 0, local router ID is 172.31.34.79
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-
failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 7.0.255.1/32 0.0.0.0 0 32768 3269 65210 i
*> 7.0.255.2/32 0.0.0.0 0 32768 3269 65210 i
*> 10.1.10.0/24 0.0.0.0 0 32768 3269 65210 i
*> 10.8.0.0/24 0.0.0.0 0 32768 3269 65210 i
*> 10.10.0.0/16 0.0.0.0 0 32768 i
*> 10.45.15.192/27 88.58.10.246 1 150 0 65201 ?
* 94.92.113.170 1 140 0 65201 ?
*> 44.44.0.0/16 88.58.10.246 0 150 0 65201 ?
*> 55.55.0.0/16 88.58.10.246 0 150 0 65201 ?
*> 172.20.1.219/32 88.58.10.246 20 150 0 65201 ?
* 94.92.113.170 20 140 0 65201 ?
*> 172.20.1.221/32 88.58.10.246 1 150 0 65201 ?
*> 192.168.1.0 88.58.10.246 20 150 0 65201 ?
* 94.92.113.170 20 140 0 65201 ?
*> 192.168.184.6/32 94.92.113.170 0 140 0 65201 i
Total number of prefixes 12
If the connection with
router A
is interrupted, routes will become reachable through
router B
:
root@IMOLA>
show ip bgp
BGP table version is 0, local router ID is 172.31.34.79
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-
failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
Next Hop Metric LocPrf Weight Path
*> 7.0.255.1/32 0.0.0.0 0 32768 3269 65210 i
*> 7.0.255.2/32 0.0.0.0 0 32768 3269 65210 i
*> 10.1.10.0/24 0.0.0.0 0 32768 3269 65210 i
*> 10.8.0.0/24
0.0.0.0 0 32768 3269 65210 i
*> 10.10.0.0/16 0.0.0.0 0 32768 i
*> 10.45.15.192/27 94.92.113.170 1
140 0 65201 ?
*> 172.20.1.219/32 94.92.113.170 20
140 0
65201 ?
*> 192.168.1.0
94.92.113.170 20
140 0
65201 ?
*> 192.168.184.6/32 94.92.113.170 0
140 0
65201 i
Total number of prefixes 9
show ip route bgp