|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
本帖最后由 yunwa0429 于 2011-7-20 22:46 编辑
/interface pppoe-client
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=pppoe-out1 password=518103000 profile=default service-name="" \
use-peer-dns=no user=sz176213@163.gd
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=pppoe-out2 password=518103000 profile=default service-name="" \
use-peer-dns=no user=sz176213@163.gd
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=pppoe-out3 password=518103000 profile=default service-name="" \
use-peer-dns=no user=sz176213@163.gd
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=pppoe-out4 password=518103000 profile=default service-name="" \
use-peer-dns=no user=sz176213@163.gd
/ip route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=4
/ip firewall mangle
add action=jump chain=prerouting comment=adsl_bonding disabled=no dst-port=\
80,81,82,8080 jump-target=bonding protocol=tcp src-address=\
192.168.88.0/24
add action=jump chain=prerouting comment="" disabled=no jump-target=bonding \
src-address-list=other_list
add action=mark-connection chain=bonding comment="" disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=adsl1conn \
passthrough=yes per-connection-classifier=both-addresses:3/0
add action=mark-routing chain=bonding comment="" connection-mark=adsl1conn \
disabled=no in-interface=LAN new-routing-mark=4 passthrough=yes
add action=mark-connection chain=bonding comment="" disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=adsl2conn \
passthrough=yes per-connection-classifier=both-addresses:3/1
add action=mark-routing chain=bonding comment="" connection-mark=adsl2conn \
disabled=no in-interface=LAN new-routing-mark=4 passthrough=yes
add action=mark-connection chain=bonding comment="" disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=adsl3conn \
passthrough=yes per-connection-classifier=both-addresses:3/2
add action=mark-routing chain=bonding comment="" connection-mark=adsl3conn \
disabled=no in-interface=LAN new-routing-mark=4 passthrough=yes
/ip firewall nat
add action=src-nat chain=srcnat comment=ADSL1 connection-mark=adsl1conn \
disabled=no src-address=192.168.88.0/24 to-addresses=116.30.139.133
add action=src-nat chain=srcnat comment=ADSL2 connection-mark=adsl2conn \
disabled=no src-address=192.168.88.0/24 to-addresses=116.30.136.142
add action=src-nat chain=srcnat comment=ADSL3 connection-mark=adsl3conn \
disabled=no src-address=192.168.88.0/24 to-addresses=121.35.232.22
add action=src-nat chain=srcnat comment="" disabled=no src-address=\
192.168.88.0/24 to-addresses=119.139.214.146
四条拨号光纤(动态IP),1到3作下载,4作上传,同一个电信ISP出来,并且是同一个FTTB
理论上应该可以做得到吧,
还是我的思路错了
请各版主指点一二。。。。 |
|