From: Antonio Soares (amsoares@netcabo.pt)
Date: Sat Jul 14 2007 - 18:13:58 ART
AFIAK, the only BGP routes with next-hop 0.0.0.0 that are inserted in the
local routing table are those resulting from aggregate commands. In this
case they will point to the null0 interface.
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Tomi
Amao
Sent: sabado, 14 de Julho de 2007 21:23
To: ccielab@groupstudy.com
Subject: bgp and static route problem (redistribution)
Rack1R2(config)#do sh ip route
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
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial1/1
12.0.0.0/16 is subnetted, 1 subnets
S 12.0.0.0 is directly connected, Serial1/1
Rack1R2(config)#
Rack1R2(config)#do sh ip bgp
BGP table version is 2, local router ID is 10.0.0.2 Status codes: s
suppressed, d damped, h history, * valid, > best, i - internal, r
RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 12.0.0.0/16 0.0.0.0 0 32768 ?
Rack1R2(config)#
router bgp 200
no synchronization
bgp log-neighbor-changes
redistribute static
neighbor 10.0.0.3 remote-as 200
no auto-summary
ip route 12.0.0.0 255.255.0.0 Serial1/1 250
i configured a static route (12.0.0.0/16 network) and gave it an AD of
250 and redistributed static into bgp. it shows up as a valid and best
route in the bgp table but instead of being put in the routin table the
static route is placed i dont know y this happens but if u could help i
would really appreciate it
Tomi Amao
Resourcery ltd.
18 Adeola Hopewell,
Victoria Island Lagos,
Nigeria.
CCIE(written), CCNP, CCNA, OCA 10G
------------------------------------------------------------------------
Express yourself instantly with MSN Messenger! MSN Messenger Download today
it's FREE!
This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:41 ART