12-04-2017 02:25 AM - edited 03-05-2019 09:35 AM
Hi All
We have 2 main hub sites, we have just ordered a second MPLS circuit for the other site.
Can we use the same AS number on each site? or is it advised to have different AS numbers?
The 2 sites do have a connection between them
I am guessing it will work with same or different AS on each site?
if using the same, would it be best to use IBGP between them or would it not matter?
cheers
12-04-2017 02:34 AM
Hi
It can works but all depends of your engineering how the traffic will flow, if you are going to have one site as primary and other as backup or if they are going to be independent, the link between them must support the bandwidth capacity from each other site.
Do you have a diagram or could you please provide more details about the network?
:-)
12-04-2017 02:55 AM
I don't have a diagram yet
The link between the sites is 100Mbit, the MPLS is 32Mbit on each site.
12-04-2017 02:56 AM
Thank you, you could have eBGP between your router and MPLS and iBGP between the sites or redistribute the prefixes learned by BGP into a IGP like EIGRP or OSPF on your network.
12-04-2017 03:56 AM
it is not requirement to have ibgp between the sites? can we run without it?
would you ask the isp for same AS on each site or 2 different AS numbers ?
12-04-2017 04:02 AM
The communication between the site is through a dedicated link? Please correct me but I see your topology like:
ISP A (mpls) ISP B (mpls)
| |
ebgp ebgp
| |
Router A ---------- ibgp ----------- Router B
| |
internal network internal network
12-04-2017 04:05 AM - edited 12-04-2017 04:06 AM
Dear Carl,
According to your requirements, your connection to Internet could be differ. But the following options are usually used:
Option 1:
Different sites / Single AS / no iBGP connections between sites : In this situation you need subnet your IP address range to multiple lower size subnets and advertise each subnet from one site.
Option 2:
Different Site/ Single AS / iBGP connections between sites: In this situation you can advertise your whole IP Address range from each site and according to clients distances from your sites, they will use your specific site. (This option is most popular)
HTH
Mahdi
12-04-2017 07:44 AM
Hi
What if we did not have IBGP but wanted to advertise both sites through both links, would this still be OK?
I guess we would need to use AS prepend with a route map to match certain subnets that we want to route inbound ?
12-04-2017 08:00 AM
12-04-2017 12:43 PM
12-04-2017 11:47 PM
12-05-2017 12:30 AM
Hi Mark
What I need to achieve is basically to have site A and site B, but I need to advertise site A's subnets at site B if the site is lost.
How would I best to do this, use different AS on each site?
and use some sort of advertise map on site B that only announces site A's subnets if site A is down?
is that possible ?
Another question would be, if I advertised same subnet from different AS, what would happen?
cheers
12-05-2017 04:07 PM
What I need to achieve is basically to have site A and site B, but I need to advertise site A's subnets at site B if the site is lost .How would I best to do this, use different AS on each site?
- If possible you can advertise a longer match from your primary site and a shorter match from standby site.
Or
Use AS prepending.
use some sort of advertise map on site B that only announces site A's subnets if site A is down?is that possible ?
- You can do it as long as there is a condition to trigger this like losing a prefix from site A
Another question would be, if I advertised same subnet from different AS, what would happen?
This should depend on BGP route attributes and will most likely cause unpredictable behavior.
12-06-2017 07:50 AM
- If possible you can advertise a longer match from your primary site and a shorter match from standby site.
Yes you can , we advertise say a /16 from US but then override locally in EU with /24 as an example , AS prepend will be important if you have dual links on same site advertising same /24 , you would need to make 1 less preferred
I would not advertise exact same subnet from 2 sites that will cause an issue , could blackhole traffic for that subnet , using longer shorter prefix match would be cleaner , than trying to match routes in table and remove them if invalid at 1 location
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