It is explained in very simple way here : http://www.linux-ip.net/html/adv-multi-internet.html#adv-multi-internet-outbound
Thanks again Martin !!!
Brad Lay wrote:
G'day, I had a quick search through the archives to try and find an answer but I have come up with a blank, so I'm hoping I can get a little help here.
I have a linux machine with 2.4.19 on it, and 2 Internet links.
eth0 is Telstra Bigpond Cable (Semi static ip, its dhcp assigned), which I want to route certain ips ranges over this link. 144.135.23.0/24 for eg.
eth1 is the internal interface on 192.168.0.0/24
eth2 is an adsl connection with a static ip which I want to be the default route for any traffic left over.
I can get this to sort of work, but traceroute'ing to anything I set static routes [1] with, doesn't work because I assume that it trys to come back via the default route. Is that right?
Also I need to break the adsl connection into 2 parts, its a 512kbit link, so I would like to take 384kbit and 128kbit of the link, and assign 128kbit to 192.168.0.192/27 which would be done on eth1, but I don't want to limit traffic coming from eth0. (eth0 is 9mbit, so its a bit of a waste to shape it down to 128kbit now isnt it :)
Is any of this possible or am I just dreaming?
[1] route add -net ip.add.re.ss netmask 255.255.255.255 gw <gw ip of eth0>
Thanks in advance.
Regards,
Brad Lay (brad@xxxxxxxxxxxxx)
_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/