<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; Get a switch thats supports VLANs ( eg cisco 2950 ), make a vlan trunk to pc
<br>&gt; with 2 ethernet PCIs ( 1 to net , 1 to lan ). Connect each ADSL modem to<br>&gt; switch, put each modem on some individual VLAN. Now configure VLANs on<br>&gt; network interface on that PC connected to that switch ( i guess it will be
<br>&gt; eth0 ) - you will get as many as you wish virtual interfaces ( like eth0.1,<br>&gt; eth0.2 and so on ), you can traffic shape on them, use iptables like on any<br>&gt; other interface...</blockquote><div><br>That is a good solution 
<br></div>Another one is buy those PCI that has 4 ethernet plugs (aka 4 ethernets integrated into one PCI), then you can get up to 20 ethernets in a MoBo that has 5 free PCIs.<br>Is not an elegant solution, but is a fast one.
<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt; --<br>&gt;<br><br>Hi,<br><br>Then, will I be able to do load balancing like this?
<br><br>ip route add default table 221 proto static \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nexthop via ${EXTGW1} dev eth0:0 weight 2\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nexthop via ${EXTGW2} dev eth0:1 weight 2\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nexthop via ${EXTGW3} dev eth0:2 weight 2\
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nexthop via ${EXTGW4} dev eth0:3 weight 2</blockquote><div><br>Yes.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also, iptraf will only show traffic for eth0, not the virtual<br>interfaces, any workarounds?</blockquote><div><br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks!<br><br>Edu<br><br>_______________________________________________<br>LARTC mailing list<br><a href="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</a><br><a href="http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc">
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Atentamente,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Carlos.<br>-------------------------------<br>LTIM Member - <a href="http://ltim.uib.es">
http://ltim.uib.es</a><br>BkP Staff (Servidores, Gamer Area, Tesorean) - <a href="http://www.balearikus-party.org">http://www.balearikus-party.org</a>