Re: BGP Multihoming issues (local-pref)

From: Frank Jimenez (franjime@xxxxxxxxx)
Date: Fri Nov 03 2000 - 01:06:54 GMT-3


   
Dave,
   Can a route entry in BGP have more than one local preference? I didn't thin
k so, but I haven't tried it yet to be sure. If two identical routes with diff
erent local preference are encountered, the highest local preference should be
preferred....

Frank Jimenez
franjime@cisco.com

At 04:33 PM 11/04/2000 -1200, you wrote:
>
>
>Hi all,
>
>I am trying to control the exit point to 2 different /24 nets in an external A
S
>using local-pref. It seems to work OK but I am hoping there is a "tidier" wa
y.
>
>Also, on my AS1 iBGP routers (lots of them) when I do show ip bgp 172.16.1.0
>there is only one entry (pref300). I am sure there should be the second pref
>100 route in the table with no >. If I shut one of the exit points and clear
ip
>bgp *, the pref 100 replaces the lost 300 but I still think both entrys shoul
d
>exist when show ip bgp net.
>
>R1---------------------------iBGP----------------------------R2
>|
>|
>|
>| AS1
>------------------------------------------------------------------------------
------------------------------
>|
>| AS2
>|
>|
>R3---------------------------iBGP----------------------------R4
>
>AS2 networks:
>172.16.1.0/24
>172.16.2.0/24
>
>
>**************************************************
>R1
>router bgp 1
> neighbor AS2 route-map LOCAL in
>!
>access-list 1 permit any
>access-list 25 permit 172.16.2.0 0.0.0.255
>!
>route-map LOCAL permit 10
> match ip address 25
> set local-preference 300
>!
>route-map LOCAL permit 20
> match ip address 1
> set local-preference 100
>**************************************************
>R2
>router bgp 1
> neighbor AS2 route-map LOCAL in
>!
>access-list 1 permit any
>access-list 25 permit 172.16.1.0 0.0.0.255
>!
>route-map LOCAL permit 10
> match ip address 25
> set local-preference 300
>!
>route-map LOCAL permit 20
> match ip address 1
> set local-preference 100
>***************************************************
>
>R\Davo
>
>
>



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:41 GMT-3