用route-map实现双ISP接入
2010-05-25 00:00
375 查看
以下实验是从我前面发的实验中剥离出来的,希望对各位网友有所帮助 如拓扑所示,在实验室环境下,R5,R6,R7为CISCO2509路由器,和CISCO4000一起,一边模拟帧中继网络,一边用PPP chap认证,下面的局域网采用OSPF,均已配置成功,此来模拟两种不同的ISP接入,目前实验已经完成,成功的实现了线路冗余和负载均衡。 下面发下4000上的配置 r9#show run Building configuration... Current configuration : 1777 bytes ! version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname r9 ! ! username r7 password 0 123 ! ! ! ! ip subnet-zero ! ! ! ! ! ! interface Loopback0 ip address 9.9.9.9 255.255.255.0 ! interface Ethernet0 ip address 172.16.1.1 255.255.255.0 ip nat inside media-type 10BaseT ! interface Ethernet1 ip address 172.16.4.1 255.255.255.0 ip nat inside media-type 10BaseT ! interface Serial0 no ip address shutdown no fair-queue ! interface Serial1 ip address 172.16.2.1 255.255.255.0 ip nat outside encapsulation frame-relay ip policy route-map fuzai frame-relay map ip 172.16.2.2 100 broadcast frame-relay interface-dlci 100 ! interface Serial2 ip address 172.16.3.1 255.255.255.0 ip nat outside encapsulation ppp ip policy route-map fuzai shutdown ! interface Serial3 no ip address shutdown ! router ospf 1 log-adjacency-changes network 172.16.1.1 0.0.0.0 area 0 network 172.16.4.1 0.0.0.0 area 0 default-information originate ! ip nat inside source route-map isp1 interface Serial1 overload ip nat inside source route-map isp2 interface Serial2 overload ip classless ip route 0.0.0.0 0.0.0.0 172.16.3.2 ip route 0.0.0.0 0.0.0.0 172.16.2.2 no ip http server ! access-list 1 permit 192.168.3.0 0.0.0.255 access-list 1 permit 192.168.4.0 0.0.0.255 access-list 2 permit 192.168.3.0 access-list 3 permit 192.168.4.0 route-map isp2 permit 20 match ip address 1 ! route-map isp1 permit 20 match ip address 1 match interface Serial1 ! route-map fuzai permit 10 match ip address 2 set ip default next-hop 172.16.2.2 ! route-map fuzai permit 20 match ip address 3 set ip default next-hop 172.16.3.2 ! ! ! line con 0 logging synchronous line aux 0 line vty 0 4 ! end |
相关文章推荐
- ip route + ip rule实现双ISP接入网络配置
- 用ROUTE-MAP实现负载均衡
- ip route + ip rule实现双ISP接入网络配置
- Route map实现多ISP Internet接入工程实例
- CCNP sla,route-map结合应用实现负载均衡和冗余
- 用route map实现多ISP Internet接入工程实例
- route-map实现简单的策略路由+浮动静态路由的概念!
- 用route map实现多ISP Internet接入工程实例
- hsrp+route-map 解决多路由器多isp
- 用Route Map实现多ISP Internet接入不中断服务
- 利用Route-map+NAT技术实现双WAN分流及链路互备份
- 用route map实现多ISP Internet接入工程实例
- 用route map实现多ISP Internet接入工程实例
- IP SLA实现自动切换冗余链路,防止路由黑洞(多ISP接入常用)
- 用Route Map实现多ISP Internet接入问题请高手赐教
- 双ISP接入,实现负载负载均衡相互备份和策略路由
- javascript实现Java中的Map对象功能的实例详解
- js05---js实现Map
- C++中 vector、list、deque、set、map的底层实现
- JS 自定义对象实现Java中的Map对象功能