1. 安装 yum install -y dhcp

2. 复制配置文件cp  /usr/share/doc/dhcp*/dhcpd.conf.example /etc/dhcp/dhcpd.conf

    cp:是否覆盖"/etc/dhcp/dhcpd.conf"? y

3. 编辑配置文件 vim /etc/dhcp/dhcpd.conf

Linux DHCP服务器配置

4. 配置ip

 vim /etc/sysconfig/network-scripts/ifcfg-ens33

Linux DHCP服务器配置

5. 开启服务 systemctl start dhcpd

6. 测试(win7 端)

Linux DHCP服务器配置

相关文章:

  • 2021-07-10
  • 2022-01-15
  • 2021-09-12
  • 2021-10-04
  • 2021-06-29
猜你喜欢
  • 2021-05-26
  • 2021-09-26
  • 2021-12-26
  • 2021-09-08
相关资源
相似解决方案