RE: bgp and static route problem (redistribution)

From: Djerk Geurts (djerk@djerk.nl)
Date: Sat Jul 14 2007 - 17:35:48 ART


Next hop address? Is it known, if you change the static route to point to
the IP address of the next hop? BGP needs the next hop and it needs to be
reachable for a route to be put into the routing table.

Djerk

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of Tomi Amao
> Sent: zaterdag 14 juli 2007 22: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!
>
> ______________________________________________________________
> _________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:41 ART