Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

connecting to two different ISPs


Right now I have one ISP link. In future we are getting another ISP link. At present our all servers are using present ISP public IPs.

My doubt is even though getting second ISP link, if first link goes down, how second ISP route the traffic to our servers which are using first ISP public ISPs.

So we are planning to implement BGP on internet router. Then how to implement BGP on it. We didn't own public AS number.




Re: connecting to two different ISPs


if you use BGP, you wont have any problems routing traffic to the second ISP, if the link to the first goes down.

And for the AS number, you dont actually need it.

You can you a private AS and you or the ISP can you use the following command:

neighbor {ip-address | peer-group-name} remove-private-as

to remove this private-as you are using, and you'll have no problems. (but this is not always necessary too).

How to implement BGP will depend on what you'll be doing? primary-backup ISPs? or load-share between the ISPs?

It not difficult to implement BGP on only 2 routers connected to the ISP, but will these routers be in different internal sites? are there other routers connecting these 2?

To give you a straight answer I'd need more information.


if it does, Id appreciate if you rate this post.


Community Member

Re: connecting to two different ISPs

Hi Vlad,

We have only one router. It is connecting to two ISPs. Our servers are using public IPs provided by first ISP.



Re: connecting to two different ISPs

So, the problem would be , how to reach those servers with IP on the 1st ISP if this ISP is down and your only connection out is using the 2nd ISP IPs?

Not sure if this will work, but could NAT be a solution?

then you'd be Natting iT only on the interface that goes to ISP2?


Re: connecting to two different ISPs

Dear sivakondalarao,

First you need to get your (PI) address from your near {RIRs}, APNIC, AFRINIC, LACNIC,ARIN, BTW once you get your address range u will be able to run BGP with any whatever numbers of ISP's but regarding the ASN issue its RECOMENDED to own your ASN to be the orginator of your address but in the same time No problem to use private ASN as soon as your both providers agreed on that, I Belive its very early to talk about the configurations now because you have to talk to both ISPs first about which ASN gone be used if thay agreed on one private ASN it will be nice but if thay give you different AS numbers So you need to immplement AS translation anyhow i'm always recomend to my customer to use his public ASN to be full control about his address.

Please rate helpful posts

Best Regards,

Mounir Mohamed

CreatePlease to create content