[root@classical]# dhcpd eth0
Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/eth0/00:01:02:83:51:7e/192.168.8.0
Sending on LPF/eth0/00:01:02:83:51:7e/192.168.8.0
Can't bind to dhcp address: Address already in use
exiting.
--------------------
[root@homepc]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
203.56.56.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 203.56.56.1 0.0.0.0 UG 0 0 0 eth1
[f00l@classical f00l]#
---------------------------
[f00l@classical /etc]# cat dhcpd.conf
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.8.255;
option routers 192.168.8.254;
option domain-name-servers 203.56.1.21,203.56.1.22;
option domain-name "homepc.linux.org";
option netbios-name-servers 192.168.8.1;
subnet 192.168.8.0 netmask 255.255.255.0 {
range 192.168.8.30 192.168.8.35;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/