0209 DHCP

DHCP:dynamic host configuration protocol 基于UDP


服务器监听端口:UDP 67
客户 监听端口 :UDP 68


四种数据包
DHCP discovery
DHCP offer
DHCP request
DHCP ACK


DHCP lease DHCP租约

release 释放
归还,到期,关机

续租(单播)

租约期限50%开始续租,75%,87.5%最后一次续租


dhcpd ,/etc/dhcpd.conf ,/etc/sysconfig/dhcpd
/etc/init.d/dhcpd start |stop|status|restart


DNS最多指明三个,多的无效


windows从小到大
linux从大到小




/var/lib/dhcpd/dhcpd.leases服务器租约文件



DHCP分类:







DHCP中继:

服务是dhcrelay











































你可能感兴趣的:(职场,UDP,DHCP,休闲)