ADVERTISING NETWORKS
Friday, November 14, 2008
advertise network 199.9.9.0 on sanjose 3 and see the results both on sanjose2 and sanjose1
CODE
sanjose3(config-router)#network 199.9.9.0 mask 255.255.255.0
sanjose3(config-router)#end
sanjose3#
--------------------------------------------
sanjose2#sir
Codes: 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
Gateway of last resort is not set
B 199.9.9.0/24 [200/0] via 172.24.1.18, 00:00:59 ---------------------------------> network came up in sanjose2
C 200.100.50.0/24 is directly connected, Loopback0
172.24.0.0/24 is subnetted, 1 subnets
C 172.24.1.0 is directly connected, Serial2/1
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.4 is directly connected, Serial2/0
sanjose2#
------------------------------------------------------------------------
sanjose1#clear ip bgp * soft
sanjose1#sir
Codes: 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
Gateway of last resort is not set ---------------------------------------------------> no network of 199.9.9.0
R 200.100.50.0/24 [120/1] via 192.168.1.6, 00:00:16, Serial2/0
172.24.0.0/24 is subnetted, 1 subnets
R 172.24.1.0 [120/1] via 192.168.1.6, 00:00:16, Serial2/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.4 is directly connected, Serial2/0
sanjose1#
as#1
[Resuming connection 1 to r1 ... ]
sanjose3(config-router)#end
sanjose3#
--------------------------------------------
sanjose2#sir
Codes: 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
Gateway of last resort is not set
B 199.9.9.0/24 [200/0] via 172.24.1.18, 00:00:59 ---------------------------------> network came up in sanjose2
C 200.100.50.0/24 is directly connected, Loopback0
172.24.0.0/24 is subnetted, 1 subnets
C 172.24.1.0 is directly connected, Serial2/1
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.4 is directly connected, Serial2/0
sanjose2#
------------------------------------------------------------------------
sanjose1#clear ip bgp * soft
sanjose1#sir
Codes: 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
Gateway of last resort is not set ---------------------------------------------------> no network of 199.9.9.0
R 200.100.50.0/24 [120/1] via 192.168.1.6, 00:00:16, Serial2/0
172.24.0.0/24 is subnetted, 1 subnets
R 172.24.1.0 [120/1] via 192.168.1.6, 00:00:16, Serial2/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.4 is directly connected, Serial2/0
sanjose1#
as#1
[Resuming connection 1 to r1 ... ]
the network is not advertised from sanjose2 to sanjose1 because all of them are in ibgp relationships .. now configure sanjose1 and sanjose3 are route-reflector clients on sanjose2 and network should be propogated