cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
492
Views
0
Helpful
2
Replies

2 routers 2 ISP's

eirizarry82
Level 1
Level 1

I have a question about finding the router we are using as primary connection. We do not run a standard design. We do not use HSRP or EGRIP. It seems that BGP is used between both routers with OSPF. The only way I know that our primary router is being used first is by doing a local workstation traceroute out to the internet. How do you know from a router prespective if the router is primary or secondary. Local Prefs are not 110 for the primary so I dont know what exactly is going on.  I think it has something to do with that redistribute line. Please help.

router bgp 3436

no synchronization

bgp default local-preference 90

bgp log-neighbor-changes

network *hidden* mask 255.255.0.0 backdoor

network *hidden* mask 255.254.0.0 backdoor

network *hidden* mask 255.255.0.0 backdoor

network *hidden* mask 255.255.192.0 backdoor

network *hidden* mask 255.255.128.0 backdoor

network *hidden* mask 255.255.255.0 backdoor

network *hidden* mask 255.255.255.0 backdoor

network *hidden* mask 255.255.255.0 backdoor

network *hidden* mask 255.255.255.192 backdoor

network *hidden* mask 255.255.255.240 backdoor

network *hidden* mask 255.255.255.248 backdoor

network *hidden* mask 255.255.255.240 backdoor

network *hidden* mask 255.255.255.192 backdoor

redistribute ospf 1001 match internal external 1 external 2 route-map ospf1001-to-bgp3436

neighbor  *hidden* remote-as 13979

neighbor *hidden* timers 15 45

neighbor *hidden* fall-over

neighbor *hidden* soft-reconfiguration inbound

neighbor *hidden* route-map Central-FL-routes-in in

neighbor *hidden* route-map Central-FL-routes-out out

no auto-summary

router bgp 1001

no synchronization

bgp default local-preference 90

bgp log-neighbor-changes

network *hidden* mask 255.255.0.0 backdoor

network *hidden* mask 255.254.0.0 backdoor

network *hidden* mask 255.255.0.0 backdoor

network *hidden* mask 255.255.192.0 backdoor

network *hidden* mask 255.255.128.0 backdoor

network *hidden* mask 255.255.255.0 backdoor

network *hidden* mask 255.255.255.0 backdoor

network *hidden* mask 255.255.255.0 backdoor

network *hidden* mask 255.255.255.192 backdoor

network *hidden* mask 255.255.255.240 backdoor

network *hidden* mask 255.255.255.248 backdoor

network *hidden* mask 255.255.255.240 backdoor

network *hidden* mask 255.255.255.192 backdoor

redistribute ospf 1001 match internal external 1 external 2 route-map ospf1001-to-bgp1001

neighbor *hidden* remote-as 65000

neighbor *hidden* soft-reconfiguration inbound

neighbor *hidden* route-map Central-FL-routes-in in

neighbor *hidden* route-map Central-FL-routes-out out

no auto-summary

2 Replies 2

Jonn cos
Level 4
Level 4

Well the shortest way would be, to issue show ip route . If that IP is shown WITHOUT recursing to other router, then that router is primary, and when you do it on the other router, it should show the first router as next hop for that.

Mhon Baul
Level 1
Level 1

Hi Evidio,

Can you include also the route-map configs:

neighbor *hidden* route-map Central-FL-routes-in in

neighbor *hidden* route-map Central-FL-routes-out out

Also, from a machine, you can do traceroute to identify where your routes are heading to..

HTH

Reymon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: