It is /etc/dhcpd.conf in CentOS 5
The commented out lines are for address reservation.
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
ddns-update-style interim;
allow booting;
allow bootp;
ignore client-updates;
set vendorclass=option vendor-class-identifier;
subnet 10.10.1.0 netmask 255.255.255.0 {
option routers 10.10.1.1;
option domain-name-servers 192.168.163.2;
option subnet-mask 255.255.255.0;
range 10.10.1.15 10.10.1.25;
filename "/pxelinux.0";
default-lease-time 21600;
max-lease-time 43200;
next-server 10.10.1.1;
}
#host client {
#hardware-ethernet 00:0C:29:BC:55:9C ;
#fixed-address 10.10.1.15;
#}
The commented out lines are for address reservation.
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
ddns-update-style interim;
allow booting;
allow bootp;
ignore client-updates;
set vendorclass=option vendor-class-identifier;
subnet 10.10.1.0 netmask 255.255.255.0 {
option routers 10.10.1.1;
option domain-name-servers 192.168.163.2;
option subnet-mask 255.255.255.0;
range 10.10.1.15 10.10.1.25;
filename "/pxelinux.0";
default-lease-time 21600;
max-lease-time 43200;
next-server 10.10.1.1;
}
#host client {
#hardware-ethernet 00:0C:29:BC:55:9C ;
#fixed-address 10.10.1.15;
#}
No comments:
Post a Comment