ENSP配置 实例七 DHCP配置
简单dhcp配置
[R]dhcp enable
[R-Ethernet0/0/0]ip add 192.168.1.254 24
[R]ip pool 1
[R-ip-pool-1]network 192.168.1.0 mask 24
[R-ip-pool-1]gateway-list 192.168.1.254 ##配置出口网关地址
[R-ip-pool-1]dns-list 1.1.1.1
[R-Ethernet0/0/0]dhcp select global ##开启接口采用全局地址池的DHCP Server功能
dhcp select interface命令用来开启接口采用接口地址池的DHCP Server功能