Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

How to check wheather Load Balancing working or not?

Hello all,

We have two internet lines connection connected to e0/0 and e0/1. And it's configured as load balancing (as the supplier said). But we encounter problem in one line because of all traffic goes to one line and rarely goes to other one.

Please how can I check out that the load balancing work? Note that CEF not configured.

Thanks in advance.

6 REPLIES
Cisco Employee

Re: How to check wheather Load Balancing working or not?

'show ip route'

do you see 2 outgoing interfaces for each destination ?

Easiest solution is to have 2 default static routes.

New Member

Re: How to check wheather Load Balancing working or not?

First of all ... Thanks a lot

Second ... I checked the routing table by this command and two static route to our ISP with IPs of e0/0 & e0/1 which are 10.0.0.139 and 10.1.0.139 . but the destination network is 0.0.0.0 which I think it's too general. And the following is what "sh ip route" shows in our router with eleminating other information:

S* 0.0.0.0/0 [1/0] via 10.1.0.138

[1/0] via 10.0.0.138

Is correctly configured? Any Ideas?

Cisco Employee

Re: How to check wheather Load Balancing working or not?

0.0.0.0 is what we call the default route.

If no better route available this is the one which will be used.

In basic setup this is most of the time the only route needed.

So, try to add a second route like this :

config t

ip route 0.0.0.0 0.0.0.0 10.1.0.139

exit

then do another 'sh ip route 0.0.0.0' and see if you now have 2 routes.

If not, send me a 'sh ip route 10.1.0.139' and a 'sh ip route 10.1.0.138'

Thanks,

Gilles.

New Member

Re: How to check wheather Load Balancing working or not?

It's already there in the "running configuration". When run "sh run" it gave me:

ip route 0.0.0.0 0.0.0.0 10.0.0.138

ip route 0.0.0.0 0.0.0.0 10.1.0.138

Do I have to add "ip route 0.0.0.0 0.0.0.0 10.1.0.139"?

New Member

Re: How to check wheather Load Balancing working or not?

In my experience, two static routes NEVER do load balancing. The only solutions that works well is implement a routing protocol like BGP.

New Member

Re: How to check wheather Load Balancing working or not?

hi,

gdufour is right, two static routes will do load balancing. I tested in my environment.

Thanks.

Alan

268
Views
0
Helpful
6
Replies
CreatePlease to create content