From: Ravi (s_ravichandran@xxxxxxxxxxx)
Date: Mon Jul 02 2001 - 00:28:59 GMT-3
Hi,
This may be a simple question for BGP experts, But I could not understand it.
R4 and R5 are in AS 1, IGRP is the IGP.
A static route to null0 is created on R4, and induced to BGP using network
command.
R5 has no route to 0.0.0.0 thru IGP. But it has the route to R4.
No sync is used on R5 to get the 0.0.0.0 route on its routing table with B
entry.
R5 connects R2. R2 is in AS 2
R5 advertises the 0.0.0.0 to R2 with its outbound ip address (137.20.20.10) as
next hop address.
R2 knows the next hop address thru ospf.(OSPF between R5 and R2)
Up to this I have followed, Problem starts now.
R2 and R1 are in the same AS 2
R1 also has the route to next hop address (137.20.20.10)
EIGRP is the IGP between R1 and R2
Sh IP BGP on R1 shows
Network Next Hop Metric LocPrf Weight Path
* i0.0.0.0 137.20.20.10 100 0 1 i
R1#
I expected to be like this,
*> 0.0.0.0 137.20.20.10 0 1 i
Could some one tel me if the above is correct or am I doing something wrong?
R2 's routing table
R2#sir
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is 137.20.20.10 to network 0.0.0.0
C 200.200.200.0/24 is directly connected, Loopback0
137.20.0.0/24 is subnetted, 1 subnets
C 137.20.20.0 is directly connected, Serial1
172.168.0.0/24 is subnetted, 5 subnets
O IA 172.168.30.0 [110/129] via 137.20.20.10, 00:23:58, Serial1
O E1 172.168.40.0 [110/84] via 137.20.20.10, 00:23:58, Serial1
O IA 172.168.60.0 [110/138] via 137.20.20.10, 00:23:58, Serial1
O IA 172.168.100.0 [110/128] via 137.20.20.10, 00:23:58, Serial1
O E1 172.168.200.0 [110/84] via 137.20.20.10, 00:23:58, Serial1
C 192.168.21.0/24 is directly connected, Serial0
D 192.168.17.0/24 [90/2195456] via 192.168.21.2, 00:23:27, Serial0
D EX 192.168.70.0/24 [170/2244352] via 192.168.21.2, 00:23:26, Serial0
B* 0.0.0.0/0 [20/0] via 137.20.20.10, 00:23:27
R2#
R2's BGP table
R2#sib
BGP table version is 2, local router ID is 200.200.200.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 137.20.20.10 0 1 i
R2#
R1's routing table
R1#sir
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is not set
137.20.0.0/24 is subnetted, 1 subnets
D EX 137.20.20.0 [170/2218752] via 192.168.21.1, 00:25:00, Serial1
172.168.0.0/24 is subnetted, 5 subnets
D EX 172.168.30.0 [170/2218752] via 192.168.21.1, 00:25:00, Serial1
D EX 172.168.40.0 [170/2218752] via 192.168.21.1, 00:25:00, Serial1
D EX 172.168.60.0 [170/2218752] via 192.168.21.1, 00:25:00, Serial1
D EX 172.168.100.0 [170/2218752] via 192.168.21.1, 00:25:00, Serial1
D EX 172.168.200.0 [170/2218752] via 192.168.21.1, 00:25:00, Serial1
C 192.168.21.0/24 is directly connected, Serial1
C 192.168.17.0/24 is directly connected, Ethernet0
D EX 192.168.70.0/24 [170/1732352] via 192.168.17.2, 00:25:00, Ethernet0
R1#
R1's BGP table
R1#sib
BGP table version is 1, local router ID is 192.168.21.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i0.0.0.0 137.20.20.10 100 0 1 i
R1#
R5's routing table
R5#sir
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is 172.168.200.2 to network 0.0.0.0
172.168.0.0/24 is subnetted, 5 subnets
O IA 172.168.30.0 [110/65] via 172.168.100.3, 00:26:55, Serial0.1
I 172.168.40.0 [100/8576] via 172.168.200.2, 00:01:17, Serial0.2
O 172.168.60.0 [110/74] via 172.168.100.6, 04:29:13, Serial0.1
C 172.168.100.0 is directly connected, Serial0.1
C 172.168.200.0 is directly connected, Serial0.2
O E1 192.168.70.0/24 [110/128] via 137.20.20.1, 00:26:36, Serial1
O E1 192.168.17.0/24 [110/128] via 137.20.20.1, 00:26:38, Serial1
O E1 192.168.21.0/24 [110/128] via 137.20.20.1, 00:26:42, Serial1
137.20.0.0/24 is subnetted, 1 subnets
C 137.20.20.0 is directly connected, Serial1
B* 0.0.0.0/0 [200/0] via 172.168.200.2, 04:20:12
R5#
R5's BGP table
R5#sib
BGP table version is 3, local router ID is 172.168.200.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i0.0.0.0 172.168.200.2 0 100 0 i
R5#
R4's routing table
R4#sir
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
I* 137.20.0.0/16 [100/10476] via 172.168.200.1, 00:00:15, Serial1
172.168.0.0/24 is subnetted, 5 subnets
I 172.168.30.0 [100/8667] via 172.168.200.1, 00:00:15, Serial1
C 172.168.40.0 is directly connected, Ethernet0
I 172.168.60.0 [100/8667] via 172.168.200.1, 00:00:15, Serial1
I 172.168.100.0 [100/10476] via 172.168.200.1, 00:00:15, Serial1
C 172.168.200.0 is directly connected, Serial1
I 192.168.21.0/24 [100/8667] via 172.168.200.1, 00:00:15, Serial1
I 192.168.17.0/24 [100/8667] via 172.168.200.1, 00:00:15, Serial1
I 192.168.70.0/24 [100/8667] via 172.168.200.1, 00:00:16, Serial1
S* 0.0.0.0/0 is directly connected, Null0
R4#
R4's BGP table
R4#sib
BGP table version is 2, local router ID is 172.168.200.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 0.0.0.0 0 32768 i
R4#
**Please read:http://www.groupstudy.com/list/posting.html
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:28 GMT-3