FW: Config help!

Simon Hobson dhcp at thehobsons.co.uk
Fri Mar 31 19:15:12 UTC 2006


Elliott Bujan wrote:

>This is the output for ifconfig
>[root at frank sbin]# ./ifconfig
>eth0      Link encap:Ethernet  HWaddr 00:06:29:4E:EF:94
>           inet addr:192.9.200.19  Bcast:192.9.200.255  Mask:255.255.255.0

So you MUST have a subnet declaration for 192.9.200.0/24.

Looking back at the original message, I see that you do in fact have this :

># Subnet: Corporate
>
>         subnet 192.9.200.0 netmask 255.255.255.0 {
>
>                 option routers 192.9.200.241;
>
>                 range 192.9.200.50 192.9.200.97;
>
>                 range 192.9.200.116 192.9.200.199;
>
>                }



>. /etc/sysconfig/dhcpd
>+ . /etc/sysconfig/dhcpd
>DHCPDARGS=eth0
>++ DHCPDARGS=eth0

This is the bit of interest. The config file is /etc/sysconfig/dhcpd, 
and the variable DHCPDARGS is set to "eth0"


Everything looks OK, assuming of course that you did correctly remove 
the shared-network statement. What happens if you issue 
"/etc/rc.d/init.d/dhcpd start" now ?

Actually, I can see from the last listing :

>+ RETVAL=0
>+ echo
>
>+ '[' 0 -eq 0 ']'
>+ touch /var/lock/subsys/dhcpd
>+ return 0
>
>exit $RETVAL
>+ exit 0

that it did in fact startup.

So you should now be running OK ?

Simon


More information about the dhcp-users mailing list