From: venkat garigipati (garigipati@yahoo.com)
Date: Tue Oct 19 2004 - 02:12:43 GMT-3
hi, i have a question on routes that are learned thru RIP and BGP.. I have Sw2 connected to the backbone and RIP is running on these two routers. And the routes are as follows..
R 222.22.2.0/24 [120/1] via 192.10.1.254, 00:00:20, Vlan28
R 220.20.3.0/24 [120/1] via 192.10.1.254, 00:00:20, Vlan28
C 192.10.1.0/24 is directly connected, Vlan28
150.1.0.0/24 is subnetted, 1 subnets
C 150.1.8.0 is directly connected, Loopback0
R 205.90.31.0/24 [120/1] via 192.10.1.254, 00:00:20, Vlan28
But As soon as BGP comesup between them(I am advertising the same routes thru BGP too), the routes are learned thru BGP since the ( BGP weight of 20 < 120 RIP )..
B 222.22.2.0/24 [20/0] via 192.10.1.254, 00:00:01
B 220.20.3.0/24 [20/0] via 192.10.1.254, 00:00:01
C 192.10.1.0/24 is directly connected, Vlan28
150.1.0.0/24 is subnetted, 1 subnets
C 150.1.8.0 is directly connected, Loopback0
B 205.90.31.0/24 [20/0] via 192.10.1.254, 00:00:01
What should I do(only SW2) to make sure that the routes are learned only thru RIP..
Here is my config's:
router rip
version 2
redistribute connected metric 1 route-map LOOP_0
network 192.10.1.0
no auto-summary
!
router bgp 200
no synchronization
bgp router-id 150.1.8.8
bgp log-neighbor-changes
neighbor 150.1.3.3 remote-as 200
neighbor 150.1.3.3 update-source Loopback0
neighbor 192.10.1.254 remote-as 254
neighbor 192.10.1.254 password 7 032772382520
neighbor 192.10.1.254 weight 121
no auto-summary
!
ip classless
ip http server
!
access-list 18 permit 0.0.0.0 254.255.255.255
route-map METRIC permit 10
set weight 121
!
route-map RIP_2_OSPF permit 10
match ip address 18
set metric-type type-1
!
route-map RIP_2_OSPF permit 20
set metric 100
!
route-map LOOP_0 permit 10
match interface Loopback0
!
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:49 GMT-3