[Techtalk] Linux gateway + DHCP server setup?
Brenda Bell
k15a-list-linuxchix at theotherbell.com
Wed Apr 2 19:15:44 EST 2003
Quoting Subba Rao <subba9 at cablespeed.com>:
> Should the eth1 have a static IP address so that other systems on the
> LAN know
> the gateway to the Internet?
Absolutely. I'm not sure you can use DHCP to assign a dynamically
addressed router.
> Are there any routes to be added for a dhcp environment?
Specifically for DHCP, no. However, in order for your Debian box to
function as an Internet gateway, it must have a default route (all 0's) for
eth0. If both NIC's are configured correctly, you probably already have
this set up.
> subnet 10.10.10.0 netmask 255.255.255.0 {
> range 10.10.10.1 10.10.10.75;
> option broadcast-address 10.10.10.255;
> option routers dns.test-lan.home.com;
> }
I'm not sure what's causing the error you're getting above, but I would
suggest you only include assignable IP addresses in your DHCP range; e.g.,
10.10.10.10 has been statically assigned to your Debian box so it shouldn't
be part of the assignable address range.
Sorry I can't be of more help.
--
Brenda
http://opensource.theotherbell.com
More information about the Techtalk
mailing list