H3C DHCP

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的设备

你可能感兴趣的:(数字通信,服务器,网络,linux)