08-23-2010 03:58 PM - edited 03-06-2019 12:36 PM
Can somebody help us to diagnostic these problem between static and dynamic routing?
We have a router 3845 connected to a IPVPN Cloud using BGP routing protocol. This rotuer announce the internal network: 10.3.0.0 / 16.
There is a main router connected to the same IPVPN Cloud WHICH is announcing the network: 10.60.1.0 / 24 to all other routers including the 3845 router.
At the physical location of 3845 router, there is a backup link that point to network: 10.60.1.0 / 16 but with a higher distance metric 250 and this route is propagated to IPVPN Cloud.
In normal condition, the router 3845 learn the network: 10.60.1.10 / 16 trough backup link instead using the route propagated through IPVPN Cloud.
Question:
If the router 3845 learns the 10.60.1.10 / 24 through IPVPN with a distance metric of 240 and it announce the same network 10.60.1.10 / 24 with a distance metric of: 250 why users take the backup route?
What i can do so users can take the route through IPVPN Cloud instead back route ?
The configuration at 3845 is:
ip route 10.60.1.0 255.255.255.0 10.3.200.2 250 name CERAMICA_SAN_LORENZO_NEXTEL
ip prefix-list PVIDA seq 20 permit 10.60.1.0/24
!
route-map PVIDA permit 10
match ip address prefix-list PVIDA
set community 6147:70
!
!
router bgp 65515
no synchronization
bgp log-neighbor-changes
network 10.3.0.0 mask 255.255.0.0
redistribute static route-map PVIDA
The sh ip router command at 3845 router is:
RansaCOM_47220#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 10.128.1.25 to network 0.0.0.0
B 10.61.2.0/24 [20/0] via 10.128.1.25, 1d06h
B 10.60.3.0/24 [20/0] via 10.128.1.25, 1d06h
B 10.61.1.0/24 [20/0] via 10.128.1.25, 1d06h
S 10.60.1.0/24 [250/0] via 10.3.200.2
B 10.50.0.0/16 [20/0] via 10.128.1.25, 1d06h
B 10.51.0.0/16 [20/0] via 10.128.1.25, 1d06h
Thanking you in advanceyour address.
08-23-2010 05:47 PM
Hi,
Do a 'show ip bgp 10.60.1.0', I think on 3845, you will see 2 10.60.1.0/24 routes in BGP table. One is local generated from redistribution, the other is learned via BGP. The local one becomes the best because higher weight.
If you want prefer the one learned from BGP, you can apply a route-map to the neighbor and assign higher weight to prefix 10.60.1.0/24.
HTH,
Lei Tian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide