simple(?!?) source routing

Linux Advanced Routing and Traffic Control

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

 



Hi,
 
I've set up a Linux box with redhat on to act as an internet gateway and I'm running into a few problems.  Its got two adsl modems connected to it, both connected to seperate 512kbs lines.  Now I've followed the simple source routing in the advanced routing howto to the letter but it doesnt work.
 
I've got it autoconnecting on startup and redhat puts ppp1 as the default gateway, this is then setup for masquerading for the entire network.  Therefore I've tried setting up ppp0 as the deafult gateway for only one computer (10.0.0.11), as it says at http://lartc.org/howto/lartc.rpdb.html#LARTC.RPDB.SIMPLE I've done everything it says there and im 99% sure I've put the right ip addreses in etc.  When Ive gone through it that computer is no longer able to access the net (the rest of the network is unaffected).
 
I'm pretty sure its the way ppp0 is configured, if I set it up so 10.0.0.11 uses ppp1 instead of ppp0 (ip rule add default via xxx.xxx.xxx.xxx dev ppp1 table chris) it works fine but obviously thers no point in that.
 
Hope all this makes sence to someone, it baerly does ti me.  May thanks in advance.
 
Chris

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux