From: xander (xander@xxxxxx)
Date: Wed Apr 11 2001 - 15:28:35 GMT-3
Hello Mohamed,
RA)
int s0
descr RA-RD
ip add 192.168.2.1 255.255.255.0
int s1
descr RA-RC
ip add 192.168.3.1 255.255.255.0
router bgp 3
no sync
network 192.168.2.0
network 192.168.3.0
neigh 192.168.2.2 remote-as 3
neigh 192.168.3.2 remote-as 3
bgp always-compare-med <<<< TRY THIS
RC)
int s0
descr RC-RD
ip add 192.168.1.2 255.255.255.0
int s1
descr RC-RA
ip add 192.168.3.2 255.255.255.0
router bgp 3
no sync
network 192.168.1.0
network 192.168.3.0
neigh 192.168.3.1 remote-as 1
neigh 192.168.3.1 route-map SET_MED out
neigh 192.168.1.1 remote-as 3
neigh 192.168.1.1 next-hop-self
route-map SET_MED permit 10
match ip add 10
set metric 100
route-map SET_MED permit 20
match ip add 20
set metric 50
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 20 permit any
RD)
int s0
descr RD-RC
ip add 192.168.1.1 255.255.255.0
int s1
descr RD-RA
ip add 192.168.2.2 255.255.255.0
router bgp 3
no sync
network 192.168.1.0
network 192.168.2.0
neigh 192.168.2.1 remote-as 1
neigh 192.168.2.1 route-map SET_MED out
neigh 192.168.1.2 remote-as 3
neigh 192.168.1.2 next-hop-self
route-map SET_MED permit 10
match ip add 10
set metric 50
route-map SET_MED permit 20
match ip add 20
set metric 100
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 20 permit any
--------------------------------------------
it works.
MH> guys ;
MH> im configuring 3 routers ,RA,RC,RD.
MH> ra is AS 3
MH> while both RC and RD in AS 1, the 3 routers are connected fully meshed .
MH> the requirement is to let all the traffic comes to AS 3 through the
MH> connection between RA and RD unless the link fails .
MH> i configured RA to send metric value to RC greater than the one sent to RD
.
MH> BUT , still RC recoginze the route to the AS 1 networks thourgh RA and not
MH> RD .
MH> i noticed that the localpref value coming from RD to RC is 100 while no
MH> value for it from RA (which is logical since RD and RC are on the same AS )
.
MH> now ,and if i dont have control to config RC or RD (they are the service
MH> provider routers ) how can i solve this problem ?.
MH> as per halabi 's book ,RC should reach AS1 networks though RD ...wat do i
MH> miss here ?/
MH> THX
-- WBW, xander mailto:xander@adt.ru CCNA, CCNP+VoiceAccess, CCIE very soon :-)...
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:44 GMT-3