Linux DHCP 服务器配置问题,请大侠务必认真回答
发布网友
发布时间:2022-04-29 10:55
我来回答
共1个回答
热心网友
时间:2022-06-26 12:53
一、将文件复制到/etc中
cp /usr/share/doc/dhcp-3.0.5/dhcp.conf.sample /etc/dhcpd.conf
选择覆盖(Y)
二、使用vim编辑器修改dhcpd.conf文件
vim /etc/dhcpd.conf
subet 192.168.1.0
option routers 192.168.1.1
option subnet-mask 255.255.255.0
option domain-name-servers 192.168.1.16
range dynamil-bootp 192.168.1.10~192.168.1.100
default-lease-time 216000
max-lease-time 432000
hard ware ethernet 00-03-ee-f5-87-4a
fixed-address 192.168.1.200
hard ware ethernet 00-04-3e-5f-d8-8c
fixed-address 192.168.1.16