版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、網(wǎng)關(guān)冗余和負(fù)載均衡 VRRPR1R316-11利實(shí)驗(yàn)2拓扌卜圈、交換機(jī)SW1 (R6 )交換機(jī) SW2 (R4)配置R6>e nableR6#co nf tR6(co nfig)#host name SW1SW1 (con fig)#i nt faO/OSW1 (con fig-if)# no shutdow nSW1 (con fig-if)#exitSW1 (con fig)#i nt faO/1SW1 (con fig-if)# no shutdow nSW1 (con fig-if)#exitSW1 (con fig)#i nt fa0/2SW1 (con fig-if)# no
2、 shutdow nSW1 (con fig-if)#exitSW1#vla n databaseSW1 (vla n) #vla n 2VLAN 2 added:Name: VLAN0002SW1 (vlan )#exitSW1#co nf tSW1 (con fig)#i nt range faO/O - 2SW1 (config-if-range)#switchport access vlan 2SW1 (con fig-if-ra nge)#exitSW1 (con fig-if-ra nge)#exitSW1(config)#int vlan 2SW1(config-if)#no s
3、hutdownSW1(co nfig-if)#exitSW1#R4venab-eR4#conf fR4(COMg)#hosf SW2Sw2(config)#in二aoMSw2(confign#no shutdownSw2(confign#e><.fSw2(config)#inffo、oSw2(confign#no shutdownSw2(confign#e><.fSw2(config)#exifSw2#v-an databaseSw2(v_an)#v_an 2VLAN 2 added-Name VLAN0002Sw2(v_an)#exifSW2#conf fSw2(co
4、nfig)#inf range fao.o -1 sw2(configfAange)#swiohport access v-an 2Sw2(configfrange)#endSW2#M>”H>配置 PC1 ( R7 ) PC2 ( R5 )R7>e nableR7#co nf tR7(co nfig)#host PC1PC1(con fig)# no ip routi ngPC1(co nfig)#i nt e0/0PC1(config-if)#no shutdownPC1(co nfig-if)#exitPC1(co nfig)#exitPC1#R5>e nableR
5、5#co nf tR5(co nfig)#host PC2PC2 (config)#no ip routingPC2 (con fig)#i nt e0/0PC2 (con fig-if)# no shutdow nPC2 (con fig-if)#exit三、對(duì)路由器進(jìn)行基本配置R1#co nf tR1(co nfig)#i nt eO/OR1(c on fig-if)# no shutdow nR1(co nfig-if)#exitR1(co nfig)#i nt s1/0R1(c on fig-if)# no shutdow nR1(co nfig-if)#exitR1(co nfig)
6、#R2>e nableR2#co nf tR2(co nfig)#i nt s1/0R2(co nfig-if)#clock rate 128000R2(c on fig-if)# no shutdow nR2(co nfig-if)#exitR2(co nfig)# int s1/1R2(co nfig-if)#clock rate 128000R2(c on fig-if)# no shutdow nR2(co nfig-if)#exitR2(co nfig)#i nt e0/0R2(c on fig-if)# no shutdow nR2(co nfig-if)#exitR2(co
7、 nfig)#exitR2#R3>e nableR3#co nf tR3(co nfig)#i nt s1/0R3(c on fig-if)# no shutdow nR3(co nfig)#i nt e0/0R3(c on fig-if)# no shutdow nR3(co nfig-if)#exitR3(co nfig)#四、配置路由協(xié)議R1#co nf tR1(config)#router ripR1(c on fig-router)#passive-i nterface e0/0/把e0/0接口設(shè)為被接口,為了防止從該接口發(fā)送RIP信息給R3R1(c on fig-router
8、)#exitR1(co nfig)#exitR1#R2#co nf tR2(c on fig)#router ripR2(c on fig-router)#passive-i nterface e0/0R2(c on fig-router)#exitR2(co nfig)#exitR2#R3#co nf tR3(c on fig)#router ripR3(c on fig-router)#passive-i nterface e0/0R3(c on fig-router)#exitR3(co nfig)#exitR3#五、查看路由表R1#sh ip routeCodes: C - conn
9、ected, S - static, R - RIP , M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF, IA - OSPF in ter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia
10、 - IS-IS in ter area, * - can didate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not setC192.168.12.0/24 is directly conn ected, Serial1/0C192.168.13.0/24 is directly conn ected, Ethernet0/0R192.168.20.0/24 120/1 via 192.168.12.2, 00:00:2
11、8,Serial1/0R192.168.23.0/24 120/1 via 192.168.13.3, 00:01:12,Ethernet0/0120/1 via 192.168.12.2, 00:00:06, Serial1/0R1#前后對(duì)比R1#sh ip routeCodes: C - conn ected, S - static, R - RIP , M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF, IA - OSPF in ter area N1 - OSPF NSSA external type 1, N2
12、- OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS in ter area, * - can didate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not s
13、etC 192.168.12.0/24 is directly conn ected, Serial1/0C 192.168.13.0/24 is directly conn ected, Ethernet0/0R 192.168.20.0/24 120/1 via 192.168.12.2, 00:00:28, Serial1/0R 192.168.23.0/24 120/1 via 192.168.12.2, 00:00:02, Serial1/0R1#R2#sh ip route,M - mobile, B - BGPCodes: C - conn ected, S - static,
14、R - RIP D - EIGRP , EX - EIGRP external, O - OSPF, IA - OSPF in ter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS in ter area, * - can didate def
15、ault, U - per-user static route o - ODR, P - periodic dow nl oaded static routeGateway of last resort is not setC 192.168.12.0/24 is directly conn ected, Serial1/0R 192.168.13.0/24 120/1 via 192.168.23.3, 00:00:17, Serial1/1120/1 via 192.168.12.1,00:00:14, Serial1/0C192.168.20.0/24 is directly conn
16、ected, Ethernet0/0C192.168.23.0/24 is directly conn ected, Serial1/1R2#R3#sh ip routeCodes: C - conn ected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF, IA - OSPF in ter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1,
17、 E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS in ter area, * - can didate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not setR 192.168.12.0/24 120/1 via 192.168.23.2, 00:00:16,
18、Serial1/0C 192.168.13.0/24 is directly conn ected, Ethernet。/。R 192.168.20.0/24 120/1 via 192.168.23.2, 00:00:12, Serial1/0C 192.168.23.0/24 is directly conn ected, Serial1/0R3#五、測試Type escape seque nee to abort.Se nding 5, 100-byte ICMP Echos to 192.168.20.100, timeout is 2 seco nds:!Success rate i
19、s 100 perce nt (5/5), roun d-trip min/avg/max = 60/80/120 msR1#六、配置多個(gè)VRRP組R1#co nf tR1(config)#track 100 int s1/0 line-protocol/ 定義跟蹤目標(biāo)R1(co nfig-track)#exitR1(co nfig)#i nt e0/0R1(co nfig-if)#vrrp 1 priority 120R1(c on fig-if)#vrrp 1 preempt/命令不存在R1(config-if)#vrrp 1 authentication md5 key-string c
20、iscoR1(co nfig-if)#vrrp 1 track 100 decreme nt 30R1(c on fig-if)#vrrp 2 preemptR1(config-if)#vrrp 2 authentication md5 key-string ciscoR1(co nfig-if)#R3#co nf tR3(co nfig)#track 100 int s1/0 lin e-protocolR3(co nfig-track)#exitR3(co nfig)#i nt e0/0R3(c on fig-if)#vrrp 1 preemptR3(c on fig-if)#vrrp 1
21、 authe nticati on md5 key-stri ng ciscoR3(co nfig-if)#vrrp 2 R3(co nfig-if)#vrrp 2 priority 120R3(c on fig-if)#vrrp 2 preemptR3(c on fig-if)#vrrp 2 authe nticati on md5 key-stri ng ciscoR3(co nfig-if)#vrrp 3 track 100 decreme nt 30R3(co nfig-if)#exitR3(co nfig)#exitR3#七、查看VRRPR1#sh vrrp briefIn terfaceGrp Pri TimeOwn Pre StateMaster addrGroup addrEtO/O11203531Y MasterEt0/021003609Y BackupR1#R3#sh vrrp briefIn terfaceGrp Pri TimeOwn Pre StateMaster addrGroup addrEt0/011003609Y BackupEtO/OR
溫馨提示
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024-2025學(xué)年新教材高中政治第二單元人民當(dāng)家作主第五課第1課時(shí)人民代表大會(huì):我國的國家權(quán)力機(jī)關(guān)練習(xí)含解析部編版必修3
- 賣房后寫合同范例
- 低價(jià)銷售協(xié)議合同范例
- 家政定金合同模板
- 工程租房合同范例
- 房屋出售解除出租合同范例
- 一樓裝修合同模板
- 單位車輛團(tuán)購合同模板
- 打公司牌子合同范例
- 配電柜并柜停電方案
- 《民宿管家》課件-民宿管家之客戶溝通
- 小學(xué)生書法展覽活動(dòng)方案
- 中外政治思想史-形成性測試三-國開(HB)-參考資料
- 農(nóng)村夜校班國語試卷完整版
- 外國新聞傳播史 課件 第十八章 埃及的新聞傳播事業(yè)
- 四川航空介紹
- 從銷售到營銷的轉(zhuǎn)變與發(fā)展
- 機(jī)關(guān)食堂食品安全
- 工業(yè)自動(dòng)化中的自動(dòng)化軟件測試與系統(tǒng)驗(yàn)證研究
- 氨氮的測定講解
- 人防監(jiān)理旁站專項(xiàng)方案
評(píng)論
0/150
提交評(píng)論