tc qdisc TEQL limited to two interfaces? [ 1.8Gbps ]

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'am using the following script to aggregate the bandwidth of one quad
gigabit ethernet controller (pci-express).

#!/bin/bash
sysctl -w net.ipv4.tcp_reordering = 30
ifconfig eth1 up
ifconfig eth2 up
ifconfig eth3 up
ifconfig eth4 up
modprobe sch_teql
tc qdisc add dev eth1 root teql0
tc qdisc add dev eth2 root teql0
tc qdisc del dev eth3 root teql0
tc qdisc del dev eth4 root teql0
ip link set dev teql0 up
ip addr flush dev eth1
ip addr flush dev eth2
ip addr flush dev eth3
ip addr flush dev eth4
ip addr flush dev teql0
ip addr add dev eth1 10.0.0.3/31
ip addr add dev eth2 10.0.0.5/31
#ip addr add dev eth3 10.0.0.7/31
#ip addr add dev eth4 10.0.0.9/31
ip addr add dev teql0 10.0.0.11/31
echo 0 > /proc/sys/net/ipv4/conf/eth1/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth3/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth4/rp_filter
route add -host 10.0.0.2 gw 10.0.0.10
route add -host 10.0.0.4 gw 10.0.0.10
route del -host 10.0.0.6 gw 10.0.0.10
route del -host 10.0.0.8 gw 10.0.0.10

This setup, using just two interfaces, gives a nice and stable iperf
bandwidth of 1.85Gbit/s ( 231MB/s ).
But when configure all four interfaces the bandwidth drops below 1Gbit/s?

Any tips or ideas are welcome!


--
Leroy

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux