【正文】
console R1show ip route 顯示路由表 Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Ether0 C , Serial0 C , Serial1 R1conf t Enter configuration mands, one per line. End with CNTL/Z. R1(config)router rip 啟用 rip 路由協(xié)議 R1(configrouter) 設置宣告網(wǎng)段 R1(configrouter) 設置宣告網(wǎng)段 R1(configrouter) 設置宣告網(wǎng)段 R1(configrouter)^Z %SYS5CONFIG_I: Configured from console by console R1show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Ether0 C , Serial0 C , Serial1 R1conf t Enter configuration mands, one per line. End with CNTL/Z. R1(config)ip ? 問題?這里沒有配置 default(模擬器上沒有此命令 ) accesslist Named accesslist dhcp Configure DHCP server and relay parameters domainlookup Enable IP Domain Name System hostname translation host Add an entry to the ip hostname table HTTP server configuration nat NAT configuration mands route Establish static routes subzero Allow 39。sub zero39。 subs R1(config)ip defaultwork % Invalid input detected at 39。^39。 marker. R1(config)^Z %SYS5CONFIG_I: Configured from console by console R1show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Ether0 C , Serial0 C , Serial1 R [120/1] via , 00:03:23, Serial0 R [120/1] via , 00:05:41, Serial1 R1(config)ip ? accesslist Named accesslist dhcp Configure DHCP server and relay parameters domainlookup Enable IP Domain Name System hostname translation host Add an entry to the ip hostname table HTTP server configuration nat NAT configuration mands route Establish static routes subzero Allow 39。sub zero39。 subs R2 Routeren Routerconf t Enter configuration mands, one per line. End with CNTL/Z. Router(config)hostname R2 R2(config)int s1 R2(configif)ip add R2(configif)no shut 『配置各 個端口 ip』 %LINK3UPDOWN: Interface Serial1, changed state to up R2(configif)exit R2(config)int s0 R2(configif)ip add R2(configif)clock rate 56000 R2(configif)no shut %LINK3UPDOWN: Interface Serial0, changed state to up R2(configif)exit R2(config) R2(config) R2(config) %LINK3UPDOWN: Interface Serial0, changed state to down %LINEPROTO5UPDOWN: Line protocol on Interface Serial0, changed state to down R2(config)int e0 R2(configif)ip add R2(configif)no shut %LINK3UPDOWN: Interface Ether0, changed state to up %LINK3UPDOWN: Interface Serial0, changed state to up %LINEPROTO5UPDOWN: Line protocol on Interface Serial0, changed state to up R2(configif)^Z %SYS5CONFIG_I: Configured from console by console R2show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Serial1 C , Ether0 C , Serial0 R2conf t Enter configuration mands, one per line. End with CNTL/Z. R2(config)router rip 配置 rip動態(tài)路由 R2(configrouter) R2(configrouter) R2(configrouter) R2(configrouter)^Z %SYS5CONFIG_I: Configured from console by console R2show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Serial1 C , Ether0 C , Serial0 R2show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Serial1 C , Ether0 C , Serial0 R2show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route G