cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
516
Views
0
Helpful
8
Replies

multihomed

The_guroo_2
Level 2
Level 2

guys if we have two isp on one router.......so what is the way to send all routes to one isp and if it fails it shd go to other isp????

8 Replies 8

lamav
Level 8
Level 8

Default static to one ISP and floating default static pointing to the backup ISP.

ip route 0.0.0.0 0.0.0.0

ip route 0.0.0.0 0.0.0.0 220

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Khan,

if using BGP the right tool is

BGP conditional advertisement

see

http://www.cisco.com/en/US/docs/ios/12_2t/12_2t4/feature/guide/ftbgpri.html#wp1023979

this way you can start to advertise to ISP2 only when first session fails

Hope to help

Giuseppe

Giuseppe:

Unnecessarily complicated.

He doesnt want load sharing. He wants hot/standby ISP redundancy.

Statics are the way to go, papi.

Mohamed Sobair
Level 7
Level 7

Victor, Giu

I have different suggestion.

the static default routs are never removed from the routing table unless the "Arp-cache" timed out, and this takes very long period by default.

Conditional Advertisment is also not required in his case.

I would recommend "Reliable Static routing with Object tracking" as an option

OR

Normal BGP.

HTH

Mohamed

I honestly would stay away from BGP because it doesnt buy you anything, just complicates the scenario.

The static route with object tracking sounds good, thinking off-the-cuff.

Victor

rpfinneran
Level 1
Level 1

You really should use BGP for this. It would be pretty simple, just setup eBGP with weight command to dictate preferred ISP. Also, ensure both ISP's advertise default route to you (make sure you filter so as to not make your AS a transient one). You will also need to be sure that neither ISP is originating your networks, you want that to happen on your network.

The issue with object tracking and static routes is that obviously if you are not advertising your internal networks to each ISP, then they must be originating them. So, if the primary link goes down, depending on physical media, it is possible that the primary ISP would continue to advertise your routes, creating a black hole scenario.

Here are the configs that I would suggest. Then just ask your ISP's to advertise the default route over these BGP connections...

conf t

ip prefix-list defaultnet seq 5 permit 0.0.0.0/0

!

ip prefix-list deny_default seq 5 deny 0.0.0.0/0

ip prefix-list deny_default seq 10 permit 0.0.0.0/0 le 32

!

route-map Prepend deny 5

match ip prefix-list defaultnet

route-map Prepend permit 10

set as-path prepend xxxx xxxx xxxx xxxx xxxx xxxx xxxx

!

router bgp xxxx

network blah mask blah

network blah mask blah

...

neighbor 1.1.1.1 remote-as yyyy

neighbor 1.1.1.1 weight 200

neighbor 1.1.1.1 description *** ISP 1 | Primary ***

neighbor 1.1.1.1 prefix-list defaultnet in

neighbor 1.1.1.1 prefix-list deny_default out

!

neighbor 2.2.2.2 remote-as zzzz

neighbor 2.2.2.2 weight 100

neighbor 2.2.2.2 description *** ISP 2 | Backup ***

neighbor 2.2.2.2 prefix-list defaultnet in

neighbor 2.2.2.2 route-map Prepend out

end

wr

What would you guys recommend if load sharing is needed in this situation?

If load sharing is preferred, just check this forum, there are a bunch solutions here for that scenario.

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco