路由與交換gns3完成實驗_第1頁
路由與交換gns3完成實驗_第2頁
路由與交換gns3完成實驗_第3頁
已閱讀5頁,還剩5頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、GNS3 完成接1.R1、R2、R3、R4、R5、口 GNS3 完成接1.R1、R2、R3、R4、R5、口 IP,確保直連接口可通R1#configEnterds,oneperEnd with R1(config-if)#ipadd192.168.1.1R1(config-if)#noEnterds,oneperEnd with R2(config-if)#noR2(config-if)#no shR3#configEnterds,oneperEndwith R3(config-if)#noR3(config-if)#no shEnterds,oneperEnterds,oneperEndwi

2、th R3(config-if)#noR3(config-if)#no shEnterds,oneperEndwith R4(config-if)#noR4(config-if)#no shEnterds,oneperEnd with R5(config-if)#noR5(config-if)#no shEnterds,oneperEnd with R6(config-if)#no sh2.MPLSBACKBONEIGP本實驗采用 ospf(一IS-erfaceipaddress10.1.1.2routerospferfacenetwork10.0.0.00.255.255.255areaer

3、faceipaddress10.1.1.3routerospf2.MPLSBACKBONEIGP本實驗采用 ospf(一IS-erfaceipaddress10.1.1.2routerospferfacenetwork10.0.0.00.255.255.255areaerfaceipaddress10.1.1.3routerospferfacenetwork10.0.0.00.255.255.255areaerfaceipaddress10.1.1.4routerospferfacenetwork10.0.0.00.255.255.255areaerfaceipaddress10.1.1.5r

4、outerospferfacenetwork10.0.0.00.255.255.255area否正常工R2#showiproute10.0.0.0/8isvariablysubnetted,7subnets,2OO10.1.1.3/32110/2via10.1.10.2,01:48:47,10.1.1.4/32110/3via10.1.10.2,01:48:47,O10.1.1.5/32110/4via10.1.10.2,01:48:47,10.1.30.0/24110/3via10.1.10.2,01:48:47,10.1.20.0/24110/2via10.1.10.2,01:48:47,

5、4.PE路由器(R2R5)ip/ mplslabelprotocolO10.1.1.5/32110/4via10.1.10.2,01:48:47,10.1.30.0/24110/3via10.1.10.2,01:48:47,10.1.20.0/24110/2via10.1.10.2,01:48:47,4.PE路由器(R2R5)ip/ mplslabelprotocolldp /mplsldprouter-idack0force /LSR的router-0/1 /為端口MPLSmplsipmplslabelprotocolmplsldprouter-idLo mpls ack05P(R3,R4)

6、ipmplslabelprotocolmplsldprouter-idack0!mpls ip !mpls ipipmplslabelprotocolmplsldprouter-id!ack0mpls ip !mpls iptag-switching6在任意一臺骨干路由器查看(轉,確正常工R2#show mpls forwarding-Local 00mpls ip !mpls iptag-switching6在任意一臺骨干路由器查看(轉,確正常工R2#show mpls forwarding-Local 0000NextPop tag Pop7PEBGP R2#showtcptcp179Lo

7、cal64FEB8A8 64E44B50 R2R5BGP#routerbgp64512/64512是私AS(64512-65535)R2(config- router)#neighbor 10.1.1.5 remote-as 64512R2(config-router)#neighbor10.1.1.5update-sourcelo R2(config-router)#no synchronizationR2(config-router)#noauo-ack R5(config)#routerbgpR5(config-router)#neighbor10.1.1.2remote-asR5(co

8、nfig-router)#neighbor10.1.1.2update-sourcelo R5(cconfig-router)#no synchronizationR5(config-router)#noauo-ack8確認BGP R2#SHOWIPBGpBGProuteridentifier10.1.1.2,localASnumberBGPtableis1,mainroutingtable1VASMsgRcvdTblVer InQOutQUp/Down 4 08確認BGP R2#SHOWIPBGpBGProuteridentifier10.1.1.2,localASnumberBGPtabl

9、eis1,mainroutingtable1VASMsgRcvdTblVer InQOutQUp/Down 4 0 CER2(config)#router bgp 64512 V4R2(config-router-af)#neighbor10.1.1.5activate / MP-BGP R2(config-router-af)#noauto-R5(config)#routerbgpR5(config-router-af)#neighbor10.1.1.2R5(config-router-af)#neighbor10.1.1.2 R5(config-router-af)#noauto-10.R

10、2R5MP-BGP發(fā)現(xiàn)現(xiàn)在并沒有相關路R2#showipv411.VRFRT ip _rdip_rdimport口的關聯(lián)vrf R2(config-if)#ipvrf_ erfaceF0/0IPaddress192.168.1.2removedduetoenablingVRF R2(config-if)#ip add 192.168.1.2 255.255.255.0 rdip_rdimport口的關聯(lián)vrf R2(config-if)#ipvrf_ erfaceF0/0IPaddress192.168.1.2removedduetoenablingVRF R2(config-if)#ip a

11、dd 192.168.1.2 255.255.255.0 _R5(config-if)#ipvrf_ erfaceF0/1IPaddress192.168.4.1removedduetoenablingR5(config-if)#ipadd192.168.4.1_13.vrfshowip14.PE CE MP-BGPRIP之間的路由重分發(fā)R2和R1,R5和R6router2redistribute snetworknetworknetworkiproute192.168.2.0255.255.255.0 iproute192.168.3.0255.255.255.0 routerrip2red

12、istribute snetworknetworknetworkiproute192.168.5.0255.255.255.0 iproutenetworkiproute192.168.2.0255.255.255.0 iproute192.168.3.0255.255.255.0 routerrip2redistribute snetworknetworknetworkiproute192.168.5.0255.255.255.0 iproute192.168.6.0255.255.255.0 R2(config)#routerR2(config-2R2(config-router)# ad

13、dress-family ipv4 _ipv4rip與vrf2R2(config-router-af)#redistribute bgp 64512 metric MP-BGP64512:100RT rip 中,transparent MED R2(config-router-af)#noauto-R5(config-2 _2 R5(config-router-af)#redistributebgp64512metrictransparent R5(config-router-af)#no auto-summaryR2(config)#routerbgpR2(config-router-af)

14、#redistribute rip R2(config-router-af)#no auto-summary R2(config-router-af)#nosynchronization_R5(config)#router bgp R5(config-router-af)#redistribute rip _R5(config-router-af)#no15.查_中的 R1R6 路由R1#showiprouteR192.168.4.0/24120/1via192.168.1.2,00:00:13,192.168.5.0/24120/2via192.168.1.2,00:00:13,192.16

15、8.6.0/24120/2viaR5(config-router-af)#no15.查_中的 R1R6 路由R1#showiprouteR192.168.4.0/24120/1via192.168.1.2,00:00:13,192.168.5.0/24120/2via192.168.1.2,00:00:13,192.168.6.0/24120/2via192.168.1.2,00:00:13,R6#showiprouteR192.168.1.0/24120/1via192.168.4.1,00:00:17,192.168.2.0/24120/2via192.168.4.1,00:00:17,192.168.3.0/24120/2via192.168.4.1,00:00:17,確認路由的有TypesequencetoSending5,100-byteICMPEchosto192.168.4.2,timeoutis2srateis100percent(5/5),round-t

溫馨提示

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

評論

0/150

提交評論