最佳答案
双拨号出口,互为热备。脚本了解一下
dialer-group 1 rule ip permit
dialer-group 2 rule ip permit
#
interface Dialer1
description CT-11111111
ppp chap password simple 拨号1密码
ppp chap user 11111111
ppp pap local-user 11111111 password simple 拨号1密码
dialer bundle enable
dialer-group 1
dialer timer idle 0
dialer timer autodial 30
ip address ppp-negotiate
tcp mss 1400
nat outbound
#
interface Dialer2
description CT-22222222
ppp chap password simple 拨号2密码
ppp chap user 22222222
ppp pap local-user 22222222 password simple 拨号2密码
dialer bundle enable
dialer-group 2
dialer timer idle 0
dialer timer autodial 30
ip address ppp-negotiate
tcp mss 1400
nat outbound
#
track 1 interface Dialer1 protocol ipv4
track 2 interface Dialer2 protocol ipv4
#
acl advanced 3001
description out-dialer1
rule 10 permit ip source 172.16.10.0 0.0.0.255
#
acl advanced 3002
description out-dialer2
rule 10 permit ip source 172.16.20.0 0.0.0.255
#
policy-based-route pbr permit node 10
if-match acl 3001
apply output-interface Dialer1 track 1
apply output-interface Dialer2 track 2
#
policy-based-route pbr permit node 20
if-match acl 3002
apply output-interface Dialer2 track 2
apply output-interface Dialer1 track 1
#
interface GigabitEthernet0/0
port link-mode route
description CT-11111111
pppoe-client dial-bundle-number 1
#
interface GigabitEthernet0/1
port link-mode route
description CT-22222222
pppoe-client dial-bundle-number 2
#
interface GigabitEthernet0/3
port link-mode route
description LAN
combo enable copper
ip address 172.31.255.254 255.255.255.0
ip policy-based-route pbr
#
ip route-static 0.0.0.0 0 Dialer1 track 1 description 11111111
ip route-static 0.0.0.0 0 Dialer2 track 2 description 22222222
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
非等值出口的话,建议将流量大的网段或者终端定义为高速带宽的出口出去