本文共 581 字,大约阅读时间需要 1 分钟。
DHCP2路由器:
Router>en
Router#conf tRouter(config)#interface f0/0Router(config-if)#ip address 200.1.1.2 255.255.255.0Router(config-if)#no shutdownRouter(config-if)#exit
Router(config)#hostname dhcp2dhcp2(config)#dhcp2(config)#ip route 192.168.2.0 255.255.255.0 200.1.1.1
dhcp2(config)#ip dhcp pool p2
dhcp2(dhcp-config)#network 192.168.2.0 255.255.255.0dhcp2(dhcp-config)#default-router 192.168.2.254
dhcp2(dhcp-config)#dns-server 222.222.222.222
在DHCP1上做DHCP中继:
dhcp1(config)#interface f0/1
dhcp1(config-if)#dhcp1(config-if)#ip hel转载于:https://blog.51cto.com/14020480/2300532