Hi there, I have two ethernet connections of 2Mbit/s each and I''m trying to add them together to one 4Mbit/s connection but I cannot get more than approximate 1Mbit/s! My setup: I have a LAN (10.2.18.0/24), connected to a larger network (10.0.0.0/8) by two WAN-connections with 2Mbit/s each. On each end I have a Linux router. I first setup the routers to use TEQL with one of the connections and it works with 2Mbit/s, then I test the other connection with TEQL and it works fine to, but then I add both connections to TEQL and then the speed go down to 1Mbit/s. WAN router: # Connected to the 10.0.0.0/8 network eth0: 10.1.1.118/24 eth1: 10.2.20.1/30 # First WAN connection eth2: 10.2.20.5/30 # Second WAN connection teql0: 10.2.20.9/30 # TEQL connection LAN router: # Connected to the 10.2.18.0/24 network eth0: 10.2.18.254/24 eth1: 10.2.20.2/30 # First WAN connection eth2: 10.2.20.6/30 # Second WAN connection teql0: 10.2.20.10/30 # TEQL connection On the WAN router I route 10.2.18.0/24 to 10.2.20.10 dev teql0. On the LAN router I route anything from 10.2.18.0/24 to 10.2.20.9 dev teql0. Thanks, Daniel Daniel Bergqvist NetAtOnce AB 0470-72 99 00 www.netatonce.se daniel@netatonce.se
On Tue, Oct 10, 2000 at 01:40:21PM +0200, Daniel Bergqvist wrote:> I have a LAN (10.2.18.0/24), connected to a larger network (10.0.0.0/8) by > two WAN-connections with 2Mbit/s each. On each end I have a Linux router. I > first setup the routers to use TEQL with one of the connections and it works > with 2Mbit/s, then I test the other connection with TEQL and it works fine > to, but then I add both connections to TEQL and then the speed go down to > 1Mbit/s.Can you send the commandlines you use to configure TEQL?> > WAN router: # Connected to the 10.0.0.0/8 network > eth0: 10.1.1.118/24 > eth1: 10.2.20.1/30 # First WAN connection > eth2: 10.2.20.5/30 # Second WAN connection > teql0: 10.2.20.9/30 # TEQL connection > > LAN router: # Connected to the 10.2.18.0/24 network > eth0: 10.2.18.254/24 > eth1: 10.2.20.2/30 # First WAN connection > eth2: 10.2.20.6/30 # Second WAN connection > teql0: 10.2.20.10/30 # TEQL connection > > On the WAN router I route 10.2.18.0/24 to 10.2.20.10 dev teql0. > On the LAN router I route anything from 10.2.18.0/24 to 10.2.20.9 dev teql0.Can you do tcpdumps to see if both interfaces are being used? Do you see packetloss over teql0? How do you test what speed you can achieve? Are eth1 and eth2 perhaps interfering with eachother on one end? (sharing an interrupt?) Regards, bert hubert -- PowerDNS Versatile DNS Services Trilab The Technology People ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet
On Tue, Oct 10, 2000 at 02:12:25PM +0200, Daniel Bergqvist wrote:> I use FTP to test the connection. Both the modems shows high traffic so I > see that both are used. On both routers I have a four-port network card and > it works fine as a router between eth0 <-> eth1 and eth0 <-> eth2. I have > run tcpdump and it shows that both interfaces are used. How do I see packet > loss?This will show you "tc -s qdisc ls" Can you check to see if you are running with reverse path filtering enabled? cat /proc/sys/net/ipv4/conf/eth0 cat /proc/sys/net/ipv4/conf/eth1 And turn it off if it was on: echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter echo 0 > /proc/sys/net/ipv4/conf/eth1/rp_filter Regards, bert hubert -- PowerDNS Versatile DNS Services Trilab The Technology People ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet