Skip to contentSkip to conversation

TEQL: 2 Mbit eth1 + 2Mbit eth2 = 1Mbit teql0

LARTC Daniel Bergqvist [email protected] 2 participants 3 messages Oct 10, 2000

lore
Share & tools
lore

Daniel Bergqvist [email protected]

author
#0 lore raw

<PRE>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
<A HREF="mailto:[email protected]">[email protected]</A>

</PRE>

#1 lore raw

<PRE>On Tue, Oct 10, 2000 at 01:40:21PM +0200, Daniel Bergqvist wrote:

&gt;<i> I have a LAN (10.2.18.0/24), connected to a larger network (10.0.0.0/8) by </I>&gt;<i> two WAN-connections with 2Mbit/s each. On each end I have a Linux router. I </I>&gt;<i> first setup the routers to use TEQL with one of the connections and it works </I>&gt;<i> with 2Mbit/s, then I test the other connection with TEQL and it works fine </I>&gt;<i> to, but then I add both connections to TEQL and then the speed go down to </I>&gt;<i> 1Mbit/s.
</I>
Can you send the commandlines you use to configure TEQL?

&gt;<i>
</I>&gt;<i> WAN router: # Connected to the 10.0.0.0/8 network
</I>&gt;<i> eth0: 10.1.1.118/24
</I>&gt;<i> eth1: 10.2.20.1/30 # First WAN connection
</I>&gt;<i> eth2: 10.2.20.5/30 # Second WAN connection
</I>&gt;<i> teql0: 10.2.20.9/30 # TEQL connection
</I>&gt;<i>
</I>&gt;<i> LAN router: # Connected to the 10.2.18.0/24 network
</I>&gt;<i> eth0: 10.2.18.254/24
</I>&gt;<i> eth1: 10.2.20.2/30 # First WAN connection
</I>&gt;<i> eth2: 10.2.20.6/30 # Second WAN connection
</I>&gt;<i> teql0: 10.2.20.10/30 # TEQL connection
</I>&gt;<i>
</I>&gt;<i> On the WAN router I route 10.2.18.0/24 to 10.2.20.10 dev teql0. </I>&gt;<i> On the LAN router I route anything from 10.2.18.0/24 to 10.2.20.9 dev teql0. </I>
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

Signature · 6 lines
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>
#2 lore raw
In reply to Daniel Bergqvist [email protected]

<PRE>On Tue, Oct 10, 2000 at 02:12:25PM +0200, Daniel Bergqvist wrote:

&gt;<i> I use FTP to test the connection. Both the modems shows high traffic so I </I>&gt;<i> see that both are used. On both routers I have a four-port network card and </I>&gt;<i> it works fine as a router between eth0 &lt;-&gt; eth1 and eth0 &lt;-&gt; eth2. I have </I>&gt;<i> run tcpdump and it shows that both interfaces are used. How do I see packet </I>&gt;<i> loss?
</I>
This will show you &quot;tc -s qdisc ls&quot;

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 &gt; /proc/sys/net/ipv4/conf/eth0/rp_filter echo 0 &gt; /proc/sys/net/ipv4/conf/eth1/rp_filter

Regards,

bert hubert

Signature · 6 lines
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>