DHCP服务器在企业网络中的应用
(4)DHCPACK(DHCP确认)
更新IP地址租约
① 重启 DHCPREQUEST
② 50% DHCPREQUEST
③ 87.5% dhcpdiscover(4个步骤)
④ 100% 终止使用(169.254.)
DHCP服务器实现
注意:dhcp服务器需要配置static的ip地址
#rpm -ivh /mnt/cdrom/Server/dhcp-3.0.5-18.el5.i386.rpm
[root@junjie ~]# rpm -qc dhcp
/etc/dhcpd.conf
/etc/rc.d/init.d/dhcpd
/etc/rc.d/init.d/dhcrelay
/etc/sysconfig/dhcpd
/etc/sysconfig/dhcrelay
/var/lib/dhcpd/dhcpd.leases
DHCP配置文件/etc/dhcpd.conf的格式如下:
选项/参数 # 这些选项/参数全局有效
声明{
选项/参数 # 这些选项/参数局部有效
}
:r /usr/share/doc/dhcp*/dhcpd.conf.sample