Re: bgp route selected?

From: Richard Davidson (rich@myhomemail.net)
Date: Sun Oct 13 2002 - 01:48:36 GMT-3


I changed the rid of the AS3 router to 223.255.255.1 and bgp switched to the router with the rid of 5.5.5.5. I just don't get it. The original configuration had the router of AS3 with a rid of 6.6.6.6 and the router of AS1 had a rid of 5.5.5.5. The router of AS1 should have been chosen. It was not until I increased the rid significantly that the switch was made to the lower rid. Any clues?
BGP neighbor is 10.1.1.2, remote AS 3, external link
  BGP version 4, remote router ID 223.255.255.1
BGP neighbor is 172.17.1.2, remote AS 1, external link
  BGP version 4, remote router ID 5.5.5.5
!
#show ip bgp
BGP table version is 3, local router ID is 172.17.1.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
* 193.16.1.0 10.1.1.2 300 0 3 4 ?
*> 172.17.1.2 200 0 1 4 ?
 
 Richard Davidson <rich@myhomemail.net> wrote:
My question is based on the BGP command and configuration handbook, page 46's MED example. Router B is the router in question. I can't figure out why my router is choosing the 10.1.1.2 as the best path to network 193.16.1.0. Every thing is the same and the med should not be compared, because im not comparing it from different ASs. The best route should be the lowest IP address value for the BGP router ID. Any idea why 10.1.1.2 was selected as best route?

B#show ip bgp
BGP table version is 2, local router ID is 172.17.1.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
* 193.16.1.0 172.17.1.2 200 0 1 4 ?
*> 10.1.1.2 300 0 3 4 ?

B#show ip bgp neighbors
BGP neighbor is 10.1.1.2, remote AS 3, external link
  BGP version 4, remote router ID 6.6.6.6

!

BGP neighbor is 172.17.1.2, remote AS 1, external link
  BGP version 4, remote router ID 5.5.5.5



This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:45 GMT-3