system-view
acl advanced 3000
rule 0 permit ip source 192.168.1.0 0.0.0.255
quit
acl advanced 3001
rule 0 permit ip source 192.168.2.0 0.0.0.255
quit
acl advanced 3002
rule 0 permit ip source 192.168.3.0 0.0.1.255
rule 1 permit ip source 192.168.4.0 0.0.0.255
quit
policy-based-route neiwang node 5
if-match acl 3000
apply next-hop 1-电信专线网关 track 1
quit
policy-based-route neiwang node 10
if-match acl 3001
apply next-hop 2-电信专线网关 track 2
quit
policy-based-route neiwang node 15
if-match acl 3002
apply next-hop 3-电信带宽拨号 track 3
quit
interface GigabitEthernet 1/0/1
ip policy-based-route neiwang
quit
nqa entry admin 1-test
type icmp-echo
destination ip 1-电信专线IP地址
next-hop 1-电信专线网关
frequency 1000
reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only
quit
nqa schedule admin 1-test start-time now lifetime forever
track 1 nqa entry admin 1-test reaction 1
nqa entry admin 2-test
type icmp-echo
destination ip 2-电信专线IP地址
next-hop 2-电信专线网关
frequency 1000
reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only
quit
nqa schedule admin 2-test start-time now lifetime forever
track 2 nqa entry admin 2-test reaction 1
nqa entry admin 3-test
type icmp-echo
destination ip 202.96.128.86(DNS地址)
frequency 3000
out interface Dialer2 (拨号接口)
probe timeout 1000
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
quit
nqa schedule admin 3-test start-time now lifetime forever
track 3 nqa entry admin 3-test reaction 1
路由
ip route-static 0.0.0.0 0 Dialer2(电信拨号)
ip route-static 0.0.0.0 0 GigabitEthernet0/0/0 1-电信专线网关 preference 70 (电信专线1)
ip route-static 0.0.0.0 0 GigabitEthernet0/0/0 2-电信专线网关 preference 70 (电信专线2!这个路由优先级要设置成多少)
最终想达成的目的就是任何一条带宽断了,能都去到其他带宽继续上网
(0)
你nat怎么做的,都是natbound吗
(0)
肯定呀
肯定呀
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明