Hi all!
I'm attempting to set up a DCHP server on my Debian Lenny (first time), but something is going wrong with the leases file. Here's my syslog after the start up ( Don't fail ):
/var/log/syslog
localhost dhcpd: Wrote 0 leases to leases file.
As a matter of fact, I set the interface eth0 in /etc/default/dhcp3-server:
INTERFACES="eth0"
DHCP configuration:
/etc/dhcp3/dhcpd.conf
dns-update-style none;
option domain-name-servers 192.168.1.100, 208.67.222.222, 208.67.220.220;
# I installed bing9 dns server ( It's working )
default-lease-time 600;
max-lease-time 7200;
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}
Network configuration:
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
Thanks in advance!
PS: I was following
this HowTo.