rh-9下dhcp服务的配置2--Linux企业应用-Linux服务器应用信息,下面是详情阅读。
下面给一具体例子来分析:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.16.0 netmask 255.255.255.0 {
range 192.168.16.11 192.168.16.100;
option routers 192.168.16.1;
option subnet-mask 255.255.255.0;
option nis-domain "jackie.org";
option domain-name "jackie.org";
option domain-name-servers 192.168.16.2,202.1.2.23;
option broadcast-address 192.168.16.255;
default-lease-time 21600;
max-lease-time 43200;
host pc1 {
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 192.168.16.20;
}
host pc2 {
hardware ethernet 12:34:56:78:AB:EF;
fixed-address 192.168.16.30;
}