I am running gentoo
this is my /etc/dhcp/dhcp.conf file
Code:
log-facility local7;
ddns-update-style none;
use-host-decl-names on;
subnet 192.168.1.0 netmask 255.255.255.0 {
option domain-name "cluster";
range 192.168.1.10 192.168.1.99;
option routers 192.168.1.100;
host node01 {
# MAC address of network card on node 01
hardware ethernet 00:D0:B7:BB:F8:DD;
fixed-address 192.168.1.1;
}
}
I have set the correct interface in /etc/conf.d/dhcp for eth0
in /etc/conf.d/net I have set for eth0
Code:
iface_eth0="192.168.1.100 broadcast 192.168.1.255 netmask 255.255.255.0"
/etc/init.d/dhcp restart after each configuration change I get
Code:
master ~ # /etc/init.d/dhcp restart
* Stopping dhcpd ... [ ok ]
* Setting ownership on dhcpd.leases ... [ ok ]
* Starting dhcpd ...
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/00:50:da:0f:cc:7f/192.168.1.0/24
Sending on LPF/eth0/00:50:da:0f:cc:7f/192.168.1.0/24
Sending on Socket/fallback/fallback-net [ ok ]
master ~ #
/var/log/messages shows the same and nothing else
So I see that it is listening on the correct interface (eth0)
I have a ethernet cable from eth0 to a switch and then my client (node01) off that switch trying to get dhcped. Why is my client not getting dhcped?
I would really like any help with getting this dhcp server working properly. Thanks