Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Unequal Load Balancing with EIGRP over 4 Wireless networks

We are trying to load-balance on 4 interfaces that have unequal bandwidths. The setup looks like this


8 Computers -> Empty Config Switch -> 3560 Router\Switch -> 4x Wireless Radios on different frequencies - networks -> 3560 Router\Switch->Empty Config Switch -> 8 Computers


We have EIGRP setup and the bandwidths defined, and the routes are showing proper share counts, but once we start adding traffic to the network, they all jump on one of the links. The config and everything looks right, its just not working. I have tried switching to different cef algorithms. Removed the vlans . I made them equal cost and they did the same thing. Its like EIGRP does not want to load balance.


When i did this config with static routes or as OSPF, it actually load balanced them, but I'm stuck with a 1:1 share ratio. If i could control the ratio, then that would be an acceptable solution.


Any ideas on what could be causing this?

Code:

Routing entry for 192.168.104.0/24
  Known via "eigrp 10", distance 90, metric 13312, type internal
  Redistributing via eigrp 10
  Last update from 192.168.2.4 on Vlan2, 00:04:25 ago
  Routing Descriptor Blocks:
  * 192.168.9.4, from 192.168.9.4, 00:04:25 ago, via Vlan9
      Route metric is 51712, traffic share count is 31
      Total delay is 20 microseconds, minimum bandwidth is 50000 Kbit
      Reliability 255/255, minimum MTU 1500 bytes
      Loading 1/255, Hops 1
    192.168.5.4, from 192.168.5.4, 00:04:25 ago, via Vlan5
      Route metric is 13312, traffic share count is 120
      Total delay is 20 microseconds, minimum bandwidth is 200000 Kbit
      Reliability 255/255, minimum MTU 1500 bytes
      Loading 1/255, Hops 1
    192.168.3.4, from 192.168.3.4, 00:04:25 ago, via Vlan3
      Route metric is 26112, traffic share count is 61
      Total delay is 20 microseconds, minimum bandwidth is 100000 Kbit
      Reliability 255/255, minimum MTU 1500 bytes
      Loading 1/255, Hops 1
    192.168.2.4, from 192.168.2.4, 00:04:25 ago, via Vlan2
      Route metric is 13312, traffic share count is 120
      Total delay is 20 microseconds, minimum bandwidth is 200000 Kbit
      Reliability 255/255, minimum MTU 1500 bytes
      Loading 1/255, Hops 1


3560_Switch_1#show int Fa 0/1 | inc packets/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
3560_Switch_1#show int Fa 0/2 | inc packets/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
3560_Switch_1#show int Fa 0/3 | inc packets/sec
  5 minute input rate 17111000 bits/sec, 2545 packets/sec
  5 minute output rate 13872000 bits/sec, 2251 packets/sec
3560_Switch_1#show int Fa 0/4 | inc packets/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec

3560_Switch_1#show ip cef exact-route 192.168.101.57 192.168.104.57
192.168.101.57 -> 192.168.104.57 => IP adj out of Vlan5, addr 192.168.5.4


Here is the config.

Code:

ip cef load-sharing algorithm universal 00123456

interface FastEthernet0/1
 switchport access vlan 2
 bandwidth 200000
 delay 1
 spanning-tree portfast
!
interface FastEthernet0/2
 switchport access vlan 3
 bandwidth 200000
 delay 1
 spanning-tree portfast
!
interface FastEthernet0/3
 switchport access vlan 5
 bandwidth 200000
 delay 1
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport access vlan 9
 bandwidth 200000
 delay 1
 spanning-tree portfast
!
...
interface GigabitEthernet0/1
 description USER PORT
 switchport access vlan 100
 spanning-tree portfast
!



interface Vlan2
 bandwidth 200000
 ip address 192.168.2.1 255.255.255.0
 delay 1
!
interface Vlan3
 bandwidth 100000
 ip address 192.168.3.1 255.255.255.0
 delay 1
!
interface Vlan5
 bandwidth 200000
 ip address 192.168.5.1 255.255.255.0
 delay 1
!
interface Vlan9
 bandwidth 50000
 ip address 192.168.9.1 255.255.255.0
 delay 1
!
interface Vlan100
 description User Data
 ip address 192.168.101.1 255.255.255.0
!

router eigrp 10
 maximum-paths 8
 variance 15
 network 192.168.2.0
 network 192.168.3.0
 network 192.168.5.0
 network 192.168.9.0
 network 192.168.101.0
!
2 REPLIES
Purple

Unequal Load Balancing with EIGRP over 4 Wireless networks

Hi,

CEF does load-sharing per src-dst IP pair so all traffic between 2 same endpoints will always take same link.

You can change the CEF load-sharing algorithm to take tcp/udp ports into account with the following command

ip cef load-sharing algorithm include-ports

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
New Member

Unequal Load Balancing with EIGRP over 4 Wireless networks

Yup, that was the first cef algorithm I had tried.   ip cef load-sharing algorithm include-ports source destination

I tried all of the different types.

Also, I was sending data trough iperf from 4 computers + 1 comp steaming video on one network to 5 computers on another network.  In any case of source or destination, it should have switched over.  The odds of it all going on Vlan 5 is ~ 0.6%   Restarting the router sometimes places it all on a different vlan, but in any case its all or nothing.   

491
Views
0
Helpful
2
Replies
CreatePlease login to create content