下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
第5頁共5頁實訓(xùn)分解實驗1、VLAN及TRUNKSW1:vlan10!vlan20!intf0/2swmoacswacvl10!intf0/3swmoacswacvl20!intf0/1swtrendotswmotr====================2、靜態(tài)路由R1:hostnameR1!intf0/0ipadd10.1.1.1255.255.255.0nosh!intf0/1ipadd10.1.2.1255.255.255.0nosh!iproute10.1.4.0255.255.255.010.1.2.2R2hostnameR2!intf0/0ipadd10.1.2.2255.255.255.0nosh!intf0/1ipadd10.1.3.1255.255.255.0nosh!iproute10.1.1.0255.255.255.010.1.2.1iproute10.1.4.0255.255.255.010.1.3.2===================================R3hostnameR3!intf0/0ipadd10.1.3.2255.255.255.0nosh!intf0/1ipadd10.1.4.1255.255.255.0nosh!iproute10.1.1.0255.255.255.010.1.3.1======================3、ACL4、PPP驗證〔1〕PPP驗證之PAPhostnameR1!usernamexxxpassword0yyy!interfaceSerial0/0/0ipaddress10.1.1.1255.255.255.0encapsulationppppppauthenticationpapppppapsent-usernameabcpassword0xyzclockrate64000hostnameR2!usernameabcpassword0xyz!interfaceSerial0/0/0ipaddress10.1.1.2255.255.255.0encapsulationppppppauthenticationpapppppapsent-usernamexxxpassword0yyy〔2〕PPP驗證之CHAPhostnameR1!usernameR2password0cisco!interfaceSerial0/0/0ipaddress10.1.1.1255.255.255.0encapsulationppppppauthenticationchapclockrate64000==================================hostnameR2!usernameR1password0cisco!interfaceSerial0/0/0ipaddress10.1.1.2255.255.255.0encapsulationppppppauthenticationchap5、DHCPhostnameRouter!ipdhcpexcluded-address10.1.1.1!ipdhcppoolxxxwork10.1.1.0255.255.255.0default-router10.1.1.1dns-server218.2.135.1!interfaceFastEther0/0ipaddress10.1.1.1255.255.255.0========================================================================6、單臂路由需求:1、主機(jī)A在VLAN10內(nèi),ip地址為10.1.1.2/24,網(wǎng)關(guān)10.1.1.12、主機(jī)B在vlan20內(nèi),ip地址為10.1.2.2/24,網(wǎng)關(guān)10.1.2.13、在路由器R1上配置單臂路由,使主機(jī)A和主機(jī)B互相通信。路由器R1:hostnameR1!interfaceFastEther0/0noipaddressduplexautospeedauto!interfaceFastEther0/0.100encapsulationdot1Q10ipaddress10.1.1.1255.255.255.0!interfaceFastEther0/0.200encapsulationdot1Q20ipaddress10.1.2.1255.255.255.0=============================================交換機(jī)SW1hostnameSW1!!!interfaceFastEther0/1switchportmodetrunk!interfaceFastEther0/2switchportaccessvlan10switchportmodeaccess!interfaceFastEther0/3switchportaccessvlan20switchportmodeaccess!SW1#shvlanbVLANNameStatusPorts1defaultactiveFa0/4,Fa0/5,Fa0/6,Fa0/7Fa0/8,Fa0/9,Fa0/10,Fa0/11Fa0/12,Fa0/13,Fa0/14,Fa0/15Fa0/16,Fa0/17,Fa0/18,Fa0/19Fa0/20,Fa0/21,Fa0/22,Fa0/23Fa0/24,Gig1/1,Gig1/210VLAN0010activeFa0/220VLAN0020activeFa0/3主機(jī)A:主機(jī)B:NAT配置步驟:1、動態(tài)NAT〔1〕定義內(nèi)部地址access-list10permit10.1.1.00.0.0.255〔2〕定義外部地址ipnatpoolxxx61.1.1.161.1.1.254mask255.255.255.0〔3〕將內(nèi)部地址和外部地址關(guān)聯(lián)ipnatinsidesourcelist10poolxxx〔4〕定義內(nèi)部接口和外部接口router(config-if)#ipnatinsiderouter(config-if)#ipnatoutside2、端口地址翻譯〔PAT〕〔1〕定義內(nèi)部地址access-list10permit10.1.1.00.0.0.255〔2〕將內(nèi)部地址與外部接口關(guān)聯(lián)ipnatinsidesourcelist10interfaces0/0/0overload〔3〕定義內(nèi)部接口和外部接口router(config-if)#ipnatinsiderouter(config-if)#ipnatoutside
溫馨提示
- 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)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 美容美發(fā)店裝修工程合同
- 環(huán)保設(shè)備推廣
- 電子產(chǎn)品拆解垃圾運輸
- 智慧城市建設(shè)項目砂石供應(yīng)
- 老年公寓裝修材料訂購合同
- 跨境電商園區(qū)廢土清運協(xié)議
- 飾品市場墻面裝修合同
- 老年公寓裝修化合同
- 高鐵站裝修施工協(xié)議
- 藝術(shù)酒店改造工程合同范本
- 鋁合金門窗結(jié)算書
- 顱腦外傷(共61張PPT)
- 沙盤游戲咨詢師試題《高級》
- 水泵站運營維護(hù)方案
- 知識點裂項相消法市公開課金獎市賽課一等獎?wù)n件
- 生產(chǎn)交期獎罰制度
- 2022年消防產(chǎn)品監(jiān)督管理業(yè)務(wù)理論題庫及答案
- 古書院礦1.2Mt新井設(shè)計(機(jī)械CAD圖紙)
- 【精品主題班會】高一家長會課件(共37張PPT)
- 物資領(lǐng)用事宜的授權(quán)委托書
- 蘇教小學(xué)數(shù)學(xué)六年級上冊《解決問題的策略-假設(shè)》課件(校內(nèi)公開課)
評論
0/150
提交評論