找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3113|回复: 14

[其它] 2.96默认主线自动禁用的问题

[复制链接]
发表于 2007-3-23 01:17:57 | 显示全部楼层 |阅读模式

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

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

×
版本为2.96,发现重启后默认电信为主线的(0.0.0.0/0  gw 11.11.11.11电信网关)这线规则自动禁用,一定要手机启用才行??这是为什么??

脚本如下:/system script
add name="ctcup" source="/ip route set \[/ip route find comment=ctc\] \
  gateway=电信网关;
\n/ip route set \[/ip route find comment=ctc\] \
  disable=no;" policy=ftp,reboot,read,write,policy,test,winbox,password
add name="cncup" source="/ip route enable \[/ip route find \
  gateway=网通网关\]" \
  policy=ftp,reboot,read,write,policy,test,winbox,password
add name="ctcdown" source="/ip route set \[/ip route find comment=ctc\] \
  gateway=网通网关" \
  policy=ftp,reboot,read,write,policy,test,winbox,password
add name="cncdown" source="/ip route disable \[/ip route find \
  gateway=电信网关\]" \
  policy=ftp,reboot,read,write,policy,test,winbox,password

netwatch监视如下:/ tool netwatch
add host=网通 timeout=200ms interval=1m up-script=cncup \
    down-script=cncdown comment="" disabled=no
add host=电信 timeout=200ms interval=1m up-script=ctcup \
    down-script=ctcdown comment="" disabled=no

[ 本帖最后由 sakula 于 2007-3-24 10:30 编辑 ]
1.jpg
routeros
 楼主| 发表于 2007-3-23 09:44:08 | 显示全部楼层
人呢?跑哪去了
routeros
回复

使用道具 举报

发表于 2007-3-23 09:57:07 | 显示全部楼层
不知所云
routeros
回复

使用道具 举报

发表于 2007-3-23 10:00:44 | 显示全部楼层
routeros
回复

使用道具 举报

发表于 2007-3-23 11:20:43 | 显示全部楼层
enable=yes
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-23 11:56:52 | 显示全部楼层
这样不是和不关闭一样吗?

有什么出处吗?

[ 本帖最后由 sakula 于 2007-3-23 12:01 编辑 ]
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-23 16:10:00 | 显示全部楼层
最近怎么这么淡
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-23 18:51:48 | 显示全部楼层
居然没有人肯站出来帮忙解决问题
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-24 10:31:35 | 显示全部楼层
大家来帮帮忙,太郁闷了
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-24 14:27:19 | 显示全部楼层
论坛是不是没人了,一大篇一大篇的新问题不能解决
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-25 08:36:53 | 显示全部楼层
论坛是不是没人了
routeros
回复

使用道具 举报

发表于 2007-3-25 12:13:35 | 显示全部楼层
cncup
/ip route set [/ip route find comment=cnc] gateway=网通网关;/ip route set [/ip route find comment=cnc] disable=no

cncdown
/ip route set [/ip route find comment=cnc] gateway=电信网关

telup
/ip route enable [/ip route find gateway=电信网关]

teldown
/ip route disable [/ip route find gateway=电信网关]
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-25 14:26:10 | 显示全部楼层
lnfs000 这位朋友你的脚步本是电信主线还是网通主线?
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-26 08:24:13 | 显示全部楼层
我晕死哦,没话讲,就一个顶!!!
routeros
回复

使用道具 举报

 楼主| 发表于 2007-3-26 10:24:43 | 显示全部楼层
自已顶别沉了
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-30 01:41 , Processed in 0.228937 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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