Re: Re: Routing packets over multiple links (NICS) all on the same ISP all with same gateway.

Linux Advanced Routing and Traffic Control

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

 





On 8/16/06, Jarek Poplawski <jarkao2@xxxxx> wrote:
On 14-08-2006 17:42, Jacques Rompen wrote:
...
> What we want to do is the following:
> I live in a student complex with 7 other people. Every room has its own
> internet connection from the same ISP.
> Ip, gateway, subnet are asigned through dhcp on mac-adres basis. Every
> internet connection is capped at 20mbit
> up/down.
> We want to get all computers on an internal network. So we need some
> sort of router that accepts all 8 internet
> connections and routes it out over a gbit nic -> switch -> internal network
> So we have a computer with 10 nics and "hopefully" enough internal bandwith.

Maybe you have some other reasons to make one gateway but to have
internal network you only need to set a second address from local
range (not colliding with that used by ISP) on each box.

But if you really need this together and with multipath, setting
CONFIG_IP_ROUTE_MULTIPATH = "y" and
CONFIG_IP_ROUTE_MULTIPATH_CACHED = "n" (!) should change
multipath randomly.

Jarek P.


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
 
The 2 ips on every box wouldnt work because: Most people here are complete network newbies, we want to connect more then 8 computers (most people have a laptop and pc), we would only have a 20mbit internal network.
 
Im a bit confused. In the 2.4 kernel there issent even an option ip_route_multipath_cached, only ip_route_multipath. Or am i mistaking here?
If there issent, then I couldnt have put it to 'Y' so why didnt the random function work?
 
In the 2.6 kernel there is a option ip_route_multipath and ip_route_multipath_cached. But if i dont say 'Y' to ip_route_multipatch_cached i cant say yes to round_robin, random_match etc. I thought i needed that option random_match set to 'y'. (im not sure if its exactly spelled like that, but i'm talking about the four or five sub options to ip_route_multipath_cached)
 
 

 
_______________________________________________
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