[S7706]华为配置DHCP

# 进入VLAN接口
interface Vlanif26
# 配置网关
 ip address 10.3.26.254 255.255.255.0
# DHCP服务范围(接口下还是中继)
 dhcp select interface
 dhcp server gateway-list 10.3.26.254
# 地址池排除范围
 dhcp server excluded-ip-address 10.3.26.251 10.3.26.253
# 静态地址绑定
 dhcp server static-bind ip-address 10.3.26.8 mac-address 1831-bf22-8a73
# 地址租约期限
 dhcp server lease day 7 hour 0 minute 0
# DNS服务器地址
 dhcp server dns-list 10.3.44.11 114.114.114.114

END

posted @ 2020-06-30 08:09  LeoShi2020  阅读(1377)  评论(0编辑  收藏  举报