H3C DHCP

  • Post author:
  • Post category:其他


1.开启DHCP服务

dhcp enable
 dhcp server forbidden-ip 192.168.100.1 192.168.100.62
 dhcp server forbidden-ip 192.168.110.1

开启DHCP服务

保留192.168.100.1-192.168.100.62 地址不分配

保留192.168.101.1 地址不分配

2.创建DHCP地址池

dhcp server ip-pool vlan100
 gateway-list 192.168.101.254
 network 192.168.100.0 mask 255.255.254.0
 dns-list 114.114.114.114 223.5.5.5
 expired day 0 hour 8
 static-bind ip-address 192.168.100.11 mask 255.255.254.0 hardware-address 1111-0101-1111

创建 DHCP地址池 vlan100

配置网关 192.168.101.254

配置地址192.168.100.0 配置子网掩码255.255.254.0

配置DNS 114.114.114.114和223.5.5.5

配置DHCP租约有效时间0天8小时

DHCP地址池中配置静态地址绑定IP192.168.100.11掩码255.225.254.0,绑定MAC 1111-0101-1111的设备



版权声明:本文为qq_25574439原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。