install: yum  - y  install dhcp

modify :

vim  /etc/dhcp/dhcpd.conf

ddns-update-style none;
ignore client-updates;
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.0.0.100 10.0.0.200;
option domain-name-servers 202.96.209.133,116.228.111.18;
option routers 10.0.0.1;
default-lease-time 600;
max-lease-time 7200;
}

start:service dhcpd  start

prepare:ifconfig  eth0 10.0.0.1 NETMASK 255.0.0.0

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-25
  • 2021-04-01
  • 2022-01-05
  • 2021-09-12
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2021-12-08
  • 2021-11-01
  • 2021-12-12
  • 2022-01-11
  • 2021-12-25
  • 2021-08-04
  • 2021-11-13
相关资源
相似解决方案