



ddns-update-style ad-hoc;
allow bootp;
default-lease-time 6000;
max-lease-time 10000;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility dhcpd;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.20 192.168.1.250;
option routers 192.168.1.1;
option domain-name "xxx.xxx.xxx";
option domain-name-servers a.b.c.d, a.b.c.d, a.b.c.d;
}
Code: Select all
ifconfig eth0 192.168.0.1Code: Select all
iface_eth1="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"Code: Select all
IFACE="eth0"