免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4288 | 回复: 6
打印 上一主题 下一主题

CISCO多ISP接入配置范例 [复制链接]

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-17 23:18 |只看该作者 |倒序浏览
应某要求做了次测试。

多ISP接入的出口流量优化+NAT地址池配置+路由TRACK联动+内网部分奇/偶数子网分流

Current configuration : 2608 bytes
!
version 12.4
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname C-3640
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
!
!
ip cef
no ip domain lookup
!
!         
ip sla monitor 1
type echo protocol ipIcmpEcho 10.0.0.1 source-interface Ethernet0/0
ip sla monitor schedule 1 life forever start-time now
ip sla monitor 2
type echo protocol ipIcmpEcho 10.0.1.1 source-interface Ethernet0/1
ip sla monitor schedule 2 life forever start-time now
!
!
!
!
!
!
!
!
!
!
!
!
fax interface-type fax-mail
!
!
!
!         
track 1 rtr 1
!
track 2 rtr 2
!
!
!
!
!
interface Ethernet0/0
ip address 10.0.0.2 255.255.255.252
ip nat outside
ip virtual-reassembly
half-duplex
!
interface Ethernet0/1
ip address 10.0.1.2 255.255.255.252
ip nat outside
ip virtual-reassembly
half-duplex
!
interface Ethernet0/2
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip policy route-map in
half-duplex
!
interface Ethernet0/3
no ip address
half-duplex
!
interface Serial1/0
no ip address
encapsulation ppp
serial restart-delay 0
!
interface Serial1/1
no ip address
encapsulation ppp
serial restart-delay 0
!
interface Serial1/2
no ip address
encapsulation ppp
serial restart-delay 0
!         
interface Serial1/3
no ip address
encapsulation ppp
serial restart-delay 0
!
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 10.0.0.1 5 track 1
ip route 0.0.0.0 0.0.0.0 10.0.1.1 10 track 2
ip route 100.100.100.100 255.255.255.255 10.0.0.1
ip route 192.168.0.0 255.255.0.0 192.168.0.2
ip route 200.200.200.200 255.255.255.255 10.0.1.1
!
!
ip nat pool out1 10.0.0.4 10.0.0.7 netmask 255.255.255.252
ip nat pool out2 10.0.1.4 10.0.1.7 netmask 255.255.255.252
ip nat inside source route-map out1 pool out1
ip nat inside source route-map out2 pool out2
!
access-list 1 permit 192.168.0.0 0.0.255.255
access-list 10 permit 192.168.0.0 0.0.254.255
access-list 11 permit 192.168.1.0 0.0.254.255
!         
route-map in permit 10
match ip address 10
set ip next-hop verify-availability 10.0.0.1 1 track 1
set ip next-hop 10.0.0.1
!
route-map in permit 20
match ip address 11
set ip next-hop verify-availability 10.0.1.1 1 track 2
set ip next-hop 10.0.1.1
!
route-map out2 permit 10
match ip address 1
match interface Ethernet0/1
!
route-map out1 permit 10
match ip address 1
match interface Ethernet0/0
!
!
!
control-plane
!
!         
!
!
!
!
!
dial-peer cor custom
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
privilege level 15
no login
!
!
end

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2009-11-18 08:24 |只看该作者
学习了

论坛徽章:
0
3 [报告]
发表于 2009-11-18 09:10 |只看该作者
认真看看

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
4 [报告]
发表于 2009-11-18 13:47 |只看该作者
匹配出接口。

论坛徽章:
0
5 [报告]
发表于 2011-12-23 19:46 |只看该作者
ip route 100.100.100.100 255.255.255.255 10.0.0.1

ip route 200.200.200.200 255.255.255.255 10.0.1.1

这两句后面好像少了track

ip route 100.100.100.100 255.255.255.255 10.0.0.1 track 1

ip route 200.200.200.200 255.255.255.255 10.0.1.1 track 2



论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
6 [报告]
发表于 2011-12-23 22:17 |只看该作者
呵呵。补上吧。

论坛徽章:
0
7 [报告]
发表于 2011-12-24 09:44 |只看该作者
过来围观版主的范例贴……
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP