<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2>Hi, I have the following setup. Two 
linux systems with two [test] external interfaces encrypted with ipsec 
[transport].</FONT></DIV>
<DIV><FONT face=Arial size=2>Two gre tunnels that pass 10.200.0.0/24 and 
10.200.1.0/24 network traffic.</FONT></DIV>
<DIV><FONT face=Arial size=2>Testing the balanced tunnels I would setup iptraf 
on one and ping from the other. The results would be as expected; traffic would 
be split between the two interfaces.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Testing with an ftp transfer of 300MB I would get 
various results:</FONT></DIV>
<DIV><FONT face=Arial size=2>1. one interface would be transfering at 36Mbit/s 
the other would be at 1.5Mbits/s [a -&gt; b]</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; or one interface would be 
transfering at 29Mbit/s and the other a 0.</FONT></DIV>
<DIV><FONT face=Arial size=2>2. I would get the same results from 
[b-&gt;a]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is there something I missed or did not configure 
properly? Any help or suggestions would be appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>jason</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;192.168.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ipsec 
tunnel]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
192.168.0.2</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[A]&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;-------------------------------------------------------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</FONT><FONT face=Arial size=2>[B]</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;172.16.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ipsec 
tunnel]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;172.16.0.2</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;-------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[A] linux 2.6.13</FONT></DIV>
<DIV><FONT face=Arial size=2>internal 10.200.1.2/24</FONT></DIV>
<DIV><FONT face=Arial size=2>ext 192.168.0.1</FONT></DIV>
<DIV><FONT face=Arial size=2>ext 172.16.0.1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[gre tunnels]</FONT></DIV>
<DIV><FONT face=Arial size=2>netb 10.200.1.2</FONT></DIV>
<DIV><FONT face=Arial size=2>netb2 10.200.1.2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[B] linux 2.6.13</FONT></DIV>
<DIV><FONT face=Arial size=2>internal 10.200.0.2</FONT></DIV>
<DIV><FONT face=Arial size=2>ext 192.168.0.2</FONT></DIV>
<DIV><FONT face=Arial size=2>ext 172.16.0.2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[gre tunnels]</FONT></DIV>
<DIV><FONT face=Arial size=2>neta 10.200.0.2</FONT></DIV>
<DIV><FONT face=Arial size=2>neta2 10.200.0.2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>a.</FONT></DIV>
<DIV><FONT face=Arial size=2>ip tunnel add netb mode gre remote 172.16.0.2 local 
172.16.0.1 ttl 255</FONT></DIV>
<DIV><FONT face=Arial size=2>ip link set netb up</FONT></DIV>
<DIV><FONT face=Arial size=2>ip addr add 10.200.1.2 deb netb</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>ip tunnel add netb2 mode gre remote 192.168.0.2 
local 192.168.0.1 ttl 255</FONT></DIV>
<DIV><FONT face=Arial size=2>ip link set netb2 up</FONT></DIV>
<DIV><FONT face=Arial size=2>ip addr add 10.200.1.2 dev netb2</FONT></DIV>
<DIV>ip route add equalize 10.200.0.0/24 nexthop via 10.200.1.2 dev netb nexthop 
via 10.200.1.2 dev netb2</DIV>
<DIV>&nbsp;</DIV>
<DIV>b.</DIV></FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>ip tunnel add neta mode gre remote 172.16.0.1 local 
172.16.0.2 ttl 255</FONT></DIV>
<DIV><FONT face=Arial size=2>ip link set neta up</FONT></DIV>
<DIV><FONT face=Arial size=2>ip addr add 10.200.0.2 deb netb</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>ip tunnel add neta2 mode gre remote 192.168.0.1 
local 192.168.0.2 ttl 255</FONT></DIV>
<DIV><FONT face=Arial size=2>ip link set neta2 up</FONT></DIV>
<DIV><FONT face=Arial size=2>ip addr add 10.200.0.2 dev neta2</FONT></DIV>
<DIV>
<DIV>ip route add equalize 10.200.1.0/24 nexthop via 10.200.0.2 dev neta nexthop 
via 10.200.0.2 dev neta2</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></FONT></DIV></DIV>
<DIV><FONT face=Arial 
size=2></FONT>&nbsp;</DIV></FONT></DIV></FONT></DIV></BODY></HTML>