路由器雙出口負載分擔并NAT及互為備份_第1頁
路由器雙出口負載分擔并NAT及互為備份_第2頁
路由器雙出口負載分擔并NAT及互為備份_第3頁
路由器雙出口負載分擔并NAT及互為備份_第4頁
路由器雙出口負載分擔并NAT及互為備份_第5頁
已閱讀5頁,還剩7頁未讀, 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、思科路由器雙WAN 口負載分擔并NAT及互為備份說明:客戶接入ISP1及ISP2,內(nèi)部有4個網(wǎng)段分別是:/24/24/240/24正常模式為 和 兩個網(wǎng)段優(yōu)先走 ISP1, 和 兩 個網(wǎng)段優(yōu)先走ISP2當IPS1線路中斷時(即使 R3接IPS1的接口是 UP) 和 兩個網(wǎng)段會自動轉(zhuǎn)到 ISP2, ISP2中斷時同亦。下面是拓撲圖,及各臺設備的配置文檔,在GNS3上模擬測試成功。(在網(wǎng)絡上一直是伸手黨,現(xiàn)在也分享下自己的經(jīng)驗,有不當之處還請指教,謝謝)分別在R1、R2均配置loopback 0 /32為測試對象,R3為邊界路由器,配置最多放在最 后R1R1#sh runBuilding conf

2、iguration.Current configuration : 761 bytes !version 12.4service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname R1 boot-start-markerboot-end-marker no aaa new-model !ip cefno ip domain lookup !interface Loopback0ip address 55 !interface Fa

3、stEthernet0/0ip address 48duplex auto speed auto!interface FastEthernet0/1no ip address shutdownduplex auto speed auto!ip route 48 !no ip http server no ip http secure-server!control-plane !gatekeeper shutdown! !line con 0exec-timeout 0 0logging synchronousstopbits 1line aux 0stopbits 1 line vty 0 4

4、endR2R2#sh runBuilding configuration.Current configuration : 761 bytes !version 12.4service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption!hostname R2!boot-start-markerboot-end-marker !no aaa new-model !ip cefno ip domain lookup !interface Loopback

5、。ip address 55 !interface FastEthernet0/0ip address 48duplex autospeed auto !interface FastEthernet0/1no ip addressshutdownduplex auto speed auto!ip route 48 no ip http server no ip http secure-server control-planegatekeeper shutdown!line con 0exec-timeout 0 0logging synchronousstopbits 1line aux 0s

6、topbits 1line vty 0 4 !endR4R4#SH RUNBuilding configuration.Current configuration : 755 bytes !version 12.4service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !hostname R4!boot-start-markerboot-end-marker!no aaa new-model ip cefno ip domain look

7、upinterface Loopback0ip address 0 !interface FastEthernet0/0ip address 0 duplex auto speed auto!interface FastEthernet0/1no ip addressshutdownduplex auto speed auto!ip route !no ip http serverno ip http secure-servercontrol-planegatekeeper shutdown!line con 0exec-timeout 0 0logging synchronousstopbi

8、ts 1line aux 0stopbits 1line vty 0 4!endR5R5#SH RUNBuilding configuration.Current configuration : 757 bytes !version 12.4service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !hostname R5!boot-start-markerboot-end-marker no aaa new-modelip cefno i

9、p domain lookup interface Loopback0ip address 0 !interface FastEthernet0/0ip address 0 duplex auto speed auto!interface FastEthernet0/1no ip addressshutdownduplex auto speed auto!ip route 54 !no ip http serverno ip http secure-servercontrol-planegatekeeper shutdown!line con 0exec-timeout 0 0logging

10、synchronousstopbits 1line aux 0stopbits 1line vty 0 4 !endR6R6#SH RUNBuilding configuration.Current configuration : 1548 bytes !version 12.4service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !hostname R6 boot-start-markerboot-end-markerno aaa n

11、ew-modelresource policy!memory-size iomem 5 ip cefno ip domain lookupinterface FastEthernet0/0 no ip address shutdown duplex auto speed auto!interface FastEthernet0/1 no ip address shutdown duplex auto speed auto!interface FastEthernet1/0 switchport mode trunk!interface FastEthernet1/1!interface Fas

12、tEthernet1/2!interface FastEthernet1/3 !interface FastEthernet1/4 switchport access vlan 10!interface FastEthernet1/5 switchport access vlan 20!interface FastEthernet1/6!interface FastEthernet1/7 !interface FastEthernet1/8 !interface FastEthernet1/9!interface FastEthernet1/10!interface FastEthernet1

13、/11!interface FastEthernet1/12 !interface FastEthernet1/13 !interface FastEthernet1/14 !interface FastEthernet1/15!interface Vlan1 no ip addressinterface Vlan10ip address 54 interface Vlan20ip address 54 !ip route ip route 0 ip route 0 !no ip http serverno ip http secure-server control-planeline con

14、 0 exec-timeout 0 0 logging synchronousline aux 0line vty 0 4 !webvpn context Default_context ssl authenticate verify all !no inservice!endR6#R3R3#SH RUNBuilding configuration.Current configuration : 2739 bytes !version 12.4service timestamps debug datetime msecservice timestamps log datetime msec n

15、o service password-encryption! hostname R3!boot-start-markerboot-end-marker !no aaa new-model !ip cef no ip domain lookup! !ip sla monitor 1type echo protocol ipIcmpEcho source-interface FastEthernet0/0 frequency 10ip sla monitor schedule 1 life forever start-time now ip sla monitor 2type echo proto

16、col ipIcmpEcho source-interface FastEthernet0/1 frequency 10ip sla monitor schedule 2 life forever start-time nowtrack 1 rtr 1 reachability track 2 rtr 2 reachability interface FastEthernet0/0ip address 48 ip nat outsideip virtual-reassembly duplex auto speed auto!interface FastEthernet0/1ip address

17、 48 ip nat outsideip virtual-reassembly duplex auto speed auto!interface FastEthernet1/0no ip address shutdownduplex auto speed auto!interface FastEthernet1/1no ip address shutdown duplex auto speed auto!interface FastEthernet2/0 no ip address duplex fullinterface FastEthernet2/0.10encapsulation dot

18、lQ 10ip address ip nat insideip virtual-reassemblyip policy route-map test!ip route ip route ip route 54ip route 54ip route 54 !no ip http serverno ip http secure-server !ip nat inside source route-map 1 interface FastEthernet0/0 overload ip nat inside source route-map 2 interface FastEthernet0/1 overload ip nat inside source route-map 3 interface FastEthernet0/1 overload ip nat inside source route-map 4 interface FastEthernet0/0 overload !access-list 10 permit 55access-list 10 permit 55access-list 20 permit 55access-list 20 permit 55

溫馨提示

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

評論

0/150

提交評論