H3C MSR3660路由器双WAN口 专线+PPPOE同时开启不能上网,断掉PPPOE就可以
配置如下所示:
# version 7.1.064, Release 0707P16
# sysname SXTY_BDAI_Core_Router-1
# clock timezone Beijing add 08:00:00 clock protocol ntp
# telnet server enable
telnet server port 2345
# track 1 nqa entry wan1 1_2 reaction 1
# track 2 interface Dialer0 protocol ipv4
# dialer-group 1 rule ip permit
# dhcp enable
dhcp server always-broadcast
# dns proxy enable
# password-recovery enable
# vlan 1
# object-group ip address Baidu-user
description 内网用户 0
network range 10.1.0.0 10.27.255.255
# object-group ip address WAN1 1
network range 10.1.0.0 10.21.255.255
# object-group ip address WAN2 1
network range 10.22.0.0 10.27.255.255 2
network subnet 192.168.0.0 255.255.0.0
# dhcp server ip-pool vlan101
gateway-list 10.1.0.1
network 10.1.0.0 mask 255.255.0.0
address range 10.1.0.2 10.1.199.255
dns-list 219.149.135.188 59.49.49.49
# dhcp server ip-pool vlan102
gateway-list 10.2.0.1
network 10.2.0.0 mask 255.255.0.0
address range 10.2.0.2 10.2.199.255
dns-list 219.149.135.188 59.49.49.49
## policy-based-route WAN1 permit node 1
if-match acl 3005
apply output-interface GigabitEthernet0/0 track 1
# policy-based-route WAN1 permit node 5
if-match acl 3010
apply output-interface Dialer0 track 2
# policy-based-route WAN11 permit node 10
apply default-output-interface GigabitEthernet0/0 track 1
# policy-based-route WAN2 permit node 1
if-match acl 3010
apply output-interface Dialer0 track 2
# policy-based-route WAN22 permit node 10
apply default-output-interface Dialer0 track 2
# nqa entry wan1 1_2
type icmp-echo
destination ip 59.49.49.49
frequency 9600
probe count 3 reaction 1 checked-element probe-fail threshold-type
consecutive 5 action-type trigger-only source interface GigabitEthernet0/0
# nqa schedule wan1 1_2
start-time now lifetime forever
# controller Cellular0/0
# controller Cellular0/1
# interface Route-Aggregation1
link-aggregation mode dynamic
arp max-learning-num 2000
# interface Route-Aggregation1.1
ip address 10.1.0.1 255.255.0.0
vlan-type dot1q vid 101
dhcp server apply ip-pool vlan101
ip policy-based-route WAN11
# interface Route-Aggregation1.2
ip address 10.2.0.1 255.255.0.0
vlan-type dot1q vid 102
dhcp server apply ip-pool vlan102
ip policy-based-route WAN11
# interface Route-Aggregation1.21
ip address 10.21.0.1 255.255.0.0
vlan-type dot1q vid 121
dhcp server apply ip-pool vlan121
# interface Route-Aggregation1.22
ip address 10.22.0.1 255.255.0.0
vlan-type dot1q vid 122
dhcp server apply ip-pool vlan122
# interface Route-Aggregation1.23
ip address 10.23.0.1 255.255.0.0
vlan-type dot1q vid 123
dhcp server apply ip-pool vlan123
# interface Route-Aggregation1.24
ip address 10.24.0.1 255.255.0.0
vlan-type dot1q vid 124
dhcp server apply ip-pool vlan124
ip policy-based-route WAN22
# interface Aux0
# interface Dialer0
bandwidth 400000
shutdown
ppp chap password cipher $c$3$i8vIOSfrJ8lx/+lcTI0vXJFnCu3rvI5v7g== ppp chap user 13934223687002 ppp ipcp dns admit-any
ppp ipcp dns request
ppp pap local-user 13934223687002 password cipher $c$3$HMExsm/xT5UTXGdX5XmCh5FCqdPqJa4ZTw==
dialer bundle enable
dialer-group 1
dialer timer idle 0 dialer timer autodial 5
ip address ppp-negotiate
tcp mss 1420
nat outbound
# interface Virtual-Template0
# interface NULL0
# interface GigabitEthernet0/0
port link-mode route
description Multiple_Line bandwidth 1000000
combo enable copper
ip address 59.49.99.186 255.255.255.240
dns server 219.149.135.188
dns server 59.49.49.49
tcp mss 1460
qos car inbound any cir 500000 cbs 31250000 ebs 0 green pass red discard yellow pass
qos car outbound any cir 500000 cbs 31250000 ebs 0 green pass red discard yellow pass
connection-limit apply policy 1
nat outbound
# interface GigabitEthernet0/1
port link-mode route
combo enable copper
port link-aggregation group 1
# interface GigabitEthernet0/2
port link-mode route
description Multiple_Line
pppoe-client dial-bundle-number 0
# object-policy ip Any-Any rule 65534 pass
# security-zone name Local
# security-zone name Trust
# security-zone name DMZ
# security-zone name Untrust
# security-zone name Management
# zone-pair security
source Any destination Any
object-policy apply ip Any-Any
# scheduler logfile size 16
# ip route-static 0.0.0.0 0 GigabitEthernet0/0 59.49.99.177
ip route-static 0.0.0.0 0 Dialer0 preference 80
ip route-static 10.200.0.0 16 192.168.1.1
ip route-static 11.100.0.0 24 192.168.1.1
# ntp-service enable
# acl advanced 3005
rule 5 permit ip source object-group WAN1
rule 10 permit ip source 10.0.0.0 0.240.255.255
# acl advanced 3010
rule 5 permit ip source object-group WAN2
rule 10 permit ip
# acl advanced 3100
rule 20 permit ip source 11.100.0.0 0.0.255.255
rule 25 permit ip source 10.0.0.0 0.255.255.255
MSR36--交换机-终端
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论