dhcp server

centos

yum install dhcp -y

 

cat /etc/dhcp/dhcpd.conf

default-lease-time 7200;

max-lease-time 14400;

subnet 172.16.26.0 netmask 255.255.0.0 {

option routers 172.16.0.1;

range 172.16.26.20 172.16.26.49;

}

 

systemctl start dhcpd

systemctl enable dhcpd

posted on   XZhe  阅读(323)  评论(0编辑  收藏  举报
努力加载评论中...

点击右上角即可分享
微信分享提示