Routing
Hello,
I am setting up a Linux box to route to the internet. I have two nics installed and working fine. One serves the network...no problems the other serves to connect to the internet via DSL (DHCP) no problems there.
When I try to hit the internet from client (Linux) box on the network, it will not go.
I have done this in the past using RedHat 7.3 and PPP, however, I am now using RedHat 9 and DSL.
On the client box, I have the linux router in /etc/hosts. I also set the default route from the client to that box.
On the Linux router I have set up masquerading as follows:
in the /etc/rc.d/rc.local file, I added ip masquerading for eth0
The DSL interface automatically adds to the route table an entry for the DHCP ip address, and a default route (which is to the DSL modem/router)
How should the router and client be configured to handle the default route going to the DSL route?
Any assistance or pointers in the right direction is greatly appreciated,
Thanks,
Mike
|