(更新时间)2021年5月3日 网络安全 路由器上配置DHCP中继

158 阅读1分钟

在三层路由器上部署DHCP服务器:

conf t
 ip dhcp excluded-address 10.1.1.1 10.1.1.99
 ip dhcp pool v10
   network 10.1.1.0 255.255.255.0
   default-router 10.1.1.254
   dns-server 40.1.1.1

配置DHCP中继:

int f0/0.1 (该接口需要被帮助)
ip helper-address DHCP服务器的IP
exit

删除配置:

no ip dhcp excluded-address 10.1.1.1 10.1.1.99
no ip dhcp pool v10