1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# /etc/dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.200 192.168.1.254;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.11, 192.168.1.12;
# option domain-name "somelan";
# next-server is only needed if the dhcp and nfs servers are different machines
#next-server 192.168.1.9;
# tftp-server-name is needed in addition to (instead of?) next-server when using
# the kernel initrd method. for some reason dhclient won't grab next-server...
#option tftp-server-name 192.168.1.9;
filename "/var/lib/lessdisks/boot/vmlinuz-2.4.24ld.nb";
option root-path "/var/lib/lessdisks/";
# these are options to allow for boot menus with etherboot
# option-128 must be reproduced exactly- it is not a mac address
#option option-128 e4:45:74:68:00:00;
#option option-160 "timeout=10:default=193";
#option option-184 "/etc/motd";
#option option-192 "oldkernel:::/var/lib/lessdisks/boot/bzimage.ramfs.nb:::=old";
#option option-193 "newkernel:::/var/lib/lessdisks/boot/vmlinuz-2.4.16ld.nb:::=new";
}
# use an empty subnet declaration if you have two network cards,
# but only want dhcp on one network
#subnet 192.168.2.0 netmask 255.255.255.0 {
#}
|