配置靜態(tài),動態(tài)路由,單臂路由實驗_第1頁
配置靜態(tài),動態(tài)路由,單臂路由實驗_第2頁
配置靜態(tài),動態(tài)路由,單臂路由實驗_第3頁
配置靜態(tài),動態(tài)路由,單臂路由實驗_第4頁
配置靜態(tài),動態(tài)路由,單臂路由實驗_第5頁
已閱讀5頁,還剩6頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、創(chuàng)建高級路由型互聯(lián)網(wǎng)實驗報告時間:2010-09-10ip route 10.1.1.0 255.255.255.0 1.1.1.1Router#Router#show ip rouRouter#show ip routeCodes: C -connected,S - static, I -IGRP,R - RIP, M -mobile,B -BGPD -EIGRP, EX- EIGRPexternal,O -OSPF, IA - OSPF interareaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 -

2、OSPF external type 1, E2 - OSPF external type 2, E - EGP i -IS-IS, L1- IS-ISlevel-1,L2 -IS-IS level-2,ia - IS-ISinter area* -candidatedefault,U - per-userstatic route,o - ODRP - periodic downloaded static routeGateway of last resort is not set1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly c

3、onnected, Serial0/0/0 10.0.0.0/24 is subnetted, 1 subnetsC10.1.1.0 is directly connected, FastEthernet0/1172.1.0.0/24 is subnetted, 1 subnetsS172.1.1.0 1/0 via 1.1.1.22 RIPouterenaRouterenableRouter#Router#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#Router(config

4、)#int s0/0/0Router(config-if)#ip adRouter(config-if)#ip address 1.1.1.1 255.255.255.0 Router(config-if)#no sh Router(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down Router(config-if)#exit Router(config)#int f0/1 Router(config-if)#ip ad Router(config-if)#ip address

5、 10.1.1.254 255.255.255.0 Router(config-if)#no sh Router(config-if)#no shutdownRouter(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up%LINK-5-CHANGED: Interface Serial0/0/0, changed state t

6、o upRouter(config-if)#Router(config-if)#Router(config-if)#exitRouter(config)#int S0/0/0Router(config-if)#clRouter(config-if)#clock rRouter(config-if)#clock rate 64000Router(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to upRouter(config-if)#Router(config-if)

7、#exitRouter(config)#roRouter(config)#router rRouter(config)#router ripRouter(config-router)#neRouter(config-router)#network 1.0.0.0 Router(config-router)#n Router(config-router)#neRouter(config-router)#network 10.0.0.0 Router(config-router)# Router# %SYS-5-CONFIG_I: Configured from console by consol

8、e 3 ospfRouter(config)#router ospf 40Router(config-router)#neRouter(config-router)#network 172.1.1.0 0.255.255.255 ar Router(config-router)#network 172.1.1.0 0.255.255.255 area 0 Router(config-router)#neRouter(config-router)#network 1.1.1.0 0.255.255.255 area 0 Router(config-router)#AZ Router# %SYS-

9、5-CONFIG_I: Configured from console by consoleRouter#show ip routeCodes: C -connected, S - static, I -IGRP,R - RIP, M - mobile,B -BGPD -EIGRP, EX- EIGRPexternal,O -OSPF, IA - OSPF interareaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external ty

10、pe 2, E - EGP i -IS-IS, L1- IS-ISlevel-1,L2 -IS-IS level-2, ia - IS-ISinter area* -candidatedefault,U - per-userstatic route, o - ODRP - periodic downloaded static routeGateway of last resort is not set1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Serial0/0/0 10.0.0.0/24 is subn

11、etted, 1 subnetsC 10.1.1.0 is directly connected, FastEthernet0/1172.1.0.0/16 is variably subnetted, 2 subnets, 2 masksR 172.1.0.0/16 120/1 via 1.1.1.2, 00:00:01, Serial0/0/0O 172.1.1.0/24 110/65 via 1.1.1.2, 00:01:30, Serial0/0/04 ping實驗Pinging 10.1.1.254 with 32 bytes of data:Reply from 10.1.1.254

12、: bytes=32 time=125ms TTL=255Reply from 10.1.1.254: bytes=32 time=63ms TTL=255Reply from 10.1.1.254: bytes=32 time=63ms TTL=255Ping statistics for 10.1.1.254:Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 63ms, Maximum = 125ms, Average = 8

13、3msControl-CACPCping 1.1.1.0Pinging 1.1.1.0 with 32 bytes of data:Reply from 10.1.1.254: bytes=32 time=31ms TTL=255Reply from 10.1.1.254: bytes=32 time=47ms TTL=255Ping statistics for 1.1.1.0:Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum =

14、31ms, Maximum = 47ms, Average = 39msControl-CACPCping 172.1.1.2Pinging 172.1.1.2 with 32 bytes of data:Request timed out.Reply from 172.1.1.2: bytes=32 time=125ms TTL=126Reply from 172.1.1.2: bytes=32 time=156ms TTL=126Reply from 172.1.1.2: bytes=32 time=156ms TTL=126Ping statistics for 172.1.1.2:Pa

15、ckets: Sent = 4, Received = 3, Lost = 1 (25% loss),Approximate round trip times in milli-seconds:Minimum = 125ms, Maximum = 156ms, Average = 145msPCPC4單臂路由交換機1SwitchenaSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan10A% Invalid input detected at a marker.

16、Switch(config)#vlan 10Switch(config-vlan)#vlan 20Switch(config-vlan)#exitSwitch(config)#int f0/2Switch(config-if)#swSwitch(config-if)#switchport aSwitch(config-if)#switchport access vlan 10Switch(config-if)#exitSwitch(config)#int f0/3Switch(config-if)#switchport access vlan 20Switch(config-if)#AZSwi

17、tch#%SYS-5-CONFIG_I: Configured from console by consoleSwitch#show vlanVLAN NameStatusPorts-1 defaultactiveFa0/1, Fa0/4, Fa0/5, Fa0/6Fa0/7, Fa0/8, Fa0/9, Fa0/10Fa0/11, Fa0/12, Fa0/13, Fa0/14Fa0/15, Fa0/16, Fa0/17, Fa0/18Fa0/19, Fa0/20, Fa0/21, Fa0/22Fa0/23, Fa0/2410 VLAN0010activeFa0/220 VLAN0020act

18、iveFa0/31002 fddi-defaultact/unsup1003 token-ring-defaultact/unsup1004 fddinet-defaultact/unsup1005 trnet-defaultact/unsupVLAN Type SAIDMTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans21 enet 1000011500 -0010 enet 1000101500 -0020 enet 1000201500 -001002 fddi 1010021500 -00Switch#Switch#conf tEn

19、ter configuration commands, one per line. End with CNTL/Z.Switch(config)#int f0/1Switch(config-if)#swSwitch(config-if)#switchport moSwitch(config-if)#switchport mode tSwitch(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINEPRO

20、TO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up交換機2SwitchenaSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 10Switch(config-vlan)#vlan 20Switch(config-vlan)#exitSwitch(config)#int f0/3Switch(config-if)#swSwitch(config-if)#swit

21、chport aSwitch(config-if)#switchport access vlan 10Switch(config-if)#exitSwitch(config)#int f0/4Switch(config-if)#swSwitch(config-if)#switchport aSwitch(config-if)#switchport access vlan 20Switch(config-if)#AZSwitch#%SYS-5-CONFIG_I: Configured from console by consoleSwitch#show vlanVLAN NameStatusPo

22、rts1defaultactiveFa0/1, Fa0/2, Fa0/5, Fa0/6Fa0/7, Fa0/8, Fa0/9, Fa0/10Fa0/11, Fa0/12, Fa0/13, Fa0/14Fa0/15, Fa0/16, Fa0/17, Fa0/18Fa0/19, Fa0/20, Fa0/21, Fa0/22Fa0/23, Fa0/2410VLAN0010activeFa0/320 VLAN00201002 fddi-defaultactive act/unsupFa0/4token-ring-defaultfddinet-defaulttrnet-defaultact/unsup

23、act/unsup act/unsupVLAN Type SAIDMTUParent RingNo BridgeNo StpBrdgMode Trans1 Trans21 enet-100001-1500 -0010 enet1000101500 -0020 enet1000201500 -001002 fddi1010021500 -00-More-%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet

24、0/2, changed state to upSwitch#Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up AZSwitch#

25、%SYS-5-CONFIG_I: Configured from console by consoleAZSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int f0/1Switch(config-if)#switchpor moSwitch(config-if)#switchpor mode tSwitch(config-if)#switchpor mode trunkSwitch(config-if)#exitSwitch(config)#int f0/2Swit

26、ch(config-if)#switchpor mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up路由器 1 outerRouterenaRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Ro

27、uter(config)#int f0/0.10Router(config-subif)#eRouter(config-subif)#edoRouter(config-subif)#eRouter(config-subif)#enRouter(config-subif)#encapsulation doRouter(config-subif)#encapsulation dotlQ 10Router(config-subif)#ip adRouter(config-subif)#ip address 192.168.1.1 255.255.255.0Router(config-subif)#e

28、xitRouter(config)#int f0/0.20Router(config-subif)#enRouter(config-subif)#encapsulation doRouter(config-subif)#encapsulation dot1Q 20Router(config-subif)#ip adRouter(config-subif)#ip address 192.168.2.1 255.255.255.0Router(config-subif)#exitRouter(config)#int f0/0Router(config-if)#no shRouter(config-

29、if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, chan

30、ged state to up%LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed state to up 路由器RouterenaRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0.10Router(config-subif)

31、#eRouter(config-subif)#edoRouter(config-subif)#eRouter(config-subif)#enRouter(config-subif)#encapsulation doRouter(config-subif)#encapsulation dot1Q 10Router(config-subif)#ip adRouter(config-subif)#ip address 192.168.1.1 255.255.255.0Router(config-subif)#exitRouter(config)#int f0/0.20Router(config-s

32、ubif)#enRouter(config-subif)#encapsulation doRouter(config-subif)#encapsulation dot1Q 20Router(config-subif)#ip adRouter(config-subif)#ip address 192.168.2.1 255.255.255.0Router(config-subif)#exitRouter(config)#int f0/0Router(config-if)#no shRouter(config-if)#no shutdown%LINK-5-CHANGED: Interface Fa

33、stEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, changed state to up%LINK-5-CHANGED: Interface Fa

34、stEthernet0/0.20, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed state to upPing實驗PC0:PCping 192.168.1.1Pinging 192.168.1.1 with 32 bytes of data:Request timed out.Request timed out.Reply from 192.168.1.1: bytes=32 time=218ms TTL=255Reply from 192.168.

35、1.1: bytes=32 time=79ms TTL=255Ping statistics for 192.168.1.1:Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),Approximate round trip times in milli-seconds:Minimum = 79ms, Maximum = 218ms, Average = 148msPCping 192.168.2.1Pinging 192.168.2.1 with 32 bytes of data:Reply from 192.168.2.1: bytes=

36、32 time=93ms TTL=255Reply from 192.168.2.1: bytes=32 time=94ms TTL=255Reply from 192.168.2.1: bytes=32 time=94ms TTL=255Reply from 192.168.2.1: bytes=32 time=94ms TTL=255Ping statistics for 192.168.2.1:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 93ms, Maximum = 94ms, Average = 93m

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論