RE: Problem with redistribution of eBGP learned routes

From: Victor Cappuccio (vcappuccio@desca.com)
Date: Sat Jan 06 2007 - 19:48:08 ART


Hi,

Show ip bgp 10.2.2.0 would help also
Show ip bgp 108.201.14.0

I hope those routers are not suffering of Hypoglycemia ;)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
psuthar@cisco.com
Sent: Saturday, January 06, 2007 6:38 PM
To: ccielab@groupstudy.com
Subject: Problem with redistribution of eBGP learned routes

Hi,
Need some basic help with BGP.
I got two routers Vanilla and Straberry, in AS=409 (iBGP). In addition
Vanilla
has eBGP connection to Mint(AS=203), Straberry has eBGP connection to
Chocolate
(AS=507). Straberry advertise next-hop-self for neighbor to Vanilla.
The config details are as follows : -
Vanilla#sh runn | begin bgp
router bgp 409
 no synchronization
 bgp log-neighbor-changes
 network 10.1.1.0 mask 255.255.255.0
 neighbor 10.1.1.3 remote-as 409 <<Straberry
 neighbor 62.129.48.1 remote-as 203
 neighbor 192.168.1.2 remote-as 409
 neighbor 192.168.2.2 remote-as 409
 no auto-summary

Vanilla#sh ip bgp
BGP table version is 7, local router ID is 62.129.48.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
*> 10.1.1.0/24 0.0.0.0 0 32768 i
* i 10.1.1.3 0 100 0 i
* i10.2.2.0/24 192.168.1.2 0 100 0 ?
* i10.2.3.0/24 192.168.1.2 0 100 0 ?
* i10.2.5.0/24 192.168.1.2 0 100 0 ?
* i10.200.1.0/24 192.168.2.2 0 100 0 ?
* i10.200.3.0/24 192.168.2.2 0 100 0 ?
* i10.200.5.0/24 192.168.2.2 0 100 0 ?
*> 62.120.0.0/16 62.129.48.1 0 0 203 ?
*> 62.121.0.0/16 62.129.48.1 0 0 203 ?
*> 62.123.0.0/16 62.129.48.1 0 0 203 ?
*> 62.129.48.0/30 62.129.48.1 0 0 203 ?
* i108.201.14.0/30 10.1.1.3 0 100 0 507 ?
* i108.201.15.0/24 10.1.1.3 0 100 0 507 ?
* i108.201.17.0/24 10.1.1.3 0 100 0 507 ?
* i108.201.19.0/24 10.1.1.3 0 100 0 507 ?
* i192.168.1.0/30 192.168.1.2 0 100 0 ?
* i192.168.2.0/30 192.168.2.2 0 100 0 ?

Vanilla#sh ip route
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, 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

     10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Ethernet0/0
     192.168.1.0/30 is subnetted, 1 subnets
O 192.168.1.0 [110/74] via 10.1.1.4, 01:25:36, Ethernet0/0
     62.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
B 62.123.0.0/16 [20/0] via 62.129.48.1, 00:52:25
B 62.120.0.0/16 [20/0] via 62.129.48.1, 00:52:25
B 62.121.0.0/16 [20/0] via 62.129.48.1, 00:52:25
C 62.129.48.0/30 is directly connected, Serial1/0
     192.168.2.0/30 is subnetted, 1 subnets
O 192.168.2.0 [110/74] via 10.1.1.4, 01:25:36, Ethernet0/0
Straberry#sh runn | begin bgp
router bgp 409
 no synchronization
 bgp log-neighbor-changes
 network 10.1.1.0 mask 255.255.255.0
 neighbor 10.1.1.2 remote-as 409
 neighbor 10.1.1.2 next-hop-self
 neighbor 108.201.14.1 remote-as 507
 neighbor 192.168.1.2 remote-as 409
 neighbor 192.168.2.2 remote-as 409
 no auto-summary
!
ip classless
no ip http server
ip pim bidir-enable
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
          
Straberry#
Straberry#sh ip bgp
BGP table version is 6, local router ID is 108.201.14.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
* i10.1.1.0/24 10.1.1.2 0 100 0 i
*> 0.0.0.0 0 32768 i
* i10.2.2.0/24 192.168.1.2 0 100 0 ?
* i10.2.3.0/24 192.168.1.2 0 100 0 ?
* i10.2.5.0/24 192.168.1.2 0 100 0 ?
* i10.200.1.0/24 192.168.2.2 0 100 0 ?
* i10.200.3.0/24 192.168.2.2 0 100 0 ?
* i10.200.5.0/24 192.168.2.2 0 100 0 ?
* i62.120.0.0/16 62.129.48.1 0 100 0 203 ?
* i62.121.0.0/16 62.129.48.1 0 100 0 203 ?
* i62.123.0.0/16 62.129.48.1 0 100 0 203 ?
* i62.129.48.0/30 62.129.48.1 0 100 0 203 ?
*> 108.201.14.0/30 108.201.14.1 0 0 507 ?
*> 108.201.15.0/24 108.201.14.1 0 0 507 ?
*> 108.201.17.0/24 108.201.14.1 0 0 507 ?
*> 108.201.19.0/24 108.201.14.1 0 0 507 ?
* i192.168.1.0/30 192.168.1.2 0 100 0 ?
* i192.168.2.0/30 192.168.2.2 0 100 0 ?
Straberry#
Straberry#sh ip route
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, 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

     10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Ethernet0/0
     108.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
B 108.201.15.0/24 [20/0] via 108.201.14.1, 00:58:01
C 108.201.14.0/30 is directly connected, Serial1/0
B 108.201.17.0/24 [20/0] via 108.201.14.1, 00:58:01
B 108.201.19.0/24 [20/0] via 108.201.14.1, 00:58:01
     192.168.1.0/30 is subnetted, 1 subnets
O 192.168.1.0 [110/74] via 10.1.1.4, 01:32:30, Ethernet0/0
     192.168.2.0/30 is subnetted, 1 subnets
O 192.168.2.0 [110/74] via 10.1.1.4, 01:32:30, Ethernet0/0

Question:
(1) Why Straberry is not advertising eBGP learned routes to Vanilla?.
(2) From Vanilla,I can ping next-hop 10.1.1.3, but routes learned
through this
are not added into routing tables
* i108.201.14.0/30 10.1.1.3 0 100 0 507 ?
* i108.201.15.0/24 10.1.1.3 0 100 0 507 ?
* i108.201.17.0/24 10.1.1.3 0 100 0 507 ?
* i108.201.19.0/24 10.1.1.3 0 100 0 507 ?

Thanks for help.
Best regards,

Prakash Suthar



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:55 ART