找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5544|回复: 8

[基础] 求电信固定IP+网通ADSL拨号分流的设置教程

[复制链接]
发表于 2008-3-27 10:29:35 | 显示全部楼层 |阅读模式

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

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

×
求电信固定IP+网通ADSL拨号分流的设置教程,有的朋友请发个给我
QQ:453729687
邮箱:xsjfj@126.com
routeros
发表于 2008-3-30 05:06:54 | 显示全部楼层
老大你多少台计算机啊 还做分流??做策略不好吗 上网通电信游戏都不卡 自动走线路 很好用
routeros
回复

使用道具 举报

 楼主| 发表于 2008-3-30 10:05:17 | 显示全部楼层
做策略,怎么做啊,能给个教程吗?
routeros
回复

使用道具 举报

发表于 2008-3-30 12:19:54 | 显示全部楼层
新贴2.9.X 电信+网通 + 1条ADSL 多线路自动策略路由切换+备份 需要ROS基础知识
本部分设定了隐藏,您已回复过了,以下是隐藏的内容    以后每发帖都会提示1下:技术是不断前进的,保守就等于落后除非你决定这辈子不再前进了

希望 启用这个策略的朋友 在实际使用中的反馈即时和我沟通,包括网通的网关

不一定会很全,但是可以保证100% 能用

第一 ip设好

/ ip address
add address=192.168.1.1/24 network=192.168.1.0 broadcast=192.168.1.255 \
  interface=lan comment="" disabled=no
add address=电信地址/掩码 network=自动设置 broadcast=自动设置
  interface=TEL comment="" disabled=no
add address=网通地址/掩码 network=自动设置 broadcast=自动设置
  interface=CNC comment="" disabled=no

这里如果你有 PPPOE的 ADSL 也可以+上 ADSL

记住要改MSS

/ ip firewall mangle
add chain=forward out-interface=pppoe-out1 protocol=tcp tcp-flags=syn \
  action=change-mss new-mss=1400 comment="" disabled=no

/ ip firewall nat
add chain=srcnat src-address=192.168.1.0/24 action=masquerade comment="" \
  disabled=no

--------------------------------------------------------------------------------------------------

第2步 添加 网通的路由网关

电信的服务器在网络中占了绝大多数

所以不需要考虑电信的服务器

/ ip route
add dst-address=59.80.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.0.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.8.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.10.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.12.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.13.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.13.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.16.0.0/12 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.55.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.208.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.216.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.220.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.4.79.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.4.64.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.48.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.128.210.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.133.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.98.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.108.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.120.0/28 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.112.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.96.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.135.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.136.64.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.137.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.138.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.139.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.148.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.156.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.158.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.159.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.161.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.161.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.167.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.168.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.176.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.179.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.180.13.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.180.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.181.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.182.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.189.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.233.7.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.233.59.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.237.148.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.95.98.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.96.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.96.66.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.96.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.97.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.98.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.99.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.102.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.102.224.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.106.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.107.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.108.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.110.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.110.192.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.111.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.88.200.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.88.203.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.93.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.175.192.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.51.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.69.0.0/25 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.95.192.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.97.245.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.148.8.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.151.130.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.158.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.163.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.7.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.8.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.12.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.24.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.28.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.56.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.60.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.62.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.67.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.68.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.104.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.106.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.107.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.108.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.109.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.154.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.156.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.158.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.159.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=220.248.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=220.250.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.0.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.4.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.6.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.7.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.7.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.7.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.8.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.10.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.11.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.11.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.11.192.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.12.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.12.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.13.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.13.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.14.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.136.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.192.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.196.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.198.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.199.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.199.32.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.199.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.199.192.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.200.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.204.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.207.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.208.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.212.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.214.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.216.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.128.0.0/12 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.160.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.162.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.163.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.173.101.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.173.102.0/23 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.173.104.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.173.108.0/23 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.208.65.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=0.0.0.0/0 gateway=电信网关 check-gateway=ping distance=0 \
  scope=255 target-scope=10 comment="TEL" disabled=no

(最后这条的意义就是保证在上面找不到网通的网关后 IP包自动走电信的线路 如果想拷贝这个规则 就用替换功能 换上具体的IP就可以了)

-------------------------------------------------------------------------------------------------------

第3步 设置好监控的开关

/ tool netwatch
add host=电信网关 timeout=1s interval=1m up-script=dxup \
  down-script=dxdown comment="TEL" disabled=no
add host=网通网关 timeout=1s interval=1m up-script=CNCup \
  down-script=CNCdown comment="CNC" disabled=no

--------------------------------------------------------------------------------------------------------

第四写好脚本自动切换

/ system script
add name="dxup" source="/ip route set \[/ip route find comment=TEL\] gateway \
  电信网关\n" policy=ftp,reboot,read,write,policy,test,winbox,password

add name="CNCup" source="/ip route set \[/ip route find comment=CNC\] gateway \
  网通网关\n" policy=ftp,reboot,read,write,policy,test,winbox,password

add name="dxdown" source=":if \(\[/tool netwatch get \[/tool netwatch find \
  comment=CNC\] status\]=\"down\"\) do {/ip route set \[/ip route find \
  comment=TEL\] gateway \[/ip address get \[/ip address find \
  interface=pppoe-out1\] network\]} else {/ip route set \[/ip route find \
  comment=TEL\] gateway 网通网关}" \
  policy=ftp,reboot,read,write,policy,test,winbox,password

add name="CNCdown" source=":if \(\[/tool netwatch get \[/tool netwatch find \
  comment=TEL\] status\]=\"down\"\) do {/ip route set \[/ip route find \
  comment=CNC\] gateway \[/ip address get \[/ip address find \
  interface=pppoe-out1\] network\]} else {/ip route set \[/ip route find \
  comment=CNC\] gateway 电信网关}" \
  policy=ftp,reboot,read,write,policy,test,winbox,password

(关键哦 大家要看清楚哦)

最后这些判断有人说我写错了

其实你们没有理解

在电信的 光纤断的 时候 判断1下 网通的光纤是否是断了 (如果也断了就换ADSL)

如果没有断就上 网通的光纤 (反过来 网通的断了也一样)

针对很多地方光纤晚上都会断线的情况

哎 如果不用ADSL 就简单到不能再简单了你们自己去搞

我不想每1点细节都说出来

你们都不用脑的
routeros
回复

使用道具 举报

 楼主| 发表于 2008-3-31 08:34:15 | 显示全部楼层
谢谢,先收下了
routeros
回复

使用道具 举报

发表于 2008-3-31 10:25:58 | 显示全部楼层
上面的路由表 我改了下你也可以用这个
网通路由表
/ ip route
add dst-address=59.14.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.16.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.17.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.17.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.18.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.19.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.20.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.22.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=59.80.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=58.100.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=59.107.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=59.108.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=59.151.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.0.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.8.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.11.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.12.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.13.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.13.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.14.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.16.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.24.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.28.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.30.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.31.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.55.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.208.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.216.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.218.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=60.220.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.48.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.133.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.96.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.134.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.135.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.137.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.138.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.138.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.139.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.148.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.156.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.159.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.161.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.161.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.162.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.163.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.167.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.168.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.176.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.179.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.181.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.182.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=61.189.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=161.207.1.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=167.139.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.8.128.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.10.64.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.38.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.38.128.0/23 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.38.171.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.38.184.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.38.192.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.41.152.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.46.224.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.69.16.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.75.208.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.90.224.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.91.128.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.91.176.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.94.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.95.16.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.96.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.96.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.97.128.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.97.192.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.98.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.99.64.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.99.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.99.192.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.99.224.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.102.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.102.224.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.106.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.107.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.108.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.110.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.110.192.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.111.128.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.112.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.113.16.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.113.64.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.113.128.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.113.224.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.114.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.114.128.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.115.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.115.64.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.116.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.117.128.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.118.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.118.128.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.119.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.119.64.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.119.80.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.119.96.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.119.128.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.122.32.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.122.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.0.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.12.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.16.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.40.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.48.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.144.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.160.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.127.216.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.130.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.130.224.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.136.48.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.136.252.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.158.160.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.165.96.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.168.160.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=202.180.128.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.81.16.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.86.64.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.86.80.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.92.160.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.93.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.94.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.95.0.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.95.96.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.175.128.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.187.160.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.192.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.196.0.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.207.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=203.212.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.12.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.14.64.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.14.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.15.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.21.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.22.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.25.0.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.32.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.51.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.52.0.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.72.128.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.74.96.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.74.128.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.78.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.78.128.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.79.224.0/23 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.82.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.87.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=210.192.64.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.80.0.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.84.0.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.88.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.92.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.98.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.101.0.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.101.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.103.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.128.0.0/12 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.144.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.146.0.0/23 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.147.0.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.158.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=211.160.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.7.0.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.8.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.12.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.21.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.24.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.28.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.56.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.60.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.62.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.67.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.68.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.104.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.108.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.185.192.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.196.0.0/22 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.200.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.204.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.206.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=218.249.0.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.72.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.154.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.156.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.158.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.158.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.159.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.220.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.224.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.226.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.228.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.230.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.232.0.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.236.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=219.238.0.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=220.112.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=220.248.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=220.252.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.0.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.2.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.3.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.4.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.5.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.5.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.6.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.7.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.7.32.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.7.64.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.7.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.8.0.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.10.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.11.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.11.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.11.192.0/24 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.12.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.12.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.13.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.14.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.122.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.130.0.0/19 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.136.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.172.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.192.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.196.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.198.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.199.0.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.199.128.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.199.192.0/20 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.200.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.204.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.206.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.207.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.207.64.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.207.128.0/17 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.208.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.213.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.214.0.0/15 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=221.216.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.16.0.0/21 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.22.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.125.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.128.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.132.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.136.0.0/13 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.160.0.0/14 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=222.204.0.0/18 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=59.14.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=59.14.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=59.14.0.0/16 gateway=网通网关 check-gateway=ping \
  distance=0 scope=255 target-scope=10 comment="CNC" disabled=no
add dst-address=0.0.0.0/0 gateway=电信网关 check-gateway=ping distance=0 \
  scope=255 target-scope=10 comment="TEL" disabled=no
routeros
回复

使用道具 举报

 楼主| 发表于 2008-3-31 14:18:47 | 显示全部楼层
我的ROS是2。9。6的能用这个路由表吗?好想scope=255 target-scope=10不一样啊
routeros
回复

使用道具 举报

发表于 2008-4-1 19:06:41 | 显示全部楼层
为什么不用2.9.27呢
routeros
回复

使用道具 举报

 楼主| 发表于 2008-4-2 08:43:45 | 显示全部楼层
好象是不是没必要做 comment="CNC"的标记啊,做了后网通网关怎么变成电信的网关了
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-16 20:49 , Processed in 0.057963 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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