工大瑞普的CCNA實驗手冊_第1頁
工大瑞普的CCNA實驗手冊_第2頁
工大瑞普的CCNA實驗手冊_第3頁
工大瑞普的CCNA實驗手冊_第4頁
工大瑞普的CCNA實驗手冊_第5頁
已閱讀5頁,還剩48頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、.CCNA實驗匯總 Jason_Zou整理以下實驗均使用Dynamips模擬器設(shè)計,Packet.Tracer模擬器有些實驗無法完全模擬。一 路由器的基本操作實驗拓撲:用到R1、R2和R31. 實驗要求:(1) 最基本配置:10.1.1.0/24u 重命名路由器分別為:R1、R2和R310.2.2.0/24u 關(guān)閉域名查找(解釋)u 設(shè)置輸入同步u 設(shè)置執(zhí)行會話時間為20分鐘(2) 設(shè)置路由器的時區(qū)、日期和時鐘(3) 設(shè)置路由器接口的IP地址(4) 設(shè)置路由器的描述信息u 設(shè)置登陸描述信息u 設(shè)置接口描述信息(5) 設(shè)置密碼u 設(shè)置訪問路由器的端口(AUX、Console和VTY密碼)u 使用

2、明文方式對特權(quán)模式進行加密設(shè)置u 使用service password-encryption命令把明文密碼隱藏起來u 使用MD5算法對特權(quán)模式進行加密設(shè)置u 實現(xiàn)對直連的路由器進行telnet訪問設(shè)置(6) 創(chuàng)建靜態(tài)hostname表,然后使用該表對直連的路由器進行telnet訪問設(shè)置2. 實驗步驟:(1) 使用show version查看路由器IOS版本、IOS映像文件、存儲器大小、接口類型及配置登記值等相關(guān)信息,可以使我們對設(shè)備有初步的了解Routershow versionR1:Routerenable /進入特權(quán)模式Router#configure terminal /進入全局配置模式

3、Router(config)#hostname r1 /重命名為r1r1(config)#no ip domain-lookback /關(guān)閉域名查找r1(config)#line console 0 /進入線路配置模式r1(config-line)#exec-timeout 20 00 /設(shè)置會話時間為20分鐘r1(config-line)#logging synchronous /設(shè)置輸入同步r1(config-line)#endR2:RouterenRouter#conf tRouter(config)#ho r2r2(config)#no ip domain-loo /新版本ISO命令為

4、no ip domain lookupr2(config)#line con 0r2(config-line)#logg sr2(config-line)#exec-timeout 20 00r2(config-line)#endR3:RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#ho r3r3(config)#no ip domain-loor3(config)#line con 0r3(config-line)#logg sr3(config-l

5、ine)#exec-timeout 20 00r3(config-line)#end(2) 設(shè)置路由器的時區(qū)、日期和時鐘R1:r1#show clock /查看時區(qū)、日期和時鐘*17:28:05.643 UTC Tue Oct 21 2008r1#conf tr1(config)#clock timezone Beijing +8 /設(shè)置時區(qū)r1(config)#endr1#clock set 17:28:48 Oct 21 2008 /設(shè)置時鐘和日期r1#show clock17:28:52.403 Beijing Tue Oct 21 2008R2和R3同上(3) 設(shè)置路由器接口的IP地址

6、R1:r1#conf tr1(config)#int fa0/0 /進入接口r1(config-if)#ip address 10.1.1.1 255.255.255.0 /配置IP地址r1(config-if)#no shutdown /激活該接口r1(config-if)#endr1#show running-config interface fastethernet 0/0 /查看該接口當前運行的所有信息r1#show interfaces fastethernet 0/0 /查看該接口的完整信息r1#show ip interface brief /查看接口狀態(tài)的摘要信息R2:r2#c

7、onf tr2(config)#int fa 0/0r2(config-if)#ip add 10.1.1.2 255.255.255.0r2(config-if)#no shr2(config-if)#exitr2(config)#intr2(config)#int s1/1r2(config-if)#ip add 10.2.2.2 255.255.255.0r2(config-if)#clock rate 64000 /設(shè)置DCE時鐘頻率r2(config-if)#no shr2(config-if)#endr2#show running-conf int fa0/0r2#show int

8、 fa0/0r2#show int s1/1r2#show ip int br2#ping 10.1.1.1 /測試連通性R3:r3#conf tr3(config)#int s1/0r3(config-if)#ip add 10.2.2.3 255.255.255.0r3(config-if)#no shr3(config-if)#endr3#show running-conf int s1/0r3#show int s1/0r3#how ip int br3#ping 10.2.2.2R2:(測試連通性)r2#ping 10.1.1.1r2#ping 10.2.2.3(4) 設(shè)置路由器的描

9、述信息R1:r1#conf tr1(config)#banner motd# /設(shè)置登陸描述信息Welcome to Guangzh CCNA club # /輸入描述內(nèi)容后以#結(jié)束r1(config)#int fa0/0r1(config-if)#description link to Beijing CCNA club /description后面內(nèi)容為接口描述信息r1(config-if)#no shr1(config-if)#endr1#exitR2:r2#conf tr2(config)#banner motd #Welcome to Beijing CCNA club #r2(co

10、nfig)#int fa0/0r2(config-if)#desc link to Guangzhou CCNA clubr2(config-if)#no shr2(config-if)#exitr2(config)#int s1/1r2(config-if)#desc link to Shanghai CCNA clubr2(config-if)#no shr2(config)#endR3:r3#conf tr3(config)#banner motd#Welcome to Shanghai CCNA club#r3(config)#int s1/0r3(config-if)#desc li

11、nk to Beijing CCNA clubr3(config-if)#no shr3(config-if)#end(5) 設(shè)置密碼R1:r1#conf tr1(config)#line aux 0 /設(shè)置aux 0的密碼r1(config-line)#password cisco /密碼為ciscor1(config-line)#login /設(shè)置登陸提示密碼r1(config-line)#exitr1(config)#line con 0 /設(shè)置console的密碼r1(config-line)#password ciscor1(config-line)#loginr1(config-l

12、ine)#exitr1(config)#line vty 0 4 /設(shè)置vty的密碼r1(config-line)#password ciscor1(config-line)#loginr1(config-line)#exitr1(config)#enable password cisco /設(shè)置特權(quán)模式密碼(明文方式)r1(config)#service password-encryption /對所有明文密碼進行加密r1(config)#enable secret cisco 使用MD5算法對特權(quán)模式進行加密r1(config)#exitr1#show running-config /查看

13、所配置的密碼顯示R2和R3配置同上R2:r2#telnet 10.1.1.1 /從r2向r1發(fā)起telnetTrying 10.1.1.1 . OpenPassword: /密碼不會顯示出來,輸完后直接按回車r1enablePassword: /同上r1#show running-config fa0/0 /已經(jīng)顯示登陸到r1其他同上。滿足telnet的最低3個條件:1 必須確保telnet與被telnet設(shè)備能夠通信;2 必須配置vty密碼;3 必須配置enable密碼(6) 創(chuàng)建靜態(tài)hostname表,然后使用該表對直連的路由器進行telnet訪問設(shè)置R1:r1#conf tr1(conf

14、ig)#ip host Beijing 10.1.1.2r1(config)#endR2:r2#conf tr2(config)#ip host Guangzhou 10.1.1.1r2(config)#ip host Shanghai 10.2.2.3r2(config)#endR3:r3#conf tr3(config)#ip host Beijing 10.2.2.2r3(config)#end分別運行show host命令可以查看到各自的hostname表測試:r1#telnet Beijing /r1 telnet r2Trying Beijing (10.1.1.2). OpenP

15、assword: r2enPassword:r2#r2#telnet Guangzhou /r2 telnet r1Trying Guangzhou (10.1.1.1). OpenPassword: r1enPassword: r1#r2#telnet Shanghai /r2 telnet r3Trying Shanghai (10.2.2.3). OpenPassword: r3enPassword: r3#r3#telnet Beijing /r3 telnet r2Trying Beijing (10.2.2.2). OpenPassword: r2enPassword: r2#二

16、交換機的基本配置1. 實驗拓撲:用到SW1和SW22. 實驗要求(1) 最基本要求u 分別重命名兩臺交換機為:sw1和sw2u 關(guān)閉域名查找(解釋)u 設(shè)置輸入同步u 設(shè)置執(zhí)行會話時間為20分30秒(2) 設(shè)置交換機的時區(qū)、日期和時鐘(3) 設(shè)置交換機的接口u 把fa1/7接口設(shè)置為:速率10M;半雙工模式;access模式u 把fa1/8接口設(shè)置為:速率100M;全雙工模式;access模式;portfastu 把fa1/1和fa1/2接口設(shè)置為:速率100M;全雙工模式;trunk模式;trunk封裝dot1q(4) 配置靜態(tài)MAC地址u 在sw1上把MAC地址:0010.65c9.256

17、8與0012.2b30.1234分別以靜態(tài)方式分配給接口fa1/9和fa1/10u 在sw2上把MAC地址:1111.1111.1111與2222.2222.2222分別以靜態(tài)方式分配給接口fa1/9和fa1/10(5) 設(shè)置交換機管理vlan IP地址和默認網(wǎng)關(guān)(6) 設(shè)置交換機的描述信息u 設(shè)置登陸描述信息u 設(shè)置fa1/1和fa1/2接口的描述信息(7) 設(shè)置密碼u 設(shè)置訪問配置交換機的端口(Console和VTY)密碼u 使用service password-encryption命令把明文密碼隱藏起來u 使用MD5算法對特權(quán)模式進行加密設(shè)置u 實現(xiàn)對同一網(wǎng)段的交換機進行telnet訪問

18、設(shè)置(8) 創(chuàng)建靜態(tài)hostname表,然后使用該表對直連的交換機進行telnet訪問設(shè)置3. 實驗步驟(1) 基本要求SW1:Routershow versionRouterenableRouter#configure terminalRouter(config)#hostname sw1sw1(config)#no ip domain-lookupsw1(config)#line console 0sw1(config-line)#logging synchronous sw1(config-line)#exec-timeout 20 30sw1(config-line)#endSW2:R

19、outershow versionRouterenRouter#conf tRouter(config)#ho sw2sw2(config)#no ip domain-loosw2(config)#line con 0sw2(config-line)#logg ssw2(config-line)#exec-ti 20 30sw2(config-line)#end(2) 設(shè)置交換機的時區(qū)、日期和時鐘SW1:sw1#show clock*00:05:58.767 UTC Fri Mar 1 2002sw1#conf tsw1(config)#clock timezone Beijing +8sw1

20、(config)#exitsw1#clock set 8:22:50 oct 22 2008sw1#show clock08:22:53.815 Beijing Wed Oct 22 2008SW2設(shè)置同上(3) 設(shè)置交換機的接口SW1:Sw1#show interfaces status /查看交換機所有接口默認狀態(tài)信息sw1#conf tsw1(config)#int fa1/7 /進入fa1/7接口sw1(config-if)#speed 10 /設(shè)置速度為10M;speed ?可查看可選參數(shù)sw1(config-if)#duplex half /設(shè)置為半雙工模式;duplex ?可查看

21、可選參數(shù) sw1(config-if)#switchport mode access /設(shè)置為訪問模式;switchport mode ?查看參數(shù)sw1(config-if)#no shutdownsw1(config-if)#exitsw1(config)#int fa1/8 /進入fa1/8sw1(config-if)#speed 100 /設(shè)置速度為100Msw1(config-if)#duplex full /設(shè)置為全雙工模式sw1(config-if)#switchport mode access /設(shè)置為訪問模式sw1(config-if)#spanning-tree portfa

22、st /設(shè)置接口為portfast模式(前提端口為訪問模式)sw1(config-if)#no shsw1(config-if)#exitsw1(config)#int range fa1/1 , fa1/2 /同時配置fa1/1和fa1/2接口sw1(config-if-range)#speed 100sw1(config-if-range)#duplex fullsw1(config-if-range)#switchport mode trunk /封裝trunk模式sw1(config-if-range)#switchport trunk encapsulation dot1q /tru

23、nk封裝dot1qsw1(config-if-range)#no shsw1(config-if-range)#end檢查命令(每配置完一個接口檢查一次):sw1#show running-config interface fa1/7 /查看接口當前運行的配置sw1#show interfaces fa1/7 /查看接口的完整信息sw1#show interfaces statussw1#show interfaces fa1/1 switchport sw1#show interfaces trunksw1#show vlan brief /實驗時未能使用改命令sw1#show ip int

24、erface brief /查看所有接口狀態(tài)的概要信息SW2的配置同上(4) 配置靜態(tài)MAC地址SW1:sw1#conf tsw1(config)#mac-address-table static 0010.65c9.2568 interface fa1/9 vlan 1sw1(config)#mac-address-table static 0012.2b30.1234 interface fa1/10 vlan 1sw1(config)#interface range fa1/9 , fa1/10sw1(config-if-range)#no shsw1(config-if-range)#

25、endsw1#show mac-address-table /查看MAC地址表中所有MAC地址sw1#show mac-address-table static /查看靜態(tài)MAC地址表sw1#show mac-address-table dynamic /查看動態(tài)MAC地址表sw1#show mac-address-table interface fa1/1 /查看指定接口的MAC地址SW2:sw2#conf tsw2(config)#mac-address-table static 1111.1111.1111 int fa1/9 vlan 1sw2(config)#mac-address-

26、table static 2222.2222.2222 int fa1/10 vlan 1sw2(config)#int ran fa1/9 , fa1/10sw2(config-if-range)#no shsw2(config-if-range)#end(5) 設(shè)置交換機管理vlan IP和默認網(wǎng)關(guān)SW1:sw1#conf tsw1(config)#interface vlan 1sw1(config-if)#ip add 10.1.1.1 255.255.255.0sw1(config-if)#no shsw1(config-if)#exitsw1(config)#ip default-

27、gateway 10.1.1.254sw1(config)#endsw1#show int vlan 1sw1#show ip int vlan 1sw1#show ip default-gatewaySW2:sw2#conf tsw2(config)#int vlan 1sw2(config-if)#ip add 10.1.1.2 255.255.255.0sw2(config-if)#no shsw2(config-if)#exitsw2(config)#ip default-ga 10.1.1.254sw2(config)#endsw2#ping 10.1.1.1(6) 設(shè)置交換機的描述

28、信息SW1:sw1(config)#banner motd # Enter TEXT message. End with the character m. /輸入完文本后以m結(jié)束,有的以#結(jié)束This is CCNA club sw1 m /文本內(nèi)容sw1(config)#int range fa1/1 , fa1/2sw1(config-if-range)#desc link to office switchsw1(config-if-range)#no shsw1(config-if-range)#endSW2配置同上(7) 設(shè)置密碼sw1#conf tsw1(config)#line c

29、on 0sw1(config-line)#pass ciscosw1(config-line)#loginsw1(config-line)#exitsw1(config)#line vty ? /查看vty接口數(shù) First Line numbersw1(config)#line vty 0 4sw1(config-line)#pass ciscosw1(config-line)#loginsw1(config-line)#exitsw1(config)#service password-encryptionsw1(config)#enable secret ciscosw1(config)#

30、endSW2配置同上sw2#telnet 10.1.1.1 /從r2 telnet r1Trying 10.1.1.1 . OpenUser Access VerificationPassword: sw1enPassword: sw1#(8) 創(chuàng)建靜態(tài)hostname表,然后用該表對直連的交換機進行telnet訪問設(shè)置SW1:sw1#conf tsw1(config)#ip host sw2 10.1.1.2 /鄰居的hostname和IP地址sw1(config)#endSW2:sw1#conf tsw1(config)#ip host sw1 10.1.1.1sw1(config)#en

31、dsw2#telnet sw1Trying sw1 (10.1.1.1). Openord #This is CCNA club sw1 User Access VerificationPassword: sw1enPassword: sw1# /telnet成功三 配置簡單CDP1. 實驗拓撲:用到R1、R2、R3和Frame-Relay2. 實驗要求(1) 基本配置(2) 在每臺設(shè)備上把物理接口激活,在連接到幀中繼網(wǎng)絡(luò)的接口需要手工打開CDP功能,在點對點連接路由器上需要配置DCE時鐘頻率(3) 使用show cdp neighbors命令查看直連設(shè)備的名稱3. 實驗步驟(1) 基本配置R

32、1:RouterenRouter#conf tRouter(config)#ho r1r1(config)#no ip domain-loor1(config)#line con 0r1(config-line)#logg sr1(config-line)#endR2和R3配置同上(2) R1:r1#conf tr1(config)#int s1/2r1(config-if)#encapsulation frame-relay /封裝幀中繼r1(config-if)#cdp enable /CDP默認打開,但連接到幀中繼接口時是關(guān)閉的r1(config-if)#no shr1(config-i

33、f)#endR2:r2#conf tr2(config)#int s1/2r2(config-if)#encap frame-relayr2(config-if)#cdp en r2(config-if)#no shr2(config-if)#exitr2(config)#int s1/1r2(config-if)#clock rate 64000 /設(shè)置DCE時鐘頻率r2(config-if)#no sh r2(config-if)#endr2#show controllers s1/1 /查看DCE類型R3:r3#conf tr3(config)#int s1/0r3(config-if)

34、#no shr3(config-if)#end(3) 使用show cdp neighbors命令查看直連的設(shè)備名稱R1:r1#show cdp neighborsr1#show cdp neighbors detail /查看鄰居的詳細信息R2和R3同上四 交換機的配置1. 實驗拓撲:用到R1、R4、SW1和SW22. 實驗要求(1) 完成最基本的幾步配置:將交換機命名為sw1和sw2,路由器命名為r1和r2;關(guān)閉域名查找;設(shè)置輸入同步(2) 設(shè)置r1和r2路由器的接口IP地址分別為:192.168.1.1/24和192.168.1.2/24。使用相應(yīng)的命令把r2路由器變成PC機使用,然后給

35、這臺PC機配置默認網(wǎng)關(guān)(3) 設(shè)置交換機的管理IP分別為:192.168.1.254/24和192.168.1.253/24;默認網(wǎng)關(guān)都指向r1路由器(4) 把sw1的fa011、fa0/11和fa0/12及sw2的fa0/11和fa0/12端口分別設(shè)置為trunk模式、封裝802.1Q,然后使用ping命令測試連通性(5) 劃分vlan和靜態(tài)地把端口劃分到vlan中1) 使用兩種方法劃分vlanu 在全局設(shè)置模式下劃分vlan:在sw1上創(chuàng)建3個vlan:vlan 2、vlan 3和vlan 4,名稱可任意u 進入vlan database劃分vlan:在sw2上創(chuàng)建1個vlan,為vlan

36、 100,名稱可任意2) 按下面的要求把端口靜態(tài)地劃分到vlan中u 把sw1上的fa0/5端口劃分到vlan 2里面u 把sw1上的fa0/6-fa0/10連續(xù)的端口同時劃分到vlan 3里面u 把sw1上的fa0/13、fa0/15、fa0/17和fa0/18端口同時劃分到vlan 4里面(6) 配置VTP(1) 把sw1設(shè)置為:VTP模式、域名cisco、密碼cisco(2) 在sw2上實現(xiàn)不能創(chuàng)建vlan,但可以學習到sw1的vlan信息(7) 端口安全的配置Sw1上的fa0/2是管理員的專用端口,要求除了管理員外其他所有用戶都不能使用該端口(8) 刪除vlan信息(1) 在sw1上刪

37、除vlan信息(2) 在sw1上刪除所有vlan信息3. 實驗步驟(1) 基本配置R1:RouterenRouter#conf tRouter(config)#ho r1r1(config)#no ip domain-loor1(config)#line con 0r1(config-line)#logg sr1(config-line)#exitr1(config)#exitR2、SW1和SW2配置同上(2) R1:r1#conf tr1(config)#int e0r1(config-if)#ip add 192.168.1.1 255.255.255.0r1(config-if)#no

38、shr1(config-if)#endR2:r2#conf tr2(config)#int e0/0r2(config-if)#ip add 192.168.1.2 255.255.255.0r2(config-if)#no shr2(config-if)#exitr2(config)#no ip routingr2(config)#ip default-gateway 192.168.1.1r2(config)#end(3) 設(shè)置交換機的管理IP和默認網(wǎng)關(guān)SW1:sw1#conf tsw1(config)#int vlan 1sw1(config-if)#ip add 192.168.1.2

39、54 255.255.255.0sw1(config-if)#no shsw1(config-if)#exitsw1(config)#ip default-gateway 192.168.1.1sw1(config)#endSW2:sw2#conf tsw2(config)#int vlan 1sw2(config-if)#ip add 192.168.1.253 255.255.255.0sw2(config-if)#no shsw2(config-if)#exitsw2(config)#ip default-gateway 192.168.1.1sw2(config)#end(4) 把端口

40、設(shè)置為trunk模式、封裝802.1Q,然后使用ping命令測試連通性SW1:sw1#conf tsw1(config)#int range fa0/1 , fa0/11 , fa0/12sw1(config-if-range)#switchport mode trunksw1(config-if-range)#no shsw1(config-if-range)#end /2950交換機默認802.1Q,不支持手動封裝SW2:sw2#conf tsw2(config)#int fa0/11sw2(config-if)#switchport trunk encapsulation dot1qsw

41、2(config-if)#switchport mode trunksw2(config-if)#no shsw2(config-if)#exitsw2(config)#int fa0/12sw2(config-if)#switchport trunk encapsulation dot1qsw2(config-if)#switchport mode trunksw2(config-if)#no sh sw2(config)#endsw2#ping 192.168.1.254sw2#ping 192.168.1.1(5) 劃分vlan和靜態(tài)地把端口劃分到vlan中SW1:sw1#conf ts

42、w1(config)#vlan 2sw1(config-vlan)#name ciscosw1(config-vlan)#exitsw1(config)#vlan 3sw1(config-vlan)#name cisco2sw1(config-vlan)#exitsw1(config)#vlan 4sw1(config-vlan)#name cisco3 sw1(config-vlan)#endsw1#show vlan brief /查看vlan信息SW2:sw2#vlan databasesw2(vlan)#vlan 100 name cisco /可同時創(chuàng)建及命名VLAN 100 add

43、ed: Name: ciscosw2(vlan)#apply /應(yīng)用改vlan,可打exit退出忽略次命令A(yù)PPLY completed.sw2(vlan)#exitAPPLY completed.Exiting.sw2#show vlan briefSW1:sw1#conf tsw1(config)#int fa0/5sw1(config-if)#switchport mode accesssw1(config-if)#switchport access vlan 2sw1(config-if)#exitsw1(config)#int range fa0/6 10 /把連續(xù)的端口同時劃分到v

44、lan 3sw1(config-if-range)#switchport mode accesssw1(config-if-range)#switchport access vlan 3sw1(config-if-range)#exitsw1(config)#int range fa0/13 , fa0/15 , fa0/17 , fa0/18 /把指定端口同時劃分到vlan 4sw1(config-if-range)#switchport mode accesssw1(config-if-range)#switchport access vlan 4sw1(config-if-range)#

45、endsw1#show vlan brief(6) 配置VTPSW1:sw1#conf tsw1(config)#vtp mode serversw1(config)#vtp domain ciscosw1(config)#vtp password ciscosw1(config)#endsw1#show vtp statusSW2:sw2#vlan databasesw2(vlan)#vtp clientsw2(vlan)#vtp domain ciscosw2(vlan)#vtp password ciscosw2(vlan)#exitsw2#show vtp statussw2#show

46、 vlan brief(7) 端口的安全配置SW1:sw1#show mac-address-tablesw1#conf tsw1(config)#int fa0/4sw1(config-if)#switchport mode access /設(shè)為訪問模式sw1(config-if)#switchport port-security /開啟端口安全模式sw1(config-if)#switchport port-security maximum 1 /允許綁定最大MAC地址數(shù)sw1(config-if)#switchport port-security mac-address 0004.9aa

47、4.9bc0 /綁定MAC地址sw1(config-if)#switchport port-security violation shutdown /違規(guī)處理sw1(config-if)#no shsw1(config-if)#end測試:r2#ping 192.168.1.254 /成功,用r1取代r2將ping不通(8) 刪除vlan信息SW1:sw1#conf tsw1(config)#int range fa0/11 , fa0/12 sw1(config-if-range)#shutdownsw1(config-if-range)#exitsw1(config)#no vlan 2s

48、w1(config)#endsw1#copy running-config startup-config /必須保存Destination filename startup-config? Building configuration.OKsw1#delete vlan.datDelete filename vlan.dat? /回車Delete flash:vlan.dat? confirm /回車sw1#reload注意:此實驗在虛擬機下無法完成,遠程實驗成功通過。五 靜態(tài)路由1. 實驗拓撲:用到R1、R2和R310.3.3.0/24Loopback 0172.16.1.0/2410.1.

49、1.0/24Loopback 0192.168.1.0/242. 實驗要求(1) 路由器的基本配置:分別給路由器命名為r1、r2和r3;關(guān)閉域名查找;設(shè)置輸入同步;設(shè)置路由器接口IP地址(2) 根據(jù)拓撲圖劃分出4個網(wǎng)段,要求配置靜態(tài)路由以達到所有路由器都能夠互相通信。在r3路由器上去往172.16.1.0和10.1.1.0目標網(wǎng)絡(luò)的下一跳管理距離(AD)為0;其余路由器上去往不同的目標網(wǎng)絡(luò)的下一跳管理距離全部為1(3) 實現(xiàn)在r1上telnet到r3進行訪問配置(4) 把r1上的路由配置刪除,然后使用第二種方法配置路由功能,使之能夠與其他網(wǎng)絡(luò)相互通信3. 實驗步驟(1) 路由器的基本配置:R1:RouterenRouter#conf tRouter(config)#ho r1r1(config)#no ip domain-loor1(config)#line con 0r1(config-line)#logg sr1(config-line)#exitr1(config)#int loo0r1(config-if)#ip add 10.1

溫馨提示

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

評論

0/150

提交評論