Ed: I don't think you need the DEVICE= in your startup script (assuming you are using ISC dhcp). You should also put things like authoritative in your config, and you need either host declarations in your configuration, or allow unknown-hosts. Brian Borowski On Sun, 28 Apr 2002, Ed Barnes wrote: > Hello everyone! > Today I began setting up ip masquerading on my Linux box which is running > Red Hat 7.2 Enigma Kernel 2.4.9-31. > I mounted rh cd 2 and first installed the dhcpd daemon package and then I > went to the Linux Documentation Project internet site for pointers. > After reading I created /etc/dhcpd.conf and modified > /etc/rc.d/init.d/dhcpd so it would not try to use eth0. > The nic eth0 is the nic which my cable modem is connected too and it is > configured to use dhcp to correspond with the settings my isp requires its > customers to use. > When I start the dhcp service I am receiving the following error. > no subnet declaration for eth0 > (209.128.49.233) > Please write a subnet declaration in your dhcpd.conf file for the network > segment to which interface eth0 is attached. > Obviously I don't want the dhcpd daemon to use eth0 and my dhcpd file > reflects this > I have attached both my /etc/dhcpd.conf and /etc/rc.d/init.d/dhcpd files > to this message if anyone would like to look them over. > I am puzzled as to why I am receiving this error after following > instructions as needed. > My reason for configuring a dhcp server before actually diving into the > masquerading itself is because I have a laptop which I also use at school > and I don't wish to re-set it's ip statically every day. > Any feedback which anyone on the list could provide would be greatfully > appreciated. > Feel free to contact me on list or to e-mail me directly. > Thanks in advance. > Ed Barnes > >