找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4518|回复: 0

[pppoe] 3.X 双线PPPoE 负载 不通 求解?

[复制链接]
发表于 2010-5-26 11:00:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
/interface pppoe-client
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" \
    dial-on-demand=no disabled=no interface=Wan1 max-mru=1480 max-mtu=1480 \
    mrru=disabled name=Wan1.PPPoE password=*** profile=default \
    service-name="" use-peer-dns=no user=07959110397**
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" \
    dial-on-demand=no disabled=no interface=Wan2 max-mru=1480 max-mtu=1480 \
    mrru=disabled name=Wan2.PPPoE password=*** profile=default \
    service-name="" use-peer-dns=no user=07952763138**
/ip address
add address=192.168.16.241/16 broadcast=192.168.255.255 comment="" disabled=\
    no interface=Lan network=192.168.0.0
add address=220.176.168.3/32 broadcast=220.176.168.3 comment=1 disabled=no \
    interface=Wan2.PPPoE network=220.176.168.3
add address=220.176.168.22/32 broadcast=220.176.168.22 comment=2 disabled=no \
    interface=Wan1.PPPoE network=220.176.168.22
/ip firewall mangle
add action=mark-connection chain=prerouting comment="" connection-state=new \
    disabled=no in-interface=Lan new-connection-mark=odd nth=2,1 passthrough=\
    yes
add action=mark-connection chain=prerouting comment="" connection-state=new \
    disabled=no in-interface=Lan new-connection-mark=even passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=odd \
    disabled=no new-routing-mark=odd passthrough=no
add action=mark-routing chain=prerouting comment="" connection-mark=even \
    disabled=no new-routing-mark=even passthrough=no
/ip firewall nat
add action=src-nat chain=srcnat comment="" connection-mark=odd disabled=no \
    to-addresses=220.176.168.3
add action=src-nat chain=srcnat comment="" connection-mark=even disabled=no \
    to-addresses=220.176.168.22
/ip route
add comment=even disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    220.176.168.3 scope=255 target-scope=10
add comment=odd disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    220.176.168.22 routing-mark=odd scope=255 target-scope=10
add comment=even disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    220.176.168.3 routing-mark=even scope=255 target-scope=10

按照配置说明配的 不理解怎么就不通 PPPoE 网关是相同的
routeros
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-25 03:48 , Processed in 0.040398 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表