RE: bgp and static route problem (redistribution)

From: Tomi Amao (tomiground@hotmail.com)
Date: Sat Jul 14 2007 - 18:46:44 ART


thanks mike that helped a whole lot i really appreciate it

Tomi Amao

Resourcery ltd.

18 Adeola Hopewell,

Victoria Island Lagos,

Nigeria.

CCIE(written), CCNP, CCNA, OCA 10G

  --------------------------------------------------------------------

  From: "Mike Kraus (mikraus)" <mikraus@cisco.com>
  To: "Tomi Amao" <tomiground@hotmail.com>, <ccielab@groupstudy.com>
  Subject: RE: bgp and static route problem (redistribution)
  Date: Sat, 14 Jul 2007 17:41:50 -0400
>Since the route was first learned on that router itself, by
>redistributing, you just allow those routes to be advertised by the
>routing protocol they are redistributed into. It doesn't change the
>routing table of the local router. If this was the case, as soon as
  you
>redistributed from a routing protocol with a worse AD to a better,
  all
>your routes would then be preferred by the new routing protocol.
  This
>would cause all kinds of reachability problems (it would be like
>recursive routing problems, but internally on the router)! So, for
  you
>to see the BGP route being preferred, this route would have to have
  been
>learned via BGP (from its peer). I'm not sure how to better explain
>this...
>
>Taking the config you have, add a static route on your peer
  (10.0.0.3)
>to 12.0.0.0/16 using a AD greater than 200 (but no need to
  redistribute
>on the peer). You will see this static route would never actually be
>used, since the iBGP learned route (from Rack1R2) would be
  preferred.
>
>Hope this helps...
>
>Mike
>
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
  Of
>Tomi Amao
>Sent: Saturday, July 14, 2007 3:23 PM
>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

------------------------------------------------------------------------

FREE pop-up blocking with the new MSN Toolbar MSN Toolbar Get it now!



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