标签:
ip dhcp pool 地址池名 ip dhcp pool vlan10 network 192.168.10.0 /24 default-router 192.168.10.254 网关 dns-server 202.103.96.85 定义分配给pc的dns ip dhcp excluded-address 192.168.10.254 --地址池中排除某地址 pc: int f0/0 no ip add ip add dhcp shutdown no shutdown 路由器: int f0/0.10 ip helper-address 192.168.200.1 ---pc的广播包被路由器拦截,此命令是转成单播传给ip为200.1的dhcp服务器 show ip dhcp pool --查看dhcp地址池 show ip dhcp binding ---查看绑定pc的ip
标签:
原文地址:http://blog.csdn.net/shienquan/article/details/44755775