On Fri, 12 Sep 2003 12:47:47 -0700, JA <(E-Mail Removed)> wrote:
> Very basic routing question: The Linux machine has a dhcp connection to
> the ISP on eth0. On eth1 there is a connection to the local ethernet.
> Using the route command how do I set up a default route to the ISP for
> the local networked machines? Thanks very much.
The boxes on your LAN need a default route to your eth1 IP and also need
to have nameserver(s) set on them. Your Linux router needs ip_forward
enabled. Assuming your LAN is private IPs, you have to masquerade them
(iptables or ipchains) as your eth0 IP. You should do something in dhcp
related scripts to automatically refresh your firewall/masq
(iptables/ipchains) if your public IP changes.
--
David Efflandt - All spam ignored
http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/