Dynamips/Dynagen 的設定檔如下:
配置: |
# Another simple dynagen configuration file # autostart = false [localhost] `7200` `ROUTER Lindbergh` |
其中的 IOS 檔案,請尋找正常管道取得。
三個 Routers 的 Initial configuration 如下:
配置: |
hostname Earhart ! interface Loopback0 ip address 172.20.10.1 255.255.255.0 ! interface Serial1/0 description “Connect to Router Lindbergh S1/0” ip address 172.20.15.1 255.255.255.252 ! interface Serial1/1 description “Connect to Router Cochran S1/0” ip address 172.20.15.5 255.255.255.252 ! |
配置: |
hostname Lindbergh ! interface Loopback0 ip address 192.168.16.1 255.255.255.0 ! interface Serial1/0 description “Connect to Router Earhart S1/0 ip address 172.20.15.2 255.255.255.252 ! |
配置: |
hostname Cochran ! interface Loopback0 ip address 192.168.17.1 255.255.255.0 ! interface Serial1/0 description “Connect to Router Earhart S1/1” ip address 172.20.15.6 255.255.255.0 ! |
需要輸入的指令如下:
配置: |
Earhart(config)# router eigrp 15 Earhart(config-router)# network 172.20.0.0 Earhart(config-router)# exit Earhart(config)# |
配置: |
Lindbergh(config)# router eigrp 15 Lindbergh(config-router)# network 172.20.0.0 Lindbergh(config-router)# network 192.168.16.0 Lindbergh(config-router)# exit Lindbergh(config)# |
配置: |
Cochran(config)# router eigrp 15 Cochran(config-router)# network 172.20.0.0 Cochran(config-router)# network 192.168.17.0 Cochran(config-router)# exit Cochran(config)# |
當所有的設定做完之後,結果如下:
配置: |
Earhart#show ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2 i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static route Gateway of last resort is not set 172.20.0.0/16 is variably subnetted, 3 subnets, 2 masks |
配置: |
Lindbergh#show ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2 i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static route Gateway of last resort is not set 172.20.0.0/16 is variably subnetted, 4 subnets, 3 masks |
配置: |
Cochran#show ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2 i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static route Gateway of last resort is not set 172.20.0.0/16 is variably subnetted, 4 subnets, 3 masks |
Kuo…
PS: 這個 Lab 基本上很簡單。但是,對完全沒有設定過 Cisco 路由器的人來說,還是會有點困難的。所以,通過這樣的方式,讓沒有機會碰到路由器的人,也可以在自己的家裡練習。
另外,也希望大家可以說出自己的想法與意見。