資源描述:
《路由器dhcp配置自動獲取ip》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、R1>enR1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#intf0/0R1(config-if)#ipadd12.1.1.1255.255.255.0R1(config-if)#noshR1(config-if)#*Mar100:01:10.847:%LINK-3-UPDOWN:InterfaceFastEthernet0/0,changedstatetoup*Mar100:01:11.847:%LINEPROTO-5-UPDOWN
2、:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupR1(config-if)#exitR1(config)#servicedhcpR1(config)#ipdhcpexcluded-address23.1.1.123.1.1.100R1(config)#ipdhcppool205R1(dhcp-config)#network23.1.1.0255.255.255.0R1(dhcp-config)#default-router23.1.1.1R1(dhcp-confi
3、g)#dns-server8.8.8.8R1(dhcp-config)#dns-server202.102.224.68R1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#ipdhcpexcluded-address24.1.1.124.1.1.100R1(config)#ipdhcppool207R1(dhcp-config)#network24.1.1.0255.255.255.0R1(dhcp-config)#default-rou
4、ter24.1.1.1R1(dhcp-config)#dns-server8.8.8.8R1(dhcp-config)#dns-server202.102.224.68R1(dhcp-config)#R1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#iprouteR1(config)#iproute23.1.1.0255.255.255.012.1.1.2R1(config)#iproute24.1.1.0255.255.255.012
5、.1.1.2R1(config)#^ZR1#*Mar100:10:05.699:%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR2>enR2#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R2(config)#intf0/0R2(config-if)#ipadd12.1.1.2255.255.255.0R2(config-if)#noshR2(config-if)#*Mar100:12:40.483:%LINK-3
6、-UPDOWN:InterfaceFastEthernet0/0,changedstatetoup*Mar100:12:41.483:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupR2(config-if)#intf1/0R2(config-if)#ipadd23.1.1.1255.255.255.0R2(config-if)#noshR2(config-if)#intf*Mar100:13:04.163:%LINK-3-U
7、PDOWN:InterfaceFastEthernet1/0,changedstatetoup*Mar100:13:05.163:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet1/0,changedstatetoupR2(config-if)#intf2/0R2(config-if)#ipadd24.1.1.1255.255.255.0R2(config-if)#noshR2(config-if)#*Mar100:13:26.587:%LINK-3-UPDOWN:
8、InterfaceFastEthernet2/0,changedstatetoup*Mar100:13:27.587:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet2/0,changedstatetoupR2(c