教案——路由器靜態(tài)路由練習(xí)_第1頁
教案——路由器靜態(tài)路由練習(xí)_第2頁
教案——路由器靜態(tài)路由練習(xí)_第3頁
教案——路由器靜態(tài)路由練習(xí)_第4頁
教案——路由器靜態(tài)路由練習(xí)_第5頁
已閱讀5頁,還剩7頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

1、精選優(yōu)質(zhì)文檔-傾情為你奉上教案課程名稱 網(wǎng)絡(luò)設(shè)備 授課年級 高一 學(xué)校 電子職校 教師姓名 李萱章節(jié)名稱路由器靜態(tài)路由練習(xí)計(jì)劃學(xué)時(shí)4課時(shí)教學(xué)目標(biāo)1、 了解路由的基本概念。2、 了解路由表的作用。3、 掌握靜態(tài)路由的配置命令。設(shè)計(jì)思路通過模擬構(gòu)建的工作場景,使學(xué)生能夠以工作過程的形式進(jìn)行學(xué)習(xí)。教學(xué)環(huán)節(jié)教學(xué)內(nèi)容、所用時(shí)間、教師活動(dòng)、學(xué)生活動(dòng)引入新課通過前一次課的學(xué)習(xí),我們初步掌握了靜態(tài)路由在網(wǎng)絡(luò)中的應(yīng)用,今天通過幾個(gè)實(shí)驗(yàn)來進(jìn)行鞏固。新課教學(xué)【實(shí)驗(yàn)一】 路由器靜態(tài)路由實(shí)驗(yàn)一1.1 實(shí)驗(yàn)設(shè)備1、用戶自定義2621XM路由器3臺 2、PC機(jī)4臺 3、直通線、交叉線若干 1.2 組網(wǎng)圖1.3 實(shí)驗(yàn)設(shè)備IP

2、地址及要求 IP地址表:設(shè)備名IP地址子網(wǎng)掩碼PC1192.168.1.2255.255.255.0RT1-F0/0192.168.1.1255.255.255.0RT1-F0/1192.168.2.1255.255.255.0PC2192.168.2.2255.255.255.0RT1-F1/01.1.1.1255.255.255.0RT1-F1/11.1.2.1255.255.255.0RT2-F1/11.1.2.1255.255.255.0RT2-F0/0192.168.3.1255.255.255.0PC3192.168.3.2255.255.255.0RT3-F1/01.1.1.22

3、55.255.255.0RT3-F0/0192.168.4.1255.255.255.0PC4192.168.4.2255.255.255.0 根據(jù)所給IP地址表,完成各個(gè)設(shè)備接口的IP設(shè)置,通過使用靜態(tài)路由的方式,使任意兩臺電腦之間能PING通。1.4配置過程,請補(bǔ)充完整第一步:配置路由器RT1的接口地址Router>enaRouter#Router#confRouter(config)#hostname RT1RT1(config)#interface fastEthernet 0/0RT1(config-if)#ip address 192.168.1.1 255.255.255.

4、0RT1(config-if)#no shutdownRT1(config-if)#exitRT1(config)#interface fastEthernet 0/1RT1(config-if)#ip address 192.168.2.1 255.255.255.0RT1(config-if)#no shutdownRT1(config-if)#exitRT1(config)#interface fastEthernet 1/0RT1(config-if)#ip address 1.1.1.1 255.255.255.0RT1(config-if)#no shutdownRT1(confi

5、g-if)#exitRT1(config)#interface fastEthernet 1/1RT1(config-if)#ip address 1.1.2.1 255.255.255.0RT1(config-if)#no shutdownRT1(config-if)#exit第二步:配置路由器RT2的接口地址Router>enaRouter#Router#confRouter(config)#hostname RT2RT2(config)#interface fastEthernet 0/0RT2(config-if)#ip address 192.168.3.1 255.255.2

6、55.0RT2(config-if)#no shutdownRT2(config-if)#exitRT2(config)#interface fastEthernet 1/1RT2(config-if)#ip address 1.1.2.2 255.255.255.0RT2(config-if)#no shutdownRT2(config-if)#exit第三步:配置路由器RT3的接口地址Router>enaRouter#Router#confRouter(config)#hostname RT3RT3(config)#interface fastEthernet 0/0RT3(conf

7、ig-if)#ip address 192.168.4.1 255.255.255.0RT3(config-if)#no shutdownRT3(config-if)#exitRT3(config)#interface fastEthernet 1/0RT3(config-if)#ip address 1.1.1.2 255.255.255.0RT3(config-if)#no shutdownRT3(config-if)#exit第四步:驗(yàn)證此時(shí)的網(wǎng)絡(luò)連通數(shù)據(jù)出發(fā)地IP目的地IPPING命令結(jié)果(通或不通)PC1PC3PC1PC4PC2PC3PC2PC4PC3PC4第五步:在RT1上配置到達(dá)

8、非直連網(wǎng)段的路由RT1(config-if)#ip route 192.168.4.0 255.255.255.0 1.1.1.2RT1(config-if)#ip route 192.168.3.0 255.255.255.0 1.1.2.2第六步:在RT2上配置到達(dá)非直連網(wǎng)段的路由RT2(config-if)#ip route 192.168.1.0 255.255.255.0 1.1.2.1RT2(config-if)#ip route 192.168.2.0 255.255.255.0 1.1.2.1RT2(config-if)#ip route 192.168.4.0 255.255

9、.255.0 1.1.2.1RT2(config-if)#ip route 1.1.1.0 255.255.255.0 1.1.2.1第七步:在RT3上配置到達(dá)非直連網(wǎng)段的路由RT2(config-if)#ip route 192.168.1.0 255.255.255.0 1.1.1.1RT2(config-if)#ip route 192.168.2.0 255.255.255.0 1.1.1.1RT2(config-if)#ip route 192.168.3.0 255.255.255.0 1.1.1.1RT2(config-if)#ip route 1.1.2.0 255.255.2

10、55.0 1.1.2.1第八步:查看RT1上的路由表RT1#sho ip routeCodes: C - connected, S - static, I - IGRP, 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, E - E

11、GP i - IS-IS, 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 routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 2 subnetsC 1.1.1.0 is directly connected, FastEthernet1/0C 1.1.2.0 is d

12、irectly connected, FastEthernet1/1C 192.168.1.0/24 is directly connected, FastEthernet0/0C 192.168.2.0/24 is directly connected, FastEthernet0/1S 192.168.3.0/24 1/0 via 1.1.2.2S 192.168.4.0/24 1/0 via 1.1.1.2第九步:查看RT2上的路由表RT2#sho ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobi

13、le, 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, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U -

14、per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 2 subnetsS 1.1.1.0 1/0 via 1.1.2.1C 1.1.2.0 is directly connected, FastEthernet1/1S 192.168.1.0/24 1/0 via 1.1.2.1S 192.168.2.0/24 1/0 via 1.1.2.1C 192.168.3.0/24 is directly

15、 connected, FastEthernet0/0S 192.168.4.0/24 1/0 via 1.1.2.1第十步:查看RT3上的路由表RT3#sho ip route Codes: C - connected, S - static, I - IGRP, 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 e

16、xternal type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, 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 routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 2 subnetsC 1.1.1.0 is d

17、irectly connected, FastEthernet1/0S 1.1.2.0 1/0 via 1.1.1.1S 192.168.1.0/24 1/0 via 1.1.1.1S 192.168.2.0/24 1/0 via 1.1.1.1S 192.168.3.0/24 1/0 via 1.1.1.1C 192.168.4.0/24 is directly connected, FastEthernet0/01.5 完整的配置文檔略16 實(shí)驗(yàn)驗(yàn)證與結(jié)論數(shù)據(jù)出發(fā)地IP目的地IPPING命令結(jié)果(通或不通)PC1PC3PC1PC4PC2PC3PC2PC4PC3PC4結(jié)論:在RT1上需要設(shè)置

18、到 (網(wǎng)段)的靜態(tài)路由;在RT2上需要設(shè)置到 (網(wǎng)段)的靜態(tài)路由。在RT3上需要設(shè)置到 (網(wǎng)段)的靜態(tài)路由。PC1到PC4之間利用Tracerert可以測得經(jīng)歷了 個(gè)節(jié)點(diǎn)。【實(shí)驗(yàn)二】 三層交換機(jī)上不同VLAN 之間的通訊2.1實(shí)驗(yàn)設(shè)備1、3560交換機(jī)一臺 2、PC機(jī)3臺 3、直通線若干 2.2組網(wǎng)圖2.3 實(shí)驗(yàn)設(shè)備IP地址及要求 IP地址表:設(shè)備名端口IP地址子網(wǎng)掩碼SW1 VLAN 10F0/1192.168.10.1255.255.255.0SW1 VLAN 20F0/2192.168.20.1255.255.255.0SW1 VLAN 30F0/3192.168.30.1255.255

19、.255.0SW1 VLAN 40F0/4192.168.40.1255.255.255.0PC1192.168.10.2255.255.255.0PC2192.168.20.2255.255.255.0PC3192.168.30.2255.255.255.0PC4192.168.40.2255.255.255.0 根據(jù)所給IP地址表,完成各個(gè)設(shè)備接口的IP設(shè)置。 2.4配置過程,請補(bǔ)充完整第一步:劃分VLAN,添加相應(yīng)端口Switch>enaSwitch#Switch#conf Switch(config)#hostname SW1SW1(config)#interface f0/1S

20、W1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 10SW1(config-if)#exitSW1(config)#interface f0/2SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 20SW1(config-if)#exitSW1(config)#interface f0/3SW1(config-if)#switchport mode access SW1(config-if)#sw

21、itchport access vlan 30SW1(config-if)#exitSW1(config)#interface f0/4SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 40SW1(config-if)#exit第二步:驗(yàn)證連通性數(shù)據(jù)出發(fā)地IP目的地IPPING命令結(jié)果(通或不通)PC1PC2PC1PC3PC1PC4PC2PC3PC2PC4PC3PC4第三步:添加VLAN的虛擬接口地址SW1(config)#interface vlan 10SW1(config-if)#ip

22、address 192.168.10.1 255.255.255.0SW1(config-if)#exitSW1(config)#interface vlan 20SW1(config-if)#ip address 192.168.20.1 255.255.255.0SW1(config-if)#exitSW1(config)#interface vlan 30SW1(config-if)#ip address 192.168.30.1 255.255.255.0SW1(config-if)#exitSW1(config)#interface vlan 40SW1(config-if)#ip

23、address 192.168.40.1 255.255.255.0SW1(config-if)#exit2.5 完整的配置文檔略26 實(shí)驗(yàn)驗(yàn)證與結(jié)論數(shù)據(jù)出發(fā)地IP目的地IPPING命令結(jié)果(通或不通)PC1PC2PC1PC3PC1PC4PC2PC3PC2PC4PC3PC4結(jié)論:在三層交換機(jī)上,通過設(shè)置VLAN的虛擬接口地址,不同VLAN之間可以互相PING通【實(shí)驗(yàn)三】 三層交換機(jī)與路由器連接之間的靜態(tài)路由3.1實(shí)驗(yàn)設(shè)備1、3560交換機(jī)一臺 2、用戶自定義2621XM路由器3臺3、PC機(jī)3臺 4、直通線、交叉線若干 3.2組網(wǎng)圖3.3 實(shí)驗(yàn)設(shè)備IP地址及要求 IP地址表:設(shè)備名端口IP地址子網(wǎng)掩碼SW1 VLAN 10F0/1192

溫馨提示

  • 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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論