階段性項(xiàng)目:vlan、ospf、rip路由協(xié)議及重發(fā)布、nat轉(zhuǎn)換_第1頁
階段性項(xiàng)目:vlan、ospf、rip路由協(xié)議及重發(fā)布、nat轉(zhuǎn)換_第2頁
階段性項(xiàng)目:vlan、ospf、rip路由協(xié)議及重發(fā)布、nat轉(zhuǎn)換_第3頁
階段性項(xiàng)目:vlan、ospf、rip路由協(xié)議及重發(fā)布、nat轉(zhuǎn)換_第4頁
階段性項(xiàng)目:vlan、ospf、rip路由協(xié)議及重發(fā)布、nat轉(zhuǎn)換_第5頁
全文預(yù)覽已結(jié)束

下載本文檔

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

文檔簡介

1、階段性項(xiàng)目:vlan> ospf、rip路由協(xié)議及重發(fā)布、nat轉(zhuǎn)換主要內(nèi)容:1復(fù)習(xí)利用三層交換機(jī)實(shí)現(xiàn)不同vlan z間通信2復(fù)習(xí)路由器()實(shí)現(xiàn)ospf路由的配置3復(fù)習(xí)三層交換機(jī)實(shí)現(xiàn)rip路由的配置4鞏固ospf為rip路由協(xié)議重發(fā)布拓?fù)浣Y(jié)構(gòu):vlan 期zx pc-pt192.168 2.100/24做rif加f重發(fā)布 f0z0:192 168 12 2/24192.168.1.111/24pc-pt述0192 168.1.11/24server-pt024 攵*皿0)/1:192.168.1.1/2?°埶1老師講解主要知識(shí)點(diǎn),做山fd/2 fd/i2811 f0/0:192

2、.168.12.1/242811 砂"叫毗222 35 而ps 印川航劇帥於1multilayer switcho192 168 4 100/24演示有關(guān)操作主機(jī) 0: 192.168.1.111 服務(wù)器 0: 192.168.1.11主機(jī) 1: 192.168.2. kx)主機(jī) 2: 19268a100二設(shè)置好各電腦的ip 網(wǎng)關(guān);子網(wǎng)掩碼 255.255.255.0 網(wǎng)關(guān):192.168.1.1子網(wǎng)掩碼 255.255.255.0 網(wǎng)關(guān):192.168.1.1子網(wǎng)掩碼 255.255.255.0 網(wǎng)關(guān):192.16821了網(wǎng)掩碼 255.255.255.0 網(wǎng)關(guān):19216&

3、;4 三路山器與交換機(jī)有關(guān)配置:(重點(diǎn))1.對(duì)路山器0ip配置router>enroutcr#conf tenter configuration commands, one per line end with cntl/z.router(config)#int fo/1router(config-if)#ip address 192.168.1.1 255.255.255.0router(config-if)#no shutroutcr(config-if)#int f0/0router(config-if)#ip add 192.168.12.1 255.255.255.0router

4、(config-if)#no shut2 .對(duì)路由器ii p配置router>enrouter#conf tenter configuration commands, one per line. end with cntl7z.routcr(config)#int f0/0router(config-if)#ip address 192.168.12.2 255.255.255.0router(config-if)#no shutrouter(config-if)#int fo/1router(config-if)#ip add 192.16&2.222 255.255.255.

5、0routcr(config-if)#no shut3. 對(duì)三層交換機(jī)vian及ip配置:switch>switch>enswitch#conf tenter configuration commands, one per line end with cntl/z.switch(config)#vlan 10switch(config-vlan)#vlan 20switch(config-vlan)#int vlan 1()switch(config-if)#ip add 192.168.2.1 255.255.255.0switch(config-if)#no shutswitc

6、h(config-if)#int vlan 20switch(config-if)#ip address 192.168.4.1 255.255.255.0switch(config-if)#no shutswitch(config-if) #cxitswitch(config)#int range f0/l - 10switch(config-if-range)#switch access vlan 10switch(config-if-range)#exitswitch(config)#int range f()/l 1 24switch(config-if-rangc)#switch(c

7、onfig-if-range)#switchport access vlan 204. 對(duì)路由器0做ospf路由router(config) #ro uter ospf 100routcr(config-routcr)#nctwork 1926& 1.0 0.0.0.255 area 0router(config-router)#network 192.168.12.0 0.0.0.255 area 05. 對(duì)三級(jí)交換機(jī)做rip路由switch(config) #router ripswitch(config-routcr)#nctwork 192.16&2.0switch(c

8、onfig-router)#network 192.168.4.06. 在路由器1做ospf與rip重發(fā)布router>router>enrouter#conf tenter configuration commands, one per line. end with cntl/z. router(config) #routcr(config)#routcr riprouter(config-router)#network 192.16&2.0router(config-router)#edistibute ospf 100 metric 2router(config-ro

9、uter) #exitrouter(config) #ro uter ospf 100routcr(config-routcr)#nctwork 192.16&12.0 0.0.0.255 area 0 router(config-router) #erouter(config-router)#redistibute rip metric 15007 驗(yàn)證:路山器 0: show ip route路由器 1 : show ip route路由器1口回區(qū)i物理 配置 命令行ios命令接口行router>router>enrouter#show ip route codes:

10、c - connected s - staticz i - igrpz r 一 ripz m - mobilez b - bgpd - eigrpr ex - elgrp externalr 0 - ospf ia - ospf inter arean1 - ospf nssa external type 1 n2 - ospf nssa external type z el - ospf external type lz e2 - ospf external type 2, e - egp i - is-isr li - is-is level-1l2 - is-is level-2 ia

11、- is-is inter area* - candidate de faultz u - per-user static routeo - odrp - periodic downloaded static routegateway of last resort is not set0192.168丄.0/24 110/2 via 192丄68丄2丄夕 00:11:59 fastethernet0/0c192jl68z0/24 is directly connected, fast.et-hernet0/1r192丄68.4.0/24 120/1 via 192丄682丄夕 00:00:23

12、 fastethernet0/1c192.168.1.2.0/24 is directly connected fastet-hernet0/0router#v復(fù)制粘貼三層交換機(jī):show ip route8路由器0做nat動(dòng)態(tài)轉(zhuǎn)換:router(config)#ip nat pool lmx 192.16& 12.100 192.168.12.110 netmask 255.255.255.0router(config)#access-list 10 permit 192.168.1.0 0.0.0.255router(config)#ip nat inside source lis

13、t 1() pool lmx overloadroutcr(config)#int f0/lrouter(config-if)#ip nat insiderouter(config-if)#int f0/0router(config-if)#ip nat outside從主機(jī) 3 (192.168.4.100) ping 192.168.1.11 測(cè)試連通性驗(yàn)證:在路由器0查看mit轉(zhuǎn)換情況0 router#show ip nat trproinside globalinside localoutside localoutside globalicmp192.168.12.100:1192.168.1.1:1192.168.4.100:1192.168.4.100:1icmp192丄68.12丄00:3丄92.168丄11:3192.168.4丄00:3192丄68.4.100:3icmp192丄6812.100:4192丄68.1.11:4192.1684.

溫馨提示

  • 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ì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論