欢迎来到天天文库
浏览记录
ID:46828580
大小:48.50 KB
页数:16页
时间:2019-11-28
《路由器双出口负载分担并NAT及互为备份》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、思科路由器双WAN口负载分担并NAT及互为备份说明:客户接入ISP1及ISP2,内部有4个网段分别是: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两个网段优先走ISP1,192.168.20.0和202.20.20.0两个网段优先走ISP2。当IPS1线路中断时(即使R3接IPS1的接口是UP)192.168.10.0和10.10.10.0两个网段会自动转到ISP2,ISP2中断时同亦。下面是拓扑图,及各台设备的配置文档,在GNS3上模拟测试成功。(
2、在网络上一直是伸手党,现在也分享下自己的经验,有不当之处还请指教,谢谢)分别在R1、R2均配置loopback01.1.1.1/32为测试对象,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
此文档下载收益归作者所有