DHCP配置 /etc/dhcpd.conf<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
ddns—update—style interim;
subnet <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />10.1.1.0 netmask 255.255.255.0 {
range 10.1.1.100 10.1.1.150;
range 10.1.1.160 10.1.1.180;
option subnet-mask 255.255.255.0;
option routers 10.1.1.1; shared network xie{ 共享段 group { 群组声明
option domain-name-server 202.106.0.20;
option domain-name “xie.vfast.com”;
max-lease-time 36000;
host apex { 保留IP
option host-name “jinli.xie.vfast.com”;
hardware ethernet 00:50:C0:02:00:63;
fixd-address 10.1.1.88;
}
}
DHCP 客户端设置(Linux)/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
转载于:https://blog.51cto.com/xiesh/192426