文档详情

Cisco双ISP线路路径优化备份冗余之-blog.chinaunix.doc

发布:2016-11-01约4.25千字共7页下载文档
文本预览下载声明
Cisco双ISP线路路径优化备份冗余之 单路由器解决方案 通过双ISP(如:一条电信、一条网通)链路可实现网络路径优化、负载均衡及备份冗余,以前本人一直认为Cisco不能实现单路由器双ISP链路的冗余备份,后经过多次测试,发现通过SLA(服务水平)+route-map完全可以实现,在这里愿意和大家一起分享。 网络拓朴: 实验任务: ????PC1/PC2到1.1.1.1流经ISP1,PC1/PC2到2..2.2.2流经ISP2 ????通过SLA+Route-map实现网络路径优化、负载分担、备份冗余 环境描述: ???? 3台Cisco3640 + NE-4E模块,该配置拥有4个Ethernet、2台PC ???? ISP1、ISP2分别模拟两个不同ISP(internet服务提供商) ???? ISP1 loopback1:1.1.1.1/24、ISP2 loopback1:2.2.2.2/24用来测试 ???? R1作为企业边界路由器e0/0、e0/1、分别连接ISP1、ISP2 地址分配: 设备名称 接口 IP地址 描述 R1 E0/0 192.168.0.1/24 TO ISP1 E0/1 192.168.1.1/24 TO ISP2 E0/2 192.168.20.1/24 TO PC1 E0/3 192.168.30.1/24 TO PC2 ISP1 E0/2 192.168.2.1/24 TO ISP2 E0/0 192.168.0.2/24 TO R1 ISP1 E0/2 192.168.2.2/24 TO ISP1 E0/1 192.168.1.2/24 TO R1 PC1 NIC 192.168.20.20/24 TO R1-E0/2 PC2 NIC 192.168.30.30/24 TO R1-E0/3 详细配置: 1、IP地址设置 ISP1 (config) #int e0/2 ISP1 (config-if) #ip add 192.168.2.1 255.255.255.0 ISP1config-if) #no shutdown ISP1(config)# int e0/0 ISP1 (config-if) #ip add 192.168.0.2 255.255.255.0 ISP1config-if) #no shutdown ISP1(config)# int lo1 ISP1 (config-if) #ip add 1.1.1.1 255.255.255.0 ISP1(onfig-if) #no shutdown …………………………………………………………………………. ISP2 (config) #int e0/2 ISP2 (config-if) #ip add 192.168.2.2 255.255.255.0 ISP2 (onfig-if) #no shutdown ISP2(config)# int e0/1 ISP2 (config-if) #ip add 192.168.1.2 255.255.255.0 ISP2config-if) #no shutdown ISP2(config)# int lo1 ISP2 (config-if) #ip add 2.2.2.2 255.255.255.0 ISP2 (config-if) #no shutdown …………………………………………………………………………… R1 (config) #int e0/0 R1 (config-if) #ip add 192.168.0.1 255.255.255.0 R1 (config-if) #no shutdown R1 (config)# int e0/1 R1 (config-if) #ip add 192.168.1.1 255.255.255.0 R1 (config-if) #no shutdown R1 (config)# int e0/2 R1 (config-if) #ip add 192.168.20.1 255.255.255.0 R1 (config-if) #no shutdown 2、定义相关ACL R1(config)#ip access-list extended all-net ……………………匹配所有 R1(config-ext-nacl)#permit ip any any R1(config)#access-list permit 1 192.168.0.2…………匹配ISP1 next-hop R1(co
显示全部
相似文档