




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、單臂路由實(shí)驗(yàn)1、要求 路由器2801,取名R1,顯示604以太口Fa0/1與交換機(jī)連(fa0/1)子結(jié)口Fa0/1.10與vlan 10 網(wǎng)關(guān):192.168.1.1子結(jié)口Fa0/1.20與vlan 20 網(wǎng)關(guān):192.168.2.1 交換機(jī)2950,取名2950,顯示switch0交換機(jī)(fa0/1) 與路由器以太口Fa0/1連;端口模式設(shè)置為trunk,允許所有vlan轉(zhuǎn)發(fā)fa0/2-3劃分到vlan 10 fa0/2接PC0 ;fa0/3接PC1fa0/4-5劃分到vlan 20 fa0/4接PC2 ;fa0/5接PC3fa0/2-5端口模式設(shè)置為access PC機(jī)PC0:IP:192
2、.168.1.2 網(wǎng)關(guān):192.168.1.1PC1:IP:192.168.1.3 網(wǎng)關(guān):192.168.1.1PC2:IP:192.168.2.4 網(wǎng)關(guān):192.168.2.1PC3:IP:192.168.2.5 網(wǎng)關(guān):192.168.2.12、拓?fù)鋱D3、交換機(jī)設(shè)置Switch>enable /用enable進(jìn)入特權(quán)命令模式Switch# /這種提示符表示是在特權(quán)命令模式。Switch#configure terminal /進(jìn)入全局配置模式Switch(config)#Switch(config)#hostname 2950 /給交換機(jī)命名2950(config)#vlan 10 /
3、 給交換機(jī)劃分vlan 102950(config-vlan)#name math /取名math2950(config-vlan)#exit2950(config)#vlan 20 / 給交換機(jī)劃分vlan 202950(config-vlan)#name chinese /取名chinese2950(config-vlan)#exit2950(config)#int range fa0/2 3 /在全局配置模式下,選擇端口fa0/2 3范圍2950(config-if-range)#switchport mode access /把選擇端口模式設(shè)置為access模式接終端2950(conf
4、ig-if-range)#switchport access vlan 10 /把選擇端口劃分到vlan 102950(config-if-range)#int range fa0/4 - 52950(config-if-range)#switchport access vlan 202950(config-if-range)#exit2950(config)#int fa0/1 /在全局配置模式下,選擇端口fa0/12950(config-if)#switchport mode trunk /把選擇端口模式設(shè)置為trunk串口上接路由器模式2950(config-if)# switchpor
5、t trunk allowed vlan all /允許所有vlan轉(zhuǎn)發(fā)2950(config-if)#no shut /啟動(dòng)2950(config-if)# 4、路由器設(shè)置Router>enable /用enable進(jìn)入特權(quán)命令模式Router#Router#conf t / configure terminal進(jìn)入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.Router(config)# hostname R1 /給路由器取名R1R1(config)#exitR1#conf t / configu
6、re terminal進(jìn)入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.R1(config)#int fa0/1.10 /選擇路由器fa0/1子接口vlan10 R1(config-subif)#encapsulation dot1q 10 /封裝R1(config-subif)#ip address 192.168.1.1 255.255.255.0/設(shè)置網(wǎng)關(guān)R1(config-subif)#int fa0/1.20 / /選擇路由器fa0/1子接口vlan20 R1(config-subif)#encap
7、sulation dot1q 20 / /封裝R1(config-subif)#ip address 192.168.2.1 255.255.255.0 / /設(shè)置網(wǎng)關(guān)R1(config-subif)#exitR1(config)#int fa0/1 / / 進(jìn)入端口fa0/1R1(config-if)#no shut / /啟動(dòng)%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/1.10, changed state to up%LINK
8、-5-CHANGED: Interface FastEthernet0/1.20, changed state to upR1(config-if)#5、PC機(jī)的設(shè)置PC0:IP:192.168.1.2 網(wǎng)關(guān):192.168.1.1PC1:IP:192.168.1.3 網(wǎng)關(guān):192.168.1.1PC2:IP:192.168.2.4 網(wǎng)關(guān):192.168.2.1PC3:IP:192.168.2.5 網(wǎng)關(guān):192.168.2.16、測(cè)試路由器網(wǎng)關(guān)測(cè)試PC>ping 192.168.1.1Pinging 192.168.1.1 with 32 bytes of data:Reply from
9、 192.168.1.1: bytes=32 time=125ms TTL=255Reply from 192.168.1.1: bytes=32 time=63ms TTL=255Reply from 192.168.1.1: bytes=32 time=63ms TTL=255Reply from 192.168.1.1: bytes=32 time=63ms TTL=255Ping statistics for 192.168.1.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip t
10、imes in milli-seconds: Minimum = 63ms, Maximum = 125ms, Average = 78msPC>ping 192.168.2.1Pinging 192.168.2.1 with 32 bytes of data:Reply from 192.168.2.1: bytes=32 time=62ms TTL=255Reply from 192.168.2.1: bytes=32 time=62ms TTL=255Reply from 192.168.2.1: bytes=32 time=49ms TTL=255Reply from 192.1
11、68.2.1: bytes=32 time=33ms 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 = 33ms, Maximum = 62ms, Average = 51msPC>PC0測(cè)試PC>ping 192.168.1.3Pinging 192.168.1.3 with 32 bytes of data:Reply from 19
12、2.168.1.3: bytes=32 time=109ms TTL=128Reply from 192.168.1.3: bytes=32 time=62ms TTL=128Reply from 192.168.1.3: bytes=32 time=63ms TTL=128Reply from 192.168.1.3: bytes=32 time=63ms TTL=128Ping statistics for 192.168.1.3: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip time
13、s in milli-seconds: Minimum = 62ms, Maximum = 109ms, Average = 74msPC>ping 192.168.2.4Pinging 192.168.2.4 with 32 bytes of data:Request timed out.Reply from 192.168.2.4: bytes=32 time=125ms TTL=127Reply from 192.168.2.4: bytes=32 time=94ms TTL=127Reply from 192.168.2.4: bytes=32 time=125ms TTL=12
14、7Ping statistics for 192.168.2.4: Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),Approximate round trip times in milli-seconds: Minimum = 94ms, Maximum = 125ms, Average = 114msPC>ping 192.168.2.4Pinging 192.168.2.4 with 32 bytes of data:Reply from 192.168.2.4: bytes=32 time=98ms TTL=127Repl
15、y from 192.168.2.4: bytes=32 time=110ms TTL=127Reply from 192.168.2.4: bytes=32 time=125ms TTL=127Reply from 192.168.2.4: bytes=32 time=109ms TTL=127Ping statistics for 192.168.2.4: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 98ms, Max
16、imum = 125ms, Average = 110msPC>ping 192.168.2.5Pinging 192.168.2.5 with 32 bytes of data:Reply from 192.168.2.5: bytes=32 time=109ms TTL=127Reply from 192.168.2.5: bytes=32 time=125ms TTL=127Reply from 192.168.2.5: bytes=32 time=125ms TTL=127Reply from 192.168.2.5: bytes=32 time=110ms TTL=127Pin
17、g statistics for 192.168.2.5: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 109ms, Maximum = 125ms, Average = 117msPC1測(cè)試PC>PC>ping 192.168.1.2Pinging 192.168.1.2 with 32 bytes of data:Reply from 192.168.1.2: bytes=32 time=63ms TTL=
18、128Reply from 192.168.1.2: bytes=32 time=62ms TTL=128Reply from 192.168.1.2: bytes=32 time=63ms TTL=128Reply from 192.168.1.2: bytes=32 time=47ms TTL=128Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 47ms,
19、 Maximum = 63ms, Average = 58msPC>ping 192.168.2.4Pinging 192.168.2.4 with 32 bytes of data:Reply from 192.168.2.4: bytes=32 time=125ms TTL=127Reply from 192.168.2.4: bytes=32 time=125ms TTL=127Reply from 192.168.2.4: bytes=32 time=125ms TTL=127Reply from 192.168.2.4: bytes=32 time=81ms TTL=127Pi
20、ng statistics for 192.168.2.4: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 81ms, Maximum = 125ms, Average = 114msPC>ping 192.168.2.5Pinging 192.168.2.5 with 32 bytes of data:Reply from 192.168.2.5: bytes=32 time=125ms TTL=127Reply f
21、rom 192.168.2.5: bytes=32 time=111ms TTL=127Reply from 192.168.2.5: bytes=32 time=111ms TTL=127Reply from 192.168.2.5: bytes=32 time=141ms TTL=127Ping statistics for 192.168.2.5: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 111ms, Maxim
22、um = 141ms, Average = 122msPC2測(cè)試PC>PC>ping 192.168.1.2Pinging 192.168.1.2 with 32 bytes of data:Reply from 192.168.1.2: bytes=32 time=111ms TTL=127Reply from 192.168.1.2: bytes=32 time=125ms TTL=127Reply from 192.168.1.2: bytes=32 time=95ms TTL=127Reply from 192.168.1.2: bytes=32 time=109ms TT
23、L=127Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 95ms, Maximum = 125ms, Average = 110msPC>ping 192.168.1.3Pinging 192.168.1.3 with 32 bytes of data:Reply from 192.168.1.3: bytes=32 time=110ms TTL=127
24、Reply from 192.168.1.3: bytes=32 time=112ms TTL=127Reply from 192.168.1.3: bytes=32 time=67ms TTL=127Reply from 192.168.1.3: bytes=32 time=125ms TTL=127Ping statistics for 192.168.1.3: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 67ms,
25、Maximum = 125ms, Average = 103msPC>ping 192.168.2.5Pinging 192.168.2.5 with 32 bytes of data:Reply from 192.168.2.5: bytes=32 time=109ms TTL=128Reply from 192.168.2.5: bytes=32 time=49ms TTL=128Reply from 192.168.2.5: bytes=32 time=63ms TTL=128Reply from 192.168.2.5: bytes=32 time=33ms TTL=128Pin
26、g statistics for 192.168.2.5: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 33ms, Maximum = 109ms, Average = 63msPC3測(cè)試PC>PC>ping 192.168.1.2Pinging 192.168.1.2 with 32 bytes of data:Reply from 192.168.1.2: bytes=32 time=94ms TTL=12
27、7Reply from 192.168.1.2: bytes=32 time=97ms TTL=127Reply from 192.168.1.2: bytes=32 time=125ms TTL=127Reply from 192.168.1.2: bytes=32 time=125ms TTL=127Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 94ms, Maximum = 125ms, Average =
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 化妝品經(jīng)銷商合同
- 數(shù)據(jù)分析與決策支持實(shí)戰(zhàn)指南
- 裝修階段雨季施工方案
- 基礎(chǔ)鋼模板施工方案
- 全玻自由門施工方案
- 扶溝聚氨酯地坪施工方案
- TCSHB 0022-2024 全自動(dòng)真空焊接爐過程質(zhì)量管理規(guī)范
- 上海2025各區(qū)初三議論文閱讀題選
- 景點(diǎn)礦山修復(fù)工程施工方案
- 新中式巖板背景墻施工方案
- 二級(jí)精神病醫(yī)院評(píng)審標(biāo)準(zhǔn)實(shí)施細(xì)則
- 機(jī)電總工崗位職責(zé)
- 數(shù)據(jù)管理(培訓(xùn)課件)
- 梅毒病人產(chǎn)后護(hù)理查房
- 唇腺活檢的疾病查房課件
- 專業(yè)培訓(xùn)金蝶k3wise供應(yīng)鏈系統(tǒng)培訓(xùn)
- ICD-9-CM-3手術(shù)與操作國家臨床版亞目表
- 智能工廠物流系統(tǒng)規(guī)劃
- 家長會(huì)課件:六年級(jí)數(shù)學(xué)家長會(huì)老師課件
- 汽車電氣設(shè)備檢測(cè)與維修中職全套教學(xué)課件
- Hadoop技術(shù)之大數(shù)據(jù)概念介紹課件
評(píng)論
0/150
提交評(píng)論