實訓(xùn)分解實驗_第1頁
實訓(xùn)分解實驗_第2頁
實訓(xùn)分解實驗_第3頁
實訓(xùn)分解實驗_第4頁
實訓(xùn)分解實驗_第5頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(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)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論