cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2277
Views
30
Helpful
11
Replies

GLBP with 2x MPLS?

louis_m
Level 1
Level 1

We have a site that has:

1x 1G link (via Telco A) to our ISP private MPLS circuit (via Router A)

1x 1G link (via Telco B) to our ISP private MPLS circuit (via Router B)

2nd circuit above (Telco B) has just gone in.
So I was thinking of using GLBP to provide redundancy/load balance. Now I can control the data going out but what about it coming back?

eg data could leave via router A but return via router B ie asymmetrical routing. Would this be an issue?

There is no natting involved here as it is a private MPLS network with no internet breakout.

Any pointers would be great.

Thank you.

Lou

2 Accepted Solutions

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @louis_m ,

>> There is no natting involved here as it is a private MPLS network with no internet breakout.

if there are no firewalls involved or the firewalls are downstream the CE routers RA and RB asymmetric routing is not an issue at all.

 

However, if want to perform some per prefix traffic engineering/control you can use the suggestions from @inderdeeps to choice for a given path ISP A or ISP B for outgoing and incoming direction.

I just would like to add that to be able to perform this you will need an iBGP session between RA and RB so that you can be sure that whatever edge CE router receives outgoing traffic the desired ISP ISPA or ISPB is used.

At this point for outgoing traffic to make ISP A more preferred for a prefix it is appropriate to increase local preference as an alternative way to use MED.

 

Final note on GLBP: it is effective only if RA and RB connect directly to user facing VLANs because GLBP load balancing is actually based on the AVG answering with different MAC addresses representing the forwarders for different ARP requests for the default gateway in each user facing VLAN.

So GLBP is not effective in load balancing if RA and RB are connecting to another L3 device firewall or multilayer switch as this device(s) will perform an ARP request and then send all traffic to the received MAC until the entry expires. ( this is platform dependent 4 hours on Cisco routers and cisco IOS/IOS XE swiches , 5 minutes on Nexus)

 

Hope to help

Giuseppe

 

View solution in original post

Hello @louis_m ,

when you add the iBGP session the two border routers RA and RB will exchange BGP routes and can choice the same best path for a prefix for an higher local preference or for a lower MED so what happens is that iBGP allows  to control what exit link is used based on destination address.

 

Again if ISP A has a full 1 Gbps and ISP B has 500 Mbps you can have more prefixes with exit point RA / ISPA then those with exit point ISPB/RB

 

Hope to help

Giuseppe

View solution in original post

11 Replies 11

inderdeeps
Level 4
Level 4

@louis_m : Are you using BGP with your service Provider, If yes i would say either to use to use MED or AS-PATH Prepend to get the traffic on the same circuit.

 

Regards
Inderdeep Singh
www.thenetworkdna.com ( Awarded by Cisco IT Blogs award 2020)

Yes, it's BGP. Not 100% sure what you mean. Can you give an example?

Say for:

R1

router bgp 100
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 66666 
neighbor 1.1.1.1 next-hop-self
network 10.1.1.0 mask 255.255.255.0

 

R2

router bgp 200
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 66666 
neighbor 2.2.2.2 next-hop-self
network 10.1.1.0 mask 255.255.255.0

@louis_m: There is no issue with the return path is different but if  you want the same then you can do some tweeks. The incoming and outgoing traffic is based on the path selection creteria. For incoming there are two things you can do. Either tell service provide to change the value of MED or you can use AS-PATH prepend to add dummy AS-Path.

https://www.thenetworkdna.com/2021/05/bgp-bgp-deterministic-med-and-bgp.html

https://www.thenetworkdna.com/2020/07/bgp-attribute-as-path-manipulation-as.html 

 

Regards
Inderdeep Singh
www.thenetworkdna.com ( Awarded by Cisco IT Blogs award 2020)

balaji.bandi
Hall of Fame
Hall of Fame

Look at some examples of BGP LB, yes you can do asymmetric routing. ( make sure FW aware if you have any some FW do not like spoofing).

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @louis_m ,

>> There is no natting involved here as it is a private MPLS network with no internet breakout.

if there are no firewalls involved or the firewalls are downstream the CE routers RA and RB asymmetric routing is not an issue at all.

 

However, if want to perform some per prefix traffic engineering/control you can use the suggestions from @inderdeeps to choice for a given path ISP A or ISP B for outgoing and incoming direction.

I just would like to add that to be able to perform this you will need an iBGP session between RA and RB so that you can be sure that whatever edge CE router receives outgoing traffic the desired ISP ISPA or ISPB is used.

At this point for outgoing traffic to make ISP A more preferred for a prefix it is appropriate to increase local preference as an alternative way to use MED.

 

Final note on GLBP: it is effective only if RA and RB connect directly to user facing VLANs because GLBP load balancing is actually based on the AVG answering with different MAC addresses representing the forwarders for different ARP requests for the default gateway in each user facing VLAN.

So GLBP is not effective in load balancing if RA and RB are connecting to another L3 device firewall or multilayer switch as this device(s) will perform an ARP request and then send all traffic to the received MAC until the entry expires. ( this is platform dependent 4 hours on Cisco routers and cisco IOS/IOS XE swiches , 5 minutes on Nexus)

 

Hope to help

Giuseppe

 

Great answers from all.

Yes, the routers are CE routers. Both go back to a stacked switch. Although the links to the ISP are 1G, R2 has only 500mb whereas R1 has 1gb so I was thinking of using GLBP in 2:1 ratio but was unsure how the return traffic would fit with this.

Hello @louis_m ,

you can tune GLBP so that two clients every three are served by one forwarder and the other by forwarder 2.

 

However, there is no capabiity to discriminate very big traffic flows in terms of traffic volume.

A synchronizaton between two databases can take several GB in a single flow that can count as hundreds of small flows.

 

Depending on your address plan you may have the capability to prefer one path when reaching a specific prefix at BGP level

 

Hope to help

Giuseppe

 

iBGP was mentioned earlier. What would be the effect of using GLBP with iBGP? For instance, as above I am sending my lan traffic to R1 for two out of three clients (as above example)

If R1 was using iGBP with R2, could R1 prefer R2's route as opposed to it's own ie traffic going to R1 could then be routed to R2 instead of exiting via R1?

 

Hello @louis_m ,

when you add the iBGP session the two border routers RA and RB will exchange BGP routes and can choice the same best path for a prefix for an higher local preference or for a lower MED so what happens is that iBGP allows  to control what exit link is used based on destination address.

 

Again if ISP A has a full 1 Gbps and ISP B has 500 Mbps you can have more prefixes with exit point RA / ISPA then those with exit point ISPB/RB

 

Hope to help

Giuseppe

Thank you very much for your very helpful replies.

Has given me plenty to think about and work on.

Really appreciated.

inderdeeps
Level 4
Level 4

@louis_m : Happy to see you get your answer, Good Luck buddy !

Regards
Inderdeep Singh
www.thenetworkdna.com ( Awarded by Cisco IT Blogs award 2020)