cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
0
Helpful
4
Replies

GLBP weighted option not distributing traffic properly

fgasimzade
Level 4
Level 4

Hello everyone

 

We have 2 Internet routers configured with GLBP as well as with GLBP weighting but according to our traffic analyzer software the traffic is not distributed properly

Router 1:

interface GigabitEthernet0/1.30
 bandwidth 10000000
 encapsulation dot1Q 30
 ip address X.X.X.222 255.255.255.0
 ip access-group ip-egressnew in
 ip nbar protocol-discovery
 ip flow ingress
 ip nat outside
 ip virtual-reassembly in
 glbp 30 ip X.X.X.2
 glbp 30 priority 110
 glbp 30 preempt
 glbp 30 weighting 45
 glbp 30 load-balancing weighted
 glbp 30 name vlan30
 service-policy output TO-SWT 

Router 2:

interface GigabitEthernet0/1.30
 bandwidth 10000000
 encapsulation dot1Q 30
 ip address X.X.X.223 255.255.255.0
 ip access-group ip-egressnew in
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 ip nat outside
 ip virtual-reassembly in
 glbp 30 ip X.X.X.2
 glbp 30 priority 105
 glbp 30 preempt
 glbp 30 weighting 55
 glbp 30 load-balancing weighted
 glbp 30 name vlan30
 service-policy output TO-SWT

As you can see, we have distributed the weighting in proportion of 44/55 but the in reality the traffic is distributed 10Mbs/140Mb/s

 

What can be the problem?

Thank you!

1 Accepted Solution

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of   the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Hmm, well GLBP weighting is how it distributes gateways between its clients, it doesn't account for actual client load usage.  I.e. it's possible one (or some) host(s) is sending lots and lots of traffic which would skew your load balancing.  (Also, I recall same client will always map to same gateway [assuming no other changes].)

View solution in original post

4 Replies 4

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of   the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Hmm, well GLBP weighting is how it distributes gateways between its clients, it doesn't account for actual client load usage.  I.e. it's possible one (or some) host(s) is sending lots and lots of traffic which would skew your load balancing.  (Also, I recall same client will always map to same gateway [assuming no other changes].)

Dear Joseph, Thank you for you reply

Indeed, we have 2 or 3 Internet Servers, that consumes the majority of traffic. Is it possible that these servers always get one gateway?

The load changes from time to time between Router A and Router B, it can be, for exaple, 10/140 and in 3 or 4 hours, 140/10

Is there any option I can distribute it more evenly? 

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of   the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

With only two or three servers, I would expect wild swings because flows are not balanced, but source hosts are.  So, again, if one of those servers is especially active, compared to the others, your load balancing will be uneven.

What you might do is look into load balancing products, but if you're working with gig interfaces, how really important is load balancing them?  I.e. is the busy gateway holding back or dropping ingress traffic?  (Even if all your traffic is on just one gateway, if that's only about 150 Mbps, that shouldn't be much of an issue on a gig interface.)

Yes, we are using gig interfaces, was just wondering if there is any technique to achieve a real load balancing with glbp

 

Thank you anyway!

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: