資源描述:
《路由器雙出口負(fù)載分擔(dān)并NAT及互為備份》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、思科路由器雙WAN口負(fù)載分擔(dān)并NAT及互為備份說(shuō)明:客戶接入ISP1及ISP2,內(nèi)部有4個(gè)網(wǎng)段分別是:192.168.10.0/24192.168.20.0/2410.10.10.0/2420.20.20.20/24正常模式為192.168.10.0和10.10.10.0兩個(gè)網(wǎng)段優(yōu)先走ISP1,192.168.20.0和202.20.20.0兩個(gè)網(wǎng)段優(yōu)先走ISP2。當(dāng)IPS1線路中斷時(shí)(即使R3接IPS1的接口是UP)192.168.10.0和10.10.10.0兩個(gè)網(wǎng)段會(huì)自動(dòng)轉(zhuǎn)到ISP2,ISP2中斷時(shí)同亦。下面是拓?fù)鋱D,及各臺(tái)設(shè)備的配置文檔,在GNS3上模擬測(cè)試成功。(
2、在網(wǎng)絡(luò)上一直是伸手黨,現(xiàn)在也分享下自己的經(jīng)驗(yàn),有不當(dāng)之處還請(qǐng)指教,謝謝)分別在R1、R2均配置loopback01.1.1.1/32為測(cè)試對(duì)象,R3為邊界路由器,配置最多放在最后R1R1#shrunBuildingconfiguration...Currentconfiguration:761bytes!version12.4servicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnameR1!boot-start-markerboo
3、t-end-marker!!noaaanew-model!!ipcefnoipdomainlookup!!interfaceLoopback0ipaddress1.1.1.1255.255.255.255!interfaceFastEthernet0/0ipaddress11.11.11.3255.255.255.248duplexautospeedauto!interfaceFastEthernet0/1noipaddressshutdownduplexautospeedauto!iproute11.11.11.0255.255.255.24811.11.11.1!noi
4、phttpservernoiphttpsecure-server!control-plane!gatekeepershutdown!!linecon0exec-timeout00loggingsynchronousstopbits1lineaux0stopbits1linevty04!endR2R2#shrunBuildingconfiguration...Currentconfiguration:761bytes!version12.4servicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnos
5、ervicepassword-encryption!hostnameR2!boot-start-markerboot-end-marker!!noaaanew-model!!ipcefnoipdomainlookup!!interfaceLoopback0ipaddress1.1.1.1255.255.255.255!interfaceFastEthernet0/0ipaddress22.22.22.3255.255.255.248duplexautospeedauto!interfaceFastEthernet0/1noipaddressshutdownduplexaut
6、ospeedauto!iproute22.22.22.0255.255.255.24822.22.22.1!noiphttpservernoiphttpsecure-servercontrol-plane!gatekeepershutdown!!linecon0exec-timeout00loggingsynchronousstopbits1lineaux0stopbits1linevty04!endR4R4#SHRUNBuildingconfiguration...Currentconfiguration:755bytes!version12.4servicetimest
7、ampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnameR4!boot-start-markerboot-end-marker!!noaaanew-model!!ipcefnoipdomainlookup!!!!!!!!!!!!!!!!!!!!!!!interfaceLoopback0ipaddress10.10.10.10255.255.255.0!interfaceFastEthernet