cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1054
Views
15
Helpful
6
Replies

BGP advertising same networks on 2 ISP independently (without iBGP)

sravani14
Level 1
Level 1

I am new to BGP. We have established BGP neighborship with 2 uplink providers advertising different networks and receiving default routes from both using same AS number. We couldn't establish iBGP as we have a requirement to use both ISP A and ISP B for specific networks to reach to internet.

Requirement:

- Network A should prefer ISP A for incoming and outgoing

- Network B should prefer ISP B for incoming and outgoing

- Network C should prefer ISP B but in case ISP B goes down should prefer ISP A

 

I have attached the overview network diagram below for reference. Please advise

 

1 Accepted Solution

Accepted Solutions

Hello

Okay based on your received bgp default routes from either isp what you can do it advertise ospf defaults with different metric-types ( ISP1 ospf default metric-type 1) (ISP2 ospf default metric-type 2)

 

So default traffic will go via ISP1 however you then policy route certain prefixes via ISP2 so even though you have one preferred default route to ISP1certain defined networks will route via to ISP2 and if the reachability is lost from ISP1 then its advertised bgp default will be removed and so will its related ospf default and as such failover to go via ISP2  for all traffic.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

6 Replies 6

Hello


@sravani14 wrote:

I am new to BGP. We have established BGP neighborship with 2 uplink providers advertising different networks and receiving default routes from both using same AS number. We couldn't establish iBGP as we have a requirement to use both ISP A and ISP B for specific networks to reach to internet.

Requirement:

- Network A should prefer ISP A for incoming and outgoing

- Network B should prefer ISP B for incoming and outgoing

- Network C should prefer ISP B but in case ISP B goes down should prefer ISP A


With Incorporating a mixture or aspath- prepending ,local -preference and as-path filtering ,You shroud still be able to achieve your desired goal and utilize ibgp between the two sites at the same time - 
I assume both sites are using the same ASN?i
What routing protocol is running between the site A-B? 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

 

Thank you for your response.

  • Internal network (connectivity between sites) is mixture of layer 2 (Vlans), static routing and work in progress to migrate to OSPF.
  • Yes both the sites are having same AS number.
  • Currently the link between the remote sites is work in progress and not reliable at this moment. So we would like to have the network independent but achieve redundancy for certain networks in case of downtime.

Can we implement the above network setup without iBGP. Please advise.

Hello


@sravani14 wrote:

Can we implement the above network setup without iBGP. Please advise.


Yes you can however you would still require a reliable site-site connection for failover, May i ask what prefixes are you receiving from each ISP, would this be partial, full or just defaults?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

 

Thank you for clarifying. Currently we are receiving only defaults from both ISP.

 

Thank you

Hello

Okay based on your received bgp default routes from either isp what you can do it advertise ospf defaults with different metric-types ( ISP1 ospf default metric-type 1) (ISP2 ospf default metric-type 2)

 

So default traffic will go via ISP1 however you then policy route certain prefixes via ISP2 so even though you have one preferred default route to ISP1certain defined networks will route via to ISP2 and if the reachability is lost from ISP1 then its advertised bgp default will be removed and so will its related ospf default and as such failover to go via ISP2  for all traffic.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

 

Current setup

- A.A.A.0/24 is advertised to ISP A and ISP B. Applied AS Path prepend(4 times) on ISP B to make it less prefer. iBGP is not established between 2 internal routers.

- Manipulated internal traffic to exit desired ISP A for incoming and outgoing traffic with combination of static and OSPF configuration.

- General internet connection is working fine and tracert shows towards ISP A but we are facing VPN issue when network is advertised on both ISP

 

Please advise what is the alternative to AS path prepend to make ISPB idle for certain networks

 

 

  

Review Cisco Networking products for a $25 gift card