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]

 



Ok ive been trying to get this to work for about half a year now. Ive searched all over the internet for a solution for
my  problem. Ive found some solutions, but they only led me to yet more problems.
 
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.
 
Attempt 1
I read that FreeBSD was the choice for network/router/servers. So after alot of problems installing FreeBSD
i found out that FreeBSD doesnt support multiple gateway routing to start with.
 
Attempt 2
 Ive tried the nano guide http://www.ssi.bg/~ja/nano.txt with the julian patches on FC5 2.6 kernel. The problem
there was that it only used 1 external nic. I think because all external connections had the same gateway. It didnt
handle the routing like it supposed to do.
 
Attempt 3:
Ive tried to follow the following guide http://www.leglug.org/node/Load%20Balancing%20Across%20Multiple%20Links
I first tried to use this script in a 2.6 kernel (no julian patch, ip_route_multipath_cache enabled) It could not find any match for the "-m random --average 50 " function. So after trying al kinds of things and searching the net a
lot, i found out that 2.6 kernel doesnt support this random match??
Anyway, so ive installed Slackware 10.2 on the box with a 2.4.32 kernel. Ofcourse with multipath routing enabled
in the kernel. Again it couldnt: load match 'random: /usr/lib/iptables/libipt_random.so'
As far as i know it should be available in iptables 1.3.3 that comes with slackware 10.2.
 
I know that trunking/bonding the 8 nics with the swicht in the complex would be the ideal solution, but first of all
 the isp won't do this, and seccond im not even sure if the switch supports this (if i could even get acces to it)
 
Some help would be greatly apreciated.
 
 
 
 
 
_______________________________________________
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