數據庫時間

          常用鏈接

          統計

          最新評論

          子網劃分講解及練習(二)

          練習配置

           

          R1配置:

          Router#conf t

          Enter configuration commands, one per line.  End with CNTL/Z.

          Router(config)#host R1

          R1(config)#no ip domain-lo

          R1(config)#int s 0/0

          R1(config-if)#ip add 172.18.0.1 255.255.0.0

          R1(config-if)#cl ra 64000

          R1(config-if)#no shut

          R1(config-if)#int s 0/1

          R1(config-if)#ip add 172.16.0.1 255.255.0.0

          R1(config-if)#cl ra 64000

          R1(config-if)#no shut

          R1(config-if)#exit

          R1(config)#enable secret cisco

          R1(config)#lin con 0

          R1(config-line)#password cisco

          R1(config-line)#login

          R1(config-line)#logg sy

          R1(config-line)#exec-t 0 0

          R1(config-line)#exit

          R1(config)#lin vty 0 4

          R1(config-line)#pas

          R1(config-line)#password cisco

          R1(config-line)#login

          R1(config-line)#exit

          R1(config)#service password-encryption

          R2配置:

          Router>

          Router>en

          Router#conf t

          Enter configuration commands, one per line.  End with CNTL/Z.

          Router(config)#no ip domain-lo

          Router(config)#lin con 0

          Router(config-line)#exec-t 0 0

          Router(config-line)#logg sy

          Router(config-line)#pas cisco

          Router(config-line)#lin vty 0 4

          Router(config-line)#pas cisco

          Router(config-line)#login

          Router(config-line)#exit

          Router(config)#enable se cisco

          Router(config)#ser pas

          Router(config)#int s 0/0

          Router(config-if)#ip add 172.18.0.2 255.255.0.0

          Router(config-if)#no shut

          %LINK-5-CHANGED: Interface Serial0/0, changed state to up

          Router(config-if)#

          Router(config-if)#

          %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

          i

          Router(config-if)#int s 0/1

          Router(config-if)#ip add 172.17.0.1 255.255.0.0

          Router(config-if)#cl ra 64000

          Router(config-if)#no shut

          %LINK-5-CHANGED: Interface Serial0/1, changed state to down

          Router(config-if)#int f 0/0

          Router(config-if)#ip add 10.13.0.1 255.0.0.0

          Router(config-if)#no shut

          %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

          %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

          Router(config-if)#

          Router(config-if)#host R2

          R2(config)#

          R3配置

          Router>en

          Router#conf t

          Enter configuration commands, one per line.  End with CNTL/Z.

          Router(config)#no ip domain-lo

          Router(config)#host R3

          R3(config)#enable se cisco

          R3(config)#lin con 0

          R3(config-line)#pas cisco

          R3(config-line)#login

          R3(config-line)#exec-t 0 0

          R3(config-line)#logg sy

          R3(config-line)#lin vty 0 4

          R3(config-line)#pas cisco

          R3(config-line)#login

          R3(config-line)#exit

          R3(config)#ser pas

          R3(config)#int s 0/0

          R3(config-if)#ip add 172.17.0.2 255.255.0.0

          R3(config-if)#no shut

          %LINK-5-CHANGED: Interface Serial0/0, changed state to up

          R3(config-if)#

          R3(config-if)#int s 0/1

          R3(config-if)#ip add 172.16.

          %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

          R3(config-if)#ip add 172.16.0.2 255.255.0.0

          R3(config-if)#no shut

          R3(config-if)#

          %LINK-5-CHANGED: Interface Serial0/1, changed state to up

          R3(config-if)#int f 0/0

          R3(config-if)#ip add 1

          %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

          R3(config-if)#ip add 192.168.1.1 255.255.255.0

          R3(config-if)#no shut

          %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

          %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

          結果:

           

           

           

          posted on 2012-09-26 12:52 數據庫時間 閱讀(217) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 英山县| 武城县| 永清县| 东乡县| 蒙阴县| 金塔县| 防城港市| 平陆县| 璧山县| 阿拉善右旗| 吉安市| 正定县| 新巴尔虎右旗| 望奎县| 兴化市| 乌兰察布市| 卓尼县| 古蔺县| 新蔡县| 孟州市| 芜湖市| 房产| 蒲江县| 响水县| 麟游县| 大田县| 台中县| 阜阳市| 呼图壁县| 巴南区| 肃宁县| 绥德县| 潞城市| 广宁县| 改则县| 成安县| 罗源县| 绥宁县| 张掖市| 禄丰县| 铜川市|