On Sat, 2001-11-10 at 23:21, Osamu Aoki wrote: > I do this dhcp server for home LAN system on gateway machine. eth0 for > cable connection and eth1 for LAN side. > > On Sat, Nov 10, 2001 at 10:56:01PM +0100, Eric Smith wrote: > > Would like to have the bare minimum config for a single networked > > (windows) machine which I want to give internet access to from my > > debian server.
Seems to me that what you are looking for is not DHCP but NAT. 1) Configure your second eth card to 192.168.0.1. 2) Activate nat on your gnu/linux box echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE (on a 2.4 kernel) eth0 is my external(cable modem) interface, for you it could be pppx for a modem. 3)On the MS machine use a 192.168.0.xx IP and define 192.168.0.1 as your gateway. You are set. On a 2.2 kernel it is similar and even easier: install the ipmasq package, Michel.