找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1743|回复: 4

[策略设置] 两条adsl做双线ros是通过路由走进来的。时断时续

[复制链接]
发表于 2009-5-4 15:29:19 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 CastRome007 于 2009-5-5 10:16 编辑

我是准备用routeros做双线负载均衡,,由于条件原因,,两条外网线路都是adsl拨号。经过一个路由器后走到ros来的。请问是不是需要在路由表上面做什么设置,,
小弟在这里谢谢了。
我是通过脚本生成器做的网通电信双线脚本。
脚本如下:
/ ip add add interface=ether1 address=172.131.131.200/255.255.0.0 comment="Lan"
/ ip address add address=192.168.0.200/255.255.255.0 interface=ether2 comment="Tel" disabled=no
/ ip address add address=192.168.1.200/255.255.255.0 interface=ether3 comment="Cnc" disabled=no
/ ip firewall nat add chain=srcnat src-address=172.131.131.0/255.255.0.0 action=masquerade comment="" disabled=no
/ ip firewall nat add chain=dstnat src-address=172.131.131.0/255.255.0.0 protocol=udp dst-port=53 action=dst-nat to-addresses=172.131.131.200 to-ports=53 comment="" disabled=no
/ ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ ip dns set primary-dns=218.85.157.99 secondary-dns=58.22.96.66 allow-remote-requests=yes cache-size=2048KiB cache-max-ttl=1w
routeros
发表于 2009-5-4 17:53:23 | 显示全部楼层
路由表呢??
routeros
回复

使用道具 举报

 楼主| 发表于 2009-5-5 08:08:27 | 显示全部楼层
不好意思,我现在就发上来。
/ ip route
add dst-address=59.80.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.0.0.0/13 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.8.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.10.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.12.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.13.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.13.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.16.0.0/12 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.55.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.208.0.0/13 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.216.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.220.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.4.79.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.4.64.0/20 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.48.0.0/13 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.128.210.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.133.0.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.98.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.108.0/22 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.120.0/28 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.112.0/20 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.96.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.135.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.136.64.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.137.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.138.128.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.139.128.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.148.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.156.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.158.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.159.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.161.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.161.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.167.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.168.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.176.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.179.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.180.13.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.180.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.181.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.182.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.189.0.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.233.7.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.233.59.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.237.148.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.95.98.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.96.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.96.66.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.96.64.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.97.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.98.0.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.99.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.102.128.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.102.224.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.106.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.107.0.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.108.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.110.0.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.110.192.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.111.128.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.88.200.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.88.203.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.93.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.175.192.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=210.51.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.69.0.0/25 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.95.192.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.97.245.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.148.8.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.151.130.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.158.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.163.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.7.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.8.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.12.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.24.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.28.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.56.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.60.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.62.0.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.67.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.68.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.104.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.106.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.107.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.108.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.109.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.154.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.156.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.158.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.159.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=220.248.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=220.250.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.0.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.4.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.6.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.7.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.7.64.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.7.128.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.8.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.10.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.11.0.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.11.128.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.11.192.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.12.0.0/17 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.12.128.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.13.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.13.64.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.14.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.136.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.192.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.196.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.198.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.0.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.32.0/20 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.128.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.192.0/20 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.200.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.204.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.207.0.0/18 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.208.0.0/14 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.212.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.214.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.216.0.0/13 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.128.0.0/12 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.160.0.0/15 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.162.0.0/16 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.163.0.0/19 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.101.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.102.0/23 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.104.0/22 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.108.0/23 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.208.65.0/24 gateway=192.168.1.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.0.10 check-gateway=ping distance=2
scope=255 target-scope=10 comment="" disabled=no
routeros
回复

使用道具 举报

 楼主| 发表于 2009-5-5 08:09:04 | 显示全部楼层
请各位高手多多帮忙,小弟感激不尽
routeros
回复

使用道具 举报

 楼主| 发表于 2009-5-15 11:58:56 | 显示全部楼层
自己顶一顶
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-30 13:22 , Processed in 0.092637 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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