找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6384|回复: 8

[脚本] 关于mark routing 不能超过232条的问题

[复制链接]
发表于 2014-7-7 19:10:05 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 pauzn 于 2014-7-7 19:27 编辑

小弟目前调试一台ros
需要做路由标记比较多,现在发现一个问题,mark routing 标记不能超过232条,超过后再添加刚添加完看似没问题,关闭firewall窗口后再打开会发现最后添加的那条是红色的,打开这条规则后action这页New Routing Mark那里添加的内容就空了。
各位大大们有遇到这个问题或者知道怎么解决的吗?


测试3.30 不能超过253条
测试5.20 不能超过232条
测试5.22 不能超过253条

附测试代码,复制进去后再手动添加一条测试看看,测试完记得全部删除。
/ip firewall mangle
add chain=prerouting src-address=10.10.20.1 action=mark-routing new-routing-mark=10.10.20.1        passthrough=yes
add chain=prerouting src-address=10.10.20.2 action=mark-routing new-routing-mark=10.10.20.2        passthrough=yes
add chain=prerouting src-address=10.10.20.3 action=mark-routing new-routing-mark=10.10.20.3        passthrough=yes
add chain=prerouting src-address=10.10.20.4 action=mark-routing new-routing-mark=10.10.20.4        passthrough=yes
add chain=prerouting src-address=10.10.20.5 action=mark-routing new-routing-mark=10.10.20.5        passthrough=yes
add chain=prerouting src-address=10.10.20.6 action=mark-routing new-routing-mark=10.10.20.6        passthrough=yes
add chain=prerouting src-address=10.10.20.7 action=mark-routing new-routing-mark=10.10.20.7        passthrough=yes
add chain=prerouting src-address=10.10.20.8 action=mark-routing new-routing-mark=10.10.20.8        passthrough=yes
add chain=prerouting src-address=10.10.20.9 action=mark-routing new-routing-mark=10.10.20.9        passthrough=yes
add chain=prerouting src-address=10.10.20.10 action=mark-routing new-routing-mark=10.10.20.10        passthrough=yes
add chain=prerouting src-address=10.10.20.11 action=mark-routing new-routing-mark=10.10.20.11        passthrough=yes
add chain=prerouting src-address=10.10.20.12 action=mark-routing new-routing-mark=10.10.20.12        passthrough=yes
add chain=prerouting src-address=10.10.20.13 action=mark-routing new-routing-mark=10.10.20.13        passthrough=yes
add chain=prerouting src-address=10.10.20.14 action=mark-routing new-routing-mark=10.10.20.14        passthrough=yes
add chain=prerouting src-address=10.10.20.15 action=mark-routing new-routing-mark=10.10.20.15        passthrough=yes
add chain=prerouting src-address=10.10.20.16 action=mark-routing new-routing-mark=10.10.20.16        passthrough=yes
add chain=prerouting src-address=10.10.20.17 action=mark-routing new-routing-mark=10.10.20.17        passthrough=yes
add chain=prerouting src-address=10.10.20.18 action=mark-routing new-routing-mark=10.10.20.18        passthrough=yes
add chain=prerouting src-address=10.10.20.19 action=mark-routing new-routing-mark=10.10.20.19        passthrough=yes
add chain=prerouting src-address=10.10.20.20 action=mark-routing new-routing-mark=10.10.20.20        passthrough=yes
add chain=prerouting src-address=10.10.20.21 action=mark-routing new-routing-mark=10.10.20.21        passthrough=yes
add chain=prerouting src-address=10.10.20.22 action=mark-routing new-routing-mark=10.10.20.22        passthrough=yes
add chain=prerouting src-address=10.10.20.23 action=mark-routing new-routing-mark=10.10.20.23        passthrough=yes
add chain=prerouting src-address=10.10.20.24 action=mark-routing new-routing-mark=10.10.20.24        passthrough=yes
add chain=prerouting src-address=10.10.20.25 action=mark-routing new-routing-mark=10.10.20.25        passthrough=yes
add chain=prerouting src-address=10.10.20.26 action=mark-routing new-routing-mark=10.10.20.26        passthrough=yes
add chain=prerouting src-address=10.10.20.27 action=mark-routing new-routing-mark=10.10.20.27        passthrough=yes
add chain=prerouting src-address=10.10.20.28 action=mark-routing new-routing-mark=10.10.20.28        passthrough=yes
add chain=prerouting src-address=10.10.20.29 action=mark-routing new-routing-mark=10.10.20.29        passthrough=yes
add chain=prerouting src-address=10.10.20.30 action=mark-routing new-routing-mark=10.10.20.30        passthrough=yes
add chain=prerouting src-address=10.10.20.31 action=mark-routing new-routing-mark=10.10.20.31        passthrough=yes
add chain=prerouting src-address=10.10.20.32 action=mark-routing new-routing-mark=10.10.20.32        passthrough=yes
add chain=prerouting src-address=10.10.20.33 action=mark-routing new-routing-mark=10.10.20.33        passthrough=yes
add chain=prerouting src-address=10.10.20.34 action=mark-routing new-routing-mark=10.10.20.34        passthrough=yes
add chain=prerouting src-address=10.10.20.35 action=mark-routing new-routing-mark=10.10.20.35        passthrough=yes
add chain=prerouting src-address=10.10.20.36 action=mark-routing new-routing-mark=10.10.20.36        passthrough=yes
add chain=prerouting src-address=10.10.20.37 action=mark-routing new-routing-mark=10.10.20.37        passthrough=yes
add chain=prerouting src-address=10.10.20.38 action=mark-routing new-routing-mark=10.10.20.38        passthrough=yes
add chain=prerouting src-address=10.10.20.39 action=mark-routing new-routing-mark=10.10.20.39        passthrough=yes
add chain=prerouting src-address=10.10.20.40 action=mark-routing new-routing-mark=10.10.20.40        passthrough=yes
add chain=prerouting src-address=10.10.20.41 action=mark-routing new-routing-mark=10.10.20.41        passthrough=yes
add chain=prerouting src-address=10.10.20.42 action=mark-routing new-routing-mark=10.10.20.42        passthrough=yes
add chain=prerouting src-address=10.10.20.43 action=mark-routing new-routing-mark=10.10.20.43        passthrough=yes
add chain=prerouting src-address=10.10.20.44 action=mark-routing new-routing-mark=10.10.20.44        passthrough=yes
add chain=prerouting src-address=10.10.20.45 action=mark-routing new-routing-mark=10.10.20.45        passthrough=yes
add chain=prerouting src-address=10.10.20.46 action=mark-routing new-routing-mark=10.10.20.46        passthrough=yes
add chain=prerouting src-address=10.10.20.47 action=mark-routing new-routing-mark=10.10.20.47        passthrough=yes
add chain=prerouting src-address=10.10.20.48 action=mark-routing new-routing-mark=10.10.20.48        passthrough=yes
add chain=prerouting src-address=10.10.20.49 action=mark-routing new-routing-mark=10.10.20.49        passthrough=yes
add chain=prerouting src-address=10.10.20.50 action=mark-routing new-routing-mark=10.10.20.50        passthrough=yes
add chain=prerouting src-address=10.10.20.51 action=mark-routing new-routing-mark=10.10.20.51        passthrough=yes
add chain=prerouting src-address=10.10.20.52 action=mark-routing new-routing-mark=10.10.20.52        passthrough=yes
add chain=prerouting src-address=10.10.20.53 action=mark-routing new-routing-mark=10.10.20.53        passthrough=yes
add chain=prerouting src-address=10.10.20.54 action=mark-routing new-routing-mark=10.10.20.54        passthrough=yes
add chain=prerouting src-address=10.10.20.55 action=mark-routing new-routing-mark=10.10.20.55        passthrough=yes
add chain=prerouting src-address=10.10.20.56 action=mark-routing new-routing-mark=10.10.20.56        passthrough=yes
add chain=prerouting src-address=10.10.20.57 action=mark-routing new-routing-mark=10.10.20.57        passthrough=yes
add chain=prerouting src-address=10.10.20.58 action=mark-routing new-routing-mark=10.10.20.58        passthrough=yes
add chain=prerouting src-address=10.10.20.59 action=mark-routing new-routing-mark=10.10.20.59        passthrough=yes
add chain=prerouting src-address=10.10.20.60 action=mark-routing new-routing-mark=10.10.20.60        passthrough=yes
add chain=prerouting src-address=10.10.20.61 action=mark-routing new-routing-mark=10.10.20.61        passthrough=yes
add chain=prerouting src-address=10.10.20.62 action=mark-routing new-routing-mark=10.10.20.62        passthrough=yes
add chain=prerouting src-address=10.10.20.63 action=mark-routing new-routing-mark=10.10.20.63        passthrough=yes
add chain=prerouting src-address=10.10.20.64 action=mark-routing new-routing-mark=10.10.20.64        passthrough=yes
add chain=prerouting src-address=10.10.20.65 action=mark-routing new-routing-mark=10.10.20.65        passthrough=yes
add chain=prerouting src-address=10.10.20.66 action=mark-routing new-routing-mark=10.10.20.66        passthrough=yes
add chain=prerouting src-address=10.10.20.67 action=mark-routing new-routing-mark=10.10.20.67        passthrough=yes
add chain=prerouting src-address=10.10.20.68 action=mark-routing new-routing-mark=10.10.20.68        passthrough=yes
add chain=prerouting src-address=10.10.20.69 action=mark-routing new-routing-mark=10.10.20.69        passthrough=yes
add chain=prerouting src-address=10.10.20.70 action=mark-routing new-routing-mark=10.10.20.70        passthrough=yes
add chain=prerouting src-address=10.10.20.71 action=mark-routing new-routing-mark=10.10.20.71        passthrough=yes
add chain=prerouting src-address=10.10.20.72 action=mark-routing new-routing-mark=10.10.20.72        passthrough=yes
add chain=prerouting src-address=10.10.20.73 action=mark-routing new-routing-mark=10.10.20.73        passthrough=yes
add chain=prerouting src-address=10.10.20.74 action=mark-routing new-routing-mark=10.10.20.74        passthrough=yes
add chain=prerouting src-address=10.10.20.75 action=mark-routing new-routing-mark=10.10.20.75        passthrough=yes
add chain=prerouting src-address=10.10.20.76 action=mark-routing new-routing-mark=10.10.20.76        passthrough=yes
add chain=prerouting src-address=10.10.20.77 action=mark-routing new-routing-mark=10.10.20.77        passthrough=yes
add chain=prerouting src-address=10.10.20.78 action=mark-routing new-routing-mark=10.10.20.78        passthrough=yes
add chain=prerouting src-address=10.10.20.79 action=mark-routing new-routing-mark=10.10.20.79        passthrough=yes
add chain=prerouting src-address=10.10.20.80 action=mark-routing new-routing-mark=10.10.20.80        passthrough=yes
add chain=prerouting src-address=10.10.20.81 action=mark-routing new-routing-mark=10.10.20.81        passthrough=yes
add chain=prerouting src-address=10.10.20.82 action=mark-routing new-routing-mark=10.10.20.82        passthrough=yes
add chain=prerouting src-address=10.10.20.83 action=mark-routing new-routing-mark=10.10.20.83        passthrough=yes
add chain=prerouting src-address=10.10.20.84 action=mark-routing new-routing-mark=10.10.20.84        passthrough=yes
add chain=prerouting src-address=10.10.20.85 action=mark-routing new-routing-mark=10.10.20.85        passthrough=yes
add chain=prerouting src-address=10.10.20.86 action=mark-routing new-routing-mark=10.10.20.86        passthrough=yes
add chain=prerouting src-address=10.10.20.87 action=mark-routing new-routing-mark=10.10.20.87        passthrough=yes
add chain=prerouting src-address=10.10.20.88 action=mark-routing new-routing-mark=10.10.20.88        passthrough=yes
add chain=prerouting src-address=10.10.20.89 action=mark-routing new-routing-mark=10.10.20.89        passthrough=yes
add chain=prerouting src-address=10.10.20.90 action=mark-routing new-routing-mark=10.10.20.90        passthrough=yes
add chain=prerouting src-address=10.10.20.91 action=mark-routing new-routing-mark=10.10.20.91        passthrough=yes
add chain=prerouting src-address=10.10.20.92 action=mark-routing new-routing-mark=10.10.20.92        passthrough=yes
add chain=prerouting src-address=10.10.20.93 action=mark-routing new-routing-mark=10.10.20.93        passthrough=yes
add chain=prerouting src-address=10.10.20.94 action=mark-routing new-routing-mark=10.10.20.94        passthrough=yes
add chain=prerouting src-address=10.10.20.95 action=mark-routing new-routing-mark=10.10.20.95        passthrough=yes
add chain=prerouting src-address=10.10.20.96 action=mark-routing new-routing-mark=10.10.20.96        passthrough=yes
add chain=prerouting src-address=10.10.20.97 action=mark-routing new-routing-mark=10.10.20.97        passthrough=yes
add chain=prerouting src-address=10.10.20.98 action=mark-routing new-routing-mark=10.10.20.98        passthrough=yes
add chain=prerouting src-address=10.10.20.99 action=mark-routing new-routing-mark=10.10.20.99        passthrough=yes
add chain=prerouting src-address=10.10.20.100 action=mark-routing new-routing-mark=10.10.20.100        passthrough=yes
add chain=prerouting src-address=10.10.20.101 action=mark-routing new-routing-mark=10.10.20.101        passthrough=yes
add chain=prerouting src-address=10.10.20.102 action=mark-routing new-routing-mark=10.10.20.102        passthrough=yes
add chain=prerouting src-address=10.10.20.103 action=mark-routing new-routing-mark=10.10.20.103        passthrough=yes
add chain=prerouting src-address=10.10.20.104 action=mark-routing new-routing-mark=10.10.20.104        passthrough=yes
add chain=prerouting src-address=10.10.20.105 action=mark-routing new-routing-mark=10.10.20.105        passthrough=yes
add chain=prerouting src-address=10.10.20.106 action=mark-routing new-routing-mark=10.10.20.106        passthrough=yes
add chain=prerouting src-address=10.10.20.107 action=mark-routing new-routing-mark=10.10.20.107        passthrough=yes
add chain=prerouting src-address=10.10.20.108 action=mark-routing new-routing-mark=10.10.20.108        passthrough=yes
add chain=prerouting src-address=10.10.20.109 action=mark-routing new-routing-mark=10.10.20.109        passthrough=yes
add chain=prerouting src-address=10.10.20.110 action=mark-routing new-routing-mark=10.10.20.110        passthrough=yes
add chain=prerouting src-address=10.10.20.111 action=mark-routing new-routing-mark=10.10.20.111        passthrough=yes
add chain=prerouting src-address=10.10.20.112 action=mark-routing new-routing-mark=10.10.20.112        passthrough=yes
add chain=prerouting src-address=10.10.20.113 action=mark-routing new-routing-mark=10.10.20.113        passthrough=yes
add chain=prerouting src-address=10.10.20.114 action=mark-routing new-routing-mark=10.10.20.114        passthrough=yes
add chain=prerouting src-address=10.10.20.115 action=mark-routing new-routing-mark=10.10.20.115        passthrough=yes
add chain=prerouting src-address=10.10.20.116 action=mark-routing new-routing-mark=10.10.20.116        passthrough=yes
add chain=prerouting src-address=10.10.20.117 action=mark-routing new-routing-mark=10.10.20.117        passthrough=yes
add chain=prerouting src-address=10.10.20.118 action=mark-routing new-routing-mark=10.10.20.118        passthrough=yes
add chain=prerouting src-address=10.10.20.119 action=mark-routing new-routing-mark=10.10.20.119        passthrough=yes
add chain=prerouting src-address=10.10.20.120 action=mark-routing new-routing-mark=10.10.20.120        passthrough=yes
add chain=prerouting src-address=10.10.20.121 action=mark-routing new-routing-mark=10.10.20.121        passthrough=yes
add chain=prerouting src-address=10.10.20.122 action=mark-routing new-routing-mark=10.10.20.122        passthrough=yes
add chain=prerouting src-address=10.10.20.123 action=mark-routing new-routing-mark=10.10.20.123        passthrough=yes
add chain=prerouting src-address=10.10.20.124 action=mark-routing new-routing-mark=10.10.20.124        passthrough=yes
add chain=prerouting src-address=10.10.20.125 action=mark-routing new-routing-mark=10.10.20.125        passthrough=yes
add chain=prerouting src-address=10.10.20.126 action=mark-routing new-routing-mark=10.10.20.126        passthrough=yes
add chain=prerouting src-address=10.10.20.127 action=mark-routing new-routing-mark=10.10.20.127        passthrough=yes
add chain=prerouting src-address=10.10.20.128 action=mark-routing new-routing-mark=10.10.20.128        passthrough=yes
add chain=prerouting src-address=10.10.20.129 action=mark-routing new-routing-mark=10.10.20.129        passthrough=yes
add chain=prerouting src-address=10.10.20.130 action=mark-routing new-routing-mark=10.10.20.130        passthrough=yes
add chain=prerouting src-address=10.10.20.131 action=mark-routing new-routing-mark=10.10.20.131        passthrough=yes
add chain=prerouting src-address=10.10.20.132 action=mark-routing new-routing-mark=10.10.20.132        passthrough=yes
add chain=prerouting src-address=10.10.20.133 action=mark-routing new-routing-mark=10.10.20.133        passthrough=yes
add chain=prerouting src-address=10.10.20.134 action=mark-routing new-routing-mark=10.10.20.134        passthrough=yes
add chain=prerouting src-address=10.10.20.135 action=mark-routing new-routing-mark=10.10.20.135        passthrough=yes
add chain=prerouting src-address=10.10.20.136 action=mark-routing new-routing-mark=10.10.20.136        passthrough=yes
add chain=prerouting src-address=10.10.20.137 action=mark-routing new-routing-mark=10.10.20.137        passthrough=yes
add chain=prerouting src-address=10.10.20.138 action=mark-routing new-routing-mark=10.10.20.138        passthrough=yes
add chain=prerouting src-address=10.10.20.139 action=mark-routing new-routing-mark=10.10.20.139        passthrough=yes
add chain=prerouting src-address=10.10.20.140 action=mark-routing new-routing-mark=10.10.20.140        passthrough=yes
add chain=prerouting src-address=10.10.20.141 action=mark-routing new-routing-mark=10.10.20.141        passthrough=yes
add chain=prerouting src-address=10.10.20.142 action=mark-routing new-routing-mark=10.10.20.142        passthrough=yes
add chain=prerouting src-address=10.10.20.143 action=mark-routing new-routing-mark=10.10.20.143        passthrough=yes
add chain=prerouting src-address=10.10.20.144 action=mark-routing new-routing-mark=10.10.20.144        passthrough=yes
add chain=prerouting src-address=10.10.20.145 action=mark-routing new-routing-mark=10.10.20.145        passthrough=yes
add chain=prerouting src-address=10.10.20.146 action=mark-routing new-routing-mark=10.10.20.146        passthrough=yes
add chain=prerouting src-address=10.10.20.147 action=mark-routing new-routing-mark=10.10.20.147        passthrough=yes
add chain=prerouting src-address=10.10.20.148 action=mark-routing new-routing-mark=10.10.20.148        passthrough=yes
add chain=prerouting src-address=10.10.20.149 action=mark-routing new-routing-mark=10.10.20.149        passthrough=yes
add chain=prerouting src-address=10.10.20.150 action=mark-routing new-routing-mark=10.10.20.150        passthrough=yes
add chain=prerouting src-address=10.10.20.151 action=mark-routing new-routing-mark=10.10.20.151        passthrough=yes
add chain=prerouting src-address=10.10.20.152 action=mark-routing new-routing-mark=10.10.20.152        passthrough=yes
add chain=prerouting src-address=10.10.20.153 action=mark-routing new-routing-mark=10.10.20.153        passthrough=yes
add chain=prerouting src-address=10.10.20.154 action=mark-routing new-routing-mark=10.10.20.154        passthrough=yes
add chain=prerouting src-address=10.10.20.155 action=mark-routing new-routing-mark=10.10.20.155        passthrough=yes
add chain=prerouting src-address=10.10.20.156 action=mark-routing new-routing-mark=10.10.20.156        passthrough=yes
add chain=prerouting src-address=10.10.20.157 action=mark-routing new-routing-mark=10.10.20.157        passthrough=yes
add chain=prerouting src-address=10.10.20.158 action=mark-routing new-routing-mark=10.10.20.158        passthrough=yes
add chain=prerouting src-address=10.10.20.159 action=mark-routing new-routing-mark=10.10.20.159        passthrough=yes
add chain=prerouting src-address=10.10.20.160 action=mark-routing new-routing-mark=10.10.20.160        passthrough=yes
add chain=prerouting src-address=10.10.20.161 action=mark-routing new-routing-mark=10.10.20.161        passthrough=yes
add chain=prerouting src-address=10.10.20.162 action=mark-routing new-routing-mark=10.10.20.162        passthrough=yes
add chain=prerouting src-address=10.10.20.163 action=mark-routing new-routing-mark=10.10.20.163        passthrough=yes
add chain=prerouting src-address=10.10.20.164 action=mark-routing new-routing-mark=10.10.20.164        passthrough=yes
add chain=prerouting src-address=10.10.20.165 action=mark-routing new-routing-mark=10.10.20.165        passthrough=yes
add chain=prerouting src-address=10.10.20.166 action=mark-routing new-routing-mark=10.10.20.166        passthrough=yes
add chain=prerouting src-address=10.10.20.167 action=mark-routing new-routing-mark=10.10.20.167        passthrough=yes
add chain=prerouting src-address=10.10.20.168 action=mark-routing new-routing-mark=10.10.20.168        passthrough=yes
add chain=prerouting src-address=10.10.20.169 action=mark-routing new-routing-mark=10.10.20.169        passthrough=yes
add chain=prerouting src-address=10.10.20.170 action=mark-routing new-routing-mark=10.10.20.170        passthrough=yes
add chain=prerouting src-address=10.10.20.171 action=mark-routing new-routing-mark=10.10.20.171        passthrough=yes
add chain=prerouting src-address=10.10.20.172 action=mark-routing new-routing-mark=10.10.20.172        passthrough=yes
add chain=prerouting src-address=10.10.20.173 action=mark-routing new-routing-mark=10.10.20.173        passthrough=yes
add chain=prerouting src-address=10.10.20.174 action=mark-routing new-routing-mark=10.10.20.174        passthrough=yes
add chain=prerouting src-address=10.10.20.175 action=mark-routing new-routing-mark=10.10.20.175        passthrough=yes
add chain=prerouting src-address=10.10.20.176 action=mark-routing new-routing-mark=10.10.20.176        passthrough=yes
add chain=prerouting src-address=10.10.20.177 action=mark-routing new-routing-mark=10.10.20.177        passthrough=yes
add chain=prerouting src-address=10.10.20.178 action=mark-routing new-routing-mark=10.10.20.178        passthrough=yes
add chain=prerouting src-address=10.10.20.179 action=mark-routing new-routing-mark=10.10.20.179        passthrough=yes
add chain=prerouting src-address=10.10.20.180 action=mark-routing new-routing-mark=10.10.20.180        passthrough=yes
add chain=prerouting src-address=10.10.20.181 action=mark-routing new-routing-mark=10.10.20.181        passthrough=yes
add chain=prerouting src-address=10.10.20.182 action=mark-routing new-routing-mark=10.10.20.182        passthrough=yes
add chain=prerouting src-address=10.10.20.183 action=mark-routing new-routing-mark=10.10.20.183        passthrough=yes
add chain=prerouting src-address=10.10.20.184 action=mark-routing new-routing-mark=10.10.20.184        passthrough=yes
add chain=prerouting src-address=10.10.20.185 action=mark-routing new-routing-mark=10.10.20.185        passthrough=yes
add chain=prerouting src-address=10.10.20.186 action=mark-routing new-routing-mark=10.10.20.186        passthrough=yes
add chain=prerouting src-address=10.10.20.187 action=mark-routing new-routing-mark=10.10.20.187        passthrough=yes
add chain=prerouting src-address=10.10.20.188 action=mark-routing new-routing-mark=10.10.20.188        passthrough=yes
add chain=prerouting src-address=10.10.20.189 action=mark-routing new-routing-mark=10.10.20.189        passthrough=yes
add chain=prerouting src-address=10.10.20.190 action=mark-routing new-routing-mark=10.10.20.190        passthrough=yes
add chain=prerouting src-address=10.10.20.191 action=mark-routing new-routing-mark=10.10.20.191        passthrough=yes
add chain=prerouting src-address=10.10.20.192 action=mark-routing new-routing-mark=10.10.20.192        passthrough=yes
add chain=prerouting src-address=10.10.20.193 action=mark-routing new-routing-mark=10.10.20.193        passthrough=yes
add chain=prerouting src-address=10.10.20.194 action=mark-routing new-routing-mark=10.10.20.194        passthrough=yes
add chain=prerouting src-address=10.10.20.195 action=mark-routing new-routing-mark=10.10.20.195        passthrough=yes
add chain=prerouting src-address=10.10.20.196 action=mark-routing new-routing-mark=10.10.20.196        passthrough=yes
add chain=prerouting src-address=10.10.20.197 action=mark-routing new-routing-mark=10.10.20.197        passthrough=yes
add chain=prerouting src-address=10.10.20.198 action=mark-routing new-routing-mark=10.10.20.198        passthrough=yes
add chain=prerouting src-address=10.10.20.199 action=mark-routing new-routing-mark=10.10.20.199        passthrough=yes
add chain=prerouting src-address=10.10.20.200 action=mark-routing new-routing-mark=10.10.20.200        passthrough=yes
add chain=prerouting src-address=10.10.20.201 action=mark-routing new-routing-mark=10.10.20.201        passthrough=yes
add chain=prerouting src-address=10.10.20.202 action=mark-routing new-routing-mark=10.10.20.202        passthrough=yes
add chain=prerouting src-address=10.10.20.203 action=mark-routing new-routing-mark=10.10.20.203        passthrough=yes
add chain=prerouting src-address=10.10.20.204 action=mark-routing new-routing-mark=10.10.20.204        passthrough=yes
add chain=prerouting src-address=10.10.20.205 action=mark-routing new-routing-mark=10.10.20.205        passthrough=yes
add chain=prerouting src-address=10.10.20.206 action=mark-routing new-routing-mark=10.10.20.206        passthrough=yes
add chain=prerouting src-address=10.10.20.207 action=mark-routing new-routing-mark=10.10.20.207        passthrough=yes
add chain=prerouting src-address=10.10.20.208 action=mark-routing new-routing-mark=10.10.20.208        passthrough=yes
add chain=prerouting src-address=10.10.20.209 action=mark-routing new-routing-mark=10.10.20.209        passthrough=yes
add chain=prerouting src-address=10.10.20.210 action=mark-routing new-routing-mark=10.10.20.210        passthrough=yes
add chain=prerouting src-address=10.10.20.211 action=mark-routing new-routing-mark=10.10.20.211        passthrough=yes
add chain=prerouting src-address=10.10.20.212 action=mark-routing new-routing-mark=10.10.20.212        passthrough=yes
add chain=prerouting src-address=10.10.20.213 action=mark-routing new-routing-mark=10.10.20.213        passthrough=yes
add chain=prerouting src-address=10.10.20.214 action=mark-routing new-routing-mark=10.10.20.214        passthrough=yes
add chain=prerouting src-address=10.10.20.215 action=mark-routing new-routing-mark=10.10.20.215        passthrough=yes
add chain=prerouting src-address=10.10.20.216 action=mark-routing new-routing-mark=10.10.20.216        passthrough=yes
add chain=prerouting src-address=10.10.20.217 action=mark-routing new-routing-mark=10.10.20.217        passthrough=yes
add chain=prerouting src-address=10.10.20.218 action=mark-routing new-routing-mark=10.10.20.218        passthrough=yes
add chain=prerouting src-address=10.10.20.219 action=mark-routing new-routing-mark=10.10.20.219        passthrough=yes
add chain=prerouting src-address=10.10.20.220 action=mark-routing new-routing-mark=10.10.20.220        passthrough=yes
add chain=prerouting src-address=10.10.20.221 action=mark-routing new-routing-mark=10.10.20.221        passthrough=yes
add chain=prerouting src-address=10.10.20.222 action=mark-routing new-routing-mark=10.10.20.222        passthrough=yes
add chain=prerouting src-address=10.10.20.223 action=mark-routing new-routing-mark=10.10.20.223        passthrough=yes
add chain=prerouting src-address=10.10.20.224 action=mark-routing new-routing-mark=10.10.20.224        passthrough=yes
add chain=prerouting src-address=10.10.20.225 action=mark-routing new-routing-mark=10.10.20.225        passthrough=yes
add chain=prerouting src-address=10.10.20.226 action=mark-routing new-routing-mark=10.10.20.226        passthrough=yes
add chain=prerouting src-address=10.10.20.227 action=mark-routing new-routing-mark=10.10.20.227        passthrough=yes
add chain=prerouting src-address=10.10.20.228 action=mark-routing new-routing-mark=10.10.20.228        passthrough=yes
add chain=prerouting src-address=10.10.20.229 action=mark-routing new-routing-mark=10.10.20.229        passthrough=yes
add chain=prerouting src-address=10.10.20.230 action=mark-routing new-routing-mark=10.10.20.230        passthrough=yes
add chain=prerouting src-address=10.10.20.231 action=mark-routing new-routing-mark=10.10.20.231        passthrough=yes
add chain=prerouting src-address=10.10.20.232 action=mark-routing new-routing-mark=10.10.20.232        passthrough=yes
add chain=prerouting src-address=10.10.20.233 action=mark-routing new-routing-mark=10.10.20.233        passthrough=yes
add chain=prerouting src-address=10.10.20.234 action=mark-routing new-routing-mark=10.10.20.234        passthrough=yes
add chain=prerouting src-address=10.10.20.235 action=mark-routing new-routing-mark=10.10.20.235        passthrough=yes
add chain=prerouting src-address=10.10.20.236 action=mark-routing new-routing-mark=10.10.20.236        passthrough=yes
add chain=prerouting src-address=10.10.20.237 action=mark-routing new-routing-mark=10.10.20.237        passthrough=yes
add chain=prerouting src-address=10.10.20.238 action=mark-routing new-routing-mark=10.10.20.238        passthrough=yes
add chain=prerouting src-address=10.10.20.239 action=mark-routing new-routing-mark=10.10.20.239        passthrough=yes
add chain=prerouting src-address=10.10.20.240 action=mark-routing new-routing-mark=10.10.20.240        passthrough=yes
add chain=prerouting src-address=10.10.20.241 action=mark-routing new-routing-mark=10.10.20.241        passthrough=yes
add chain=prerouting src-address=10.10.20.242 action=mark-routing new-routing-mark=10.10.20.242        passthrough=yes
add chain=prerouting src-address=10.10.20.243 action=mark-routing new-routing-mark=10.10.20.243        passthrough=yes
add chain=prerouting src-address=10.10.20.244 action=mark-routing new-routing-mark=10.10.20.244        passthrough=yes
add chain=prerouting src-address=10.10.20.245 action=mark-routing new-routing-mark=10.10.20.245        passthrough=yes
add chain=prerouting src-address=10.10.20.246 action=mark-routing new-routing-mark=10.10.20.246        passthrough=yes
add chain=prerouting src-address=10.10.20.247 action=mark-routing new-routing-mark=10.10.20.247        passthrough=yes
add chain=prerouting src-address=10.10.20.248 action=mark-routing new-routing-mark=10.10.20.248        passthrough=yes
add chain=prerouting src-address=10.10.20.249 action=mark-routing new-routing-mark=10.10.20.249        passthrough=yes
add chain=prerouting src-address=10.10.20.250 action=mark-routing new-routing-mark=10.10.20.250        passthrough=yes
add chain=prerouting src-address=10.10.20.251 action=mark-routing new-routing-mark=10.10.20.251        passthrough=yes
add chain=prerouting src-address=10.10.20.252 action=mark-routing new-routing-mark=10.10.20.252        passthrough=yes

routeros
 楼主| 发表于 2014-7-7 19:14:40 | 显示全部楼层
上面的代码出错了  重新发下

add chain=prerouting src-address=10.10.20.1 action=mark-routing new-routing-mark=10.10.20.1        passthrough=yes
add chain=prerouting src-address=10.10.20.2 action=mark-routing new-routing-mark=10.10.20.2        passthrough=yes
add chain=prerouting src-address=10.10.20.3 action=mark-routing new-routing-mark=10.10.20.3        passthrough=yes
add chain=prerouting src-address=10.10.20.4 action=mark-routing new-routing-mark=10.10.20.4        passthrough=yes
add chain=prerouting src-address=10.10.20.5 action=mark-routing new-routing-mark=10.10.20.5        passthrough=yes
add chain=prerouting src-address=10.10.20.6 action=mark-routing new-routing-mark=10.10.20.6        passthrough=yes
add chain=prerouting src-address=10.10.20.7 action=mark-routing new-routing-mark=10.10.20.7        passthrough=yes
add chain=prerouting src-address=10.10.20.8 action=mark-routing new-routing-mark=10.10.20.8        passthrough=yes
add chain=prerouting src-address=10.10.20.9 action=mark-routing new-routing-mark=10.10.20.9        passthrough=yes
add chain=prerouting src-address=10.10.20.10 action=mark-routing new-routing-mark=10.10.20.10        passthrough=yes
add chain=prerouting src-address=10.10.20.11 action=mark-routing new-routing-mark=10.10.20.11        passthrough=yes
add chain=prerouting src-address=10.10.20.12 action=mark-routing new-routing-mark=10.10.20.12        passthrough=yes
add chain=prerouting src-address=10.10.20.13 action=mark-routing new-routing-mark=10.10.20.13        passthrough=yes
add chain=prerouting src-address=10.10.20.14 action=mark-routing new-routing-mark=10.10.20.14        passthrough=yes
add chain=prerouting src-address=10.10.20.15 action=mark-routing new-routing-mark=10.10.20.15        passthrough=yes
add chain=prerouting src-address=10.10.20.16 action=mark-routing new-routing-mark=10.10.20.16        passthrough=yes
add chain=prerouting src-address=10.10.20.17 action=mark-routing new-routing-mark=10.10.20.17        passthrough=yes
add chain=prerouting src-address=10.10.20.18 action=mark-routing new-routing-mark=10.10.20.18        passthrough=yes
add chain=prerouting src-address=10.10.20.19 action=mark-routing new-routing-mark=10.10.20.19        passthrough=yes
add chain=prerouting src-address=10.10.20.20 action=mark-routing new-routing-mark=10.10.20.20        passthrough=yes
add chain=prerouting src-address=10.10.20.21 action=mark-routing new-routing-mark=10.10.20.21        passthrough=yes
add chain=prerouting src-address=10.10.20.22 action=mark-routing new-routing-mark=10.10.20.22        passthrough=yes
add chain=prerouting src-address=10.10.20.23 action=mark-routing new-routing-mark=10.10.20.23        passthrough=yes
add chain=prerouting src-address=10.10.20.24 action=mark-routing new-routing-mark=10.10.20.24        passthrough=yes
add chain=prerouting src-address=10.10.20.25 action=mark-routing new-routing-mark=10.10.20.25        passthrough=yes
add chain=prerouting src-address=10.10.20.26 action=mark-routing new-routing-mark=10.10.20.26        passthrough=yes
add chain=prerouting src-address=10.10.20.27 action=mark-routing new-routing-mark=10.10.20.27        passthrough=yes
add chain=prerouting src-address=10.10.20.28 action=mark-routing new-routing-mark=10.10.20.28        passthrough=yes
add chain=prerouting src-address=10.10.20.29 action=mark-routing new-routing-mark=10.10.20.29        passthrough=yes
add chain=prerouting src-address=10.10.20.30 action=mark-routing new-routing-mark=10.10.20.30        passthrough=yes
add chain=prerouting src-address=10.10.20.31 action=mark-routing new-routing-mark=10.10.20.31        passthrough=yes
add chain=prerouting src-address=10.10.20.32 action=mark-routing new-routing-mark=10.10.20.32        passthrough=yes
add chain=prerouting src-address=10.10.20.33 action=mark-routing new-routing-mark=10.10.20.33        passthrough=yes
add chain=prerouting src-address=10.10.20.34 action=mark-routing new-routing-mark=10.10.20.34        passthrough=yes
add chain=prerouting src-address=10.10.20.35 action=mark-routing new-routing-mark=10.10.20.35        passthrough=yes
add chain=prerouting src-address=10.10.20.36 action=mark-routing new-routing-mark=10.10.20.36        passthrough=yes
add chain=prerouting src-address=10.10.20.37 action=mark-routing new-routing-mark=10.10.20.37        passthrough=yes
add chain=prerouting src-address=10.10.20.38 action=mark-routing new-routing-mark=10.10.20.38        passthrough=yes
add chain=prerouting src-address=10.10.20.39 action=mark-routing new-routing-mark=10.10.20.39        passthrough=yes
add chain=prerouting src-address=10.10.20.40 action=mark-routing new-routing-mark=10.10.20.40        passthrough=yes
add chain=prerouting src-address=10.10.20.41 action=mark-routing new-routing-mark=10.10.20.41        passthrough=yes
add chain=prerouting src-address=10.10.20.42 action=mark-routing new-routing-mark=10.10.20.42        passthrough=yes
add chain=prerouting src-address=10.10.20.43 action=mark-routing new-routing-mark=10.10.20.43        passthrough=yes
add chain=prerouting src-address=10.10.20.44 action=mark-routing new-routing-mark=10.10.20.44        passthrough=yes
add chain=prerouting src-address=10.10.20.45 action=mark-routing new-routing-mark=10.10.20.45        passthrough=yes
add chain=prerouting src-address=10.10.20.46 action=mark-routing new-routing-mark=10.10.20.46        passthrough=yes
add chain=prerouting src-address=10.10.20.47 action=mark-routing new-routing-mark=10.10.20.47        passthrough=yes
add chain=prerouting src-address=10.10.20.48 action=mark-routing new-routing-mark=10.10.20.48        passthrough=yes
add chain=prerouting src-address=10.10.20.49 action=mark-routing new-routing-mark=10.10.20.49        passthrough=yes
add chain=prerouting src-address=10.10.20.50 action=mark-routing new-routing-mark=10.10.20.50        passthrough=yes
add chain=prerouting src-address=10.10.20.51 action=mark-routing new-routing-mark=10.10.20.51        passthrough=yes
add chain=prerouting src-address=10.10.20.52 action=mark-routing new-routing-mark=10.10.20.52        passthrough=yes
add chain=prerouting src-address=10.10.20.53 action=mark-routing new-routing-mark=10.10.20.53        passthrough=yes
add chain=prerouting src-address=10.10.20.54 action=mark-routing new-routing-mark=10.10.20.54        passthrough=yes
add chain=prerouting src-address=10.10.20.55 action=mark-routing new-routing-mark=10.10.20.55        passthrough=yes
add chain=prerouting src-address=10.10.20.56 action=mark-routing new-routing-mark=10.10.20.56        passthrough=yes
add chain=prerouting src-address=10.10.20.57 action=mark-routing new-routing-mark=10.10.20.57        passthrough=yes
add chain=prerouting src-address=10.10.20.58 action=mark-routing new-routing-mark=10.10.20.58        passthrough=yes
add chain=prerouting src-address=10.10.20.59 action=mark-routing new-routing-mark=10.10.20.59        passthrough=yes
add chain=prerouting src-address=10.10.20.60 action=mark-routing new-routing-mark=10.10.20.60        passthrough=yes
add chain=prerouting src-address=10.10.20.61 action=mark-routing new-routing-mark=10.10.20.61        passthrough=yes
add chain=prerouting src-address=10.10.20.62 action=mark-routing new-routing-mark=10.10.20.62        passthrough=yes
add chain=prerouting src-address=10.10.20.63 action=mark-routing new-routing-mark=10.10.20.63        passthrough=yes
add chain=prerouting src-address=10.10.20.64 action=mark-routing new-routing-mark=10.10.20.64        passthrough=yes
add chain=prerouting src-address=10.10.20.65 action=mark-routing new-routing-mark=10.10.20.65        passthrough=yes
add chain=prerouting src-address=10.10.20.66 action=mark-routing new-routing-mark=10.10.20.66        passthrough=yes
add chain=prerouting src-address=10.10.20.67 action=mark-routing new-routing-mark=10.10.20.67        passthrough=yes
add chain=prerouting src-address=10.10.20.68 action=mark-routing new-routing-mark=10.10.20.68        passthrough=yes
add chain=prerouting src-address=10.10.20.69 action=mark-routing new-routing-mark=10.10.20.69        passthrough=yes
add chain=prerouting src-address=10.10.20.70 action=mark-routing new-routing-mark=10.10.20.70        passthrough=yes
add chain=prerouting src-address=10.10.20.71 action=mark-routing new-routing-mark=10.10.20.71        passthrough=yes
add chain=prerouting src-address=10.10.20.72 action=mark-routing new-routing-mark=10.10.20.72        passthrough=yes
add chain=prerouting src-address=10.10.20.73 action=mark-routing new-routing-mark=10.10.20.73        passthrough=yes
add chain=prerouting src-address=10.10.20.74 action=mark-routing new-routing-mark=10.10.20.74        passthrough=yes
add chain=prerouting src-address=10.10.20.75 action=mark-routing new-routing-mark=10.10.20.75        passthrough=yes
add chain=prerouting src-address=10.10.20.76 action=mark-routing new-routing-mark=10.10.20.76        passthrough=yes
add chain=prerouting src-address=10.10.20.77 action=mark-routing new-routing-mark=10.10.20.77        passthrough=yes
add chain=prerouting src-address=10.10.20.78 action=mark-routing new-routing-mark=10.10.20.78        passthrough=yes
add chain=prerouting src-address=10.10.20.79 action=mark-routing new-routing-mark=10.10.20.79        passthrough=yes
add chain=prerouting src-address=10.10.20.80 action=mark-routing new-routing-mark=10.10.20.80        passthrough=yes
add chain=prerouting src-address=10.10.20.81 action=mark-routing new-routing-mark=10.10.20.81        passthrough=yes
add chain=prerouting src-address=10.10.20.82 action=mark-routing new-routing-mark=10.10.20.82        passthrough=yes
add chain=prerouting src-address=10.10.20.83 action=mark-routing new-routing-mark=10.10.20.83        passthrough=yes
add chain=prerouting src-address=10.10.20.84 action=mark-routing new-routing-mark=10.10.20.84        passthrough=yes
add chain=prerouting src-address=10.10.20.85 action=mark-routing new-routing-mark=10.10.20.85        passthrough=yes
add chain=prerouting src-address=10.10.20.86 action=mark-routing new-routing-mark=10.10.20.86        passthrough=yes
add chain=prerouting src-address=10.10.20.87 action=mark-routing new-routing-mark=10.10.20.87        passthrough=yes
add chain=prerouting src-address=10.10.20.88 action=mark-routing new-routing-mark=10.10.20.88        passthrough=yes
add chain=prerouting src-address=10.10.20.89 action=mark-routing new-routing-mark=10.10.20.89        passthrough=yes
add chain=prerouting src-address=10.10.20.90 action=mark-routing new-routing-mark=10.10.20.90        passthrough=yes
add chain=prerouting src-address=10.10.20.91 action=mark-routing new-routing-mark=10.10.20.91        passthrough=yes
add chain=prerouting src-address=10.10.20.92 action=mark-routing new-routing-mark=10.10.20.92        passthrough=yes
add chain=prerouting src-address=10.10.20.93 action=mark-routing new-routing-mark=10.10.20.93        passthrough=yes
add chain=prerouting src-address=10.10.20.94 action=mark-routing new-routing-mark=10.10.20.94        passthrough=yes
add chain=prerouting src-address=10.10.20.95 action=mark-routing new-routing-mark=10.10.20.95        passthrough=yes
add chain=prerouting src-address=10.10.20.96 action=mark-routing new-routing-mark=10.10.20.96        passthrough=yes
add chain=prerouting src-address=10.10.20.97 action=mark-routing new-routing-mark=10.10.20.97        passthrough=yes
add chain=prerouting src-address=10.10.20.98 action=mark-routing new-routing-mark=10.10.20.98        passthrough=yes
add chain=prerouting src-address=10.10.20.99 action=mark-routing new-routing-mark=10.10.20.99        passthrough=yes
add chain=prerouting src-address=10.10.20.100 action=mark-routing new-routing-mark=10.10.20.100        passthrough=yes
add chain=prerouting src-address=10.10.20.101 action=mark-routing new-routing-mark=10.10.20.101        passthrough=yes
add chain=prerouting src-address=10.10.20.102 action=mark-routing new-routing-mark=10.10.20.102        passthrough=yes
add chain=prerouting src-address=10.10.20.103 action=mark-routing new-routing-mark=10.10.20.103        passthrough=yes
add chain=prerouting src-address=10.10.20.104 action=mark-routing new-routing-mark=10.10.20.104        passthrough=yes
add chain=prerouting src-address=10.10.20.105 action=mark-routing new-routing-mark=10.10.20.105        passthrough=yes
add chain=prerouting src-address=10.10.20.106 action=mark-routing new-routing-mark=10.10.20.106        passthrough=yes
add chain=prerouting src-address=10.10.20.107 action=mark-routing new-routing-mark=10.10.20.107        passthrough=yes
add chain=prerouting src-address=10.10.20.108 action=mark-routing new-routing-mark=10.10.20.108        passthrough=yes
add chain=prerouting src-address=10.10.20.109 action=mark-routing new-routing-mark=10.10.20.109        passthrough=yes
add chain=prerouting src-address=10.10.20.110 action=mark-routing new-routing-mark=10.10.20.110        passthrough=yes
add chain=prerouting src-address=10.10.20.111 action=mark-routing new-routing-mark=10.10.20.111        passthrough=yes
add chain=prerouting src-address=10.10.20.112 action=mark-routing new-routing-mark=10.10.20.112        passthrough=yes
add chain=prerouting src-address=10.10.20.113 action=mark-routing new-routing-mark=10.10.20.113        passthrough=yes
add chain=prerouting src-address=10.10.20.114 action=mark-routing new-routing-mark=10.10.20.114        passthrough=yes
add chain=prerouting src-address=10.10.20.115 action=mark-routing new-routing-mark=10.10.20.115        passthrough=yes
add chain=prerouting src-address=10.10.20.116 action=mark-routing new-routing-mark=10.10.20.116        passthrough=yes
add chain=prerouting src-address=10.10.20.117 action=mark-routing new-routing-mark=10.10.20.117        passthrough=yes
add chain=prerouting src-address=10.10.20.118 action=mark-routing new-routing-mark=10.10.20.118        passthrough=yes
add chain=prerouting src-address=10.10.20.119 action=mark-routing new-routing-mark=10.10.20.119        passthrough=yes
add chain=prerouting src-address=10.10.20.120 action=mark-routing new-routing-mark=10.10.20.120        passthrough=yes
add chain=prerouting src-address=10.10.20.121 action=mark-routing new-routing-mark=10.10.20.121        passthrough=yes
add chain=prerouting src-address=10.10.20.122 action=mark-routing new-routing-mark=10.10.20.122        passthrough=yes
add chain=prerouting src-address=10.10.20.123 action=mark-routing new-routing-mark=10.10.20.123        passthrough=yes
add chain=prerouting src-address=10.10.20.124 action=mark-routing new-routing-mark=10.10.20.124        passthrough=yes
add chain=prerouting src-address=10.10.20.125 action=mark-routing new-routing-mark=10.10.20.125        passthrough=yes
add chain=prerouting src-address=10.10.20.126 action=mark-routing new-routing-mark=10.10.20.126        passthrough=yes
add chain=prerouting src-address=10.10.20.127 action=mark-routing new-routing-mark=10.10.20.127        passthrough=yes
add chain=prerouting src-address=10.10.20.128 action=mark-routing new-routing-mark=10.10.20.128        passthrough=yes
add chain=prerouting src-address=10.10.20.129 action=mark-routing new-routing-mark=10.10.20.129        passthrough=yes
add chain=prerouting src-address=10.10.20.130 action=mark-routing new-routing-mark=10.10.20.130        passthrough=yes
add chain=prerouting src-address=10.10.20.131 action=mark-routing new-routing-mark=10.10.20.131        passthrough=yes
add chain=prerouting src-address=10.10.20.132 action=mark-routing new-routing-mark=10.10.20.132        passthrough=yes
add chain=prerouting src-address=10.10.20.133 action=mark-routing new-routing-mark=10.10.20.133        passthrough=yes
add chain=prerouting src-address=10.10.20.134 action=mark-routing new-routing-mark=10.10.20.134        passthrough=yes
add chain=prerouting src-address=10.10.20.135 action=mark-routing new-routing-mark=10.10.20.135        passthrough=yes
add chain=prerouting src-address=10.10.20.136 action=mark-routing new-routing-mark=10.10.20.136        passthrough=yes
add chain=prerouting src-address=10.10.20.137 action=mark-routing new-routing-mark=10.10.20.137        passthrough=yes
add chain=prerouting src-address=10.10.20.138 action=mark-routing new-routing-mark=10.10.20.138        passthrough=yes
add chain=prerouting src-address=10.10.20.139 action=mark-routing new-routing-mark=10.10.20.139        passthrough=yes
add chain=prerouting src-address=10.10.20.140 action=mark-routing new-routing-mark=10.10.20.140        passthrough=yes
add chain=prerouting src-address=10.10.20.141 action=mark-routing new-routing-mark=10.10.20.141        passthrough=yes
add chain=prerouting src-address=10.10.20.142 action=mark-routing new-routing-mark=10.10.20.142        passthrough=yes
add chain=prerouting src-address=10.10.20.143 action=mark-routing new-routing-mark=10.10.20.143        passthrough=yes
add chain=prerouting src-address=10.10.20.144 action=mark-routing new-routing-mark=10.10.20.144        passthrough=yes
add chain=prerouting src-address=10.10.20.145 action=mark-routing new-routing-mark=10.10.20.145        passthrough=yes
add chain=prerouting src-address=10.10.20.146 action=mark-routing new-routing-mark=10.10.20.146        passthrough=yes
add chain=prerouting src-address=10.10.20.147 action=mark-routing new-routing-mark=10.10.20.147        passthrough=yes
add chain=prerouting src-address=10.10.20.148 action=mark-routing new-routing-mark=10.10.20.148        passthrough=yes
add chain=prerouting src-address=10.10.20.149 action=mark-routing new-routing-mark=10.10.20.149        passthrough=yes
add chain=prerouting src-address=10.10.20.150 action=mark-routing new-routing-mark=10.10.20.150        passthrough=yes
add chain=prerouting src-address=10.10.20.151 action=mark-routing new-routing-mark=10.10.20.151        passthrough=yes
add chain=prerouting src-address=10.10.20.152 action=mark-routing new-routing-mark=10.10.20.152        passthrough=yes
add chain=prerouting src-address=10.10.20.153 action=mark-routing new-routing-mark=10.10.20.153        passthrough=yes
add chain=prerouting src-address=10.10.20.154 action=mark-routing new-routing-mark=10.10.20.154        passthrough=yes
add chain=prerouting src-address=10.10.20.155 action=mark-routing new-routing-mark=10.10.20.155        passthrough=yes
add chain=prerouting src-address=10.10.20.156 action=mark-routing new-routing-mark=10.10.20.156        passthrough=yes
add chain=prerouting src-address=10.10.20.157 action=mark-routing new-routing-mark=10.10.20.157        passthrough=yes
add chain=prerouting src-address=10.10.20.158 action=mark-routing new-routing-mark=10.10.20.158        passthrough=yes
add chain=prerouting src-address=10.10.20.159 action=mark-routing new-routing-mark=10.10.20.159        passthrough=yes
add chain=prerouting src-address=10.10.20.160 action=mark-routing new-routing-mark=10.10.20.160        passthrough=yes
add chain=prerouting src-address=10.10.20.161 action=mark-routing new-routing-mark=10.10.20.161        passthrough=yes
add chain=prerouting src-address=10.10.20.162 action=mark-routing new-routing-mark=10.10.20.162        passthrough=yes
add chain=prerouting src-address=10.10.20.163 action=mark-routing new-routing-mark=10.10.20.163        passthrough=yes
add chain=prerouting src-address=10.10.20.164 action=mark-routing new-routing-mark=10.10.20.164        passthrough=yes
add chain=prerouting src-address=10.10.20.165 action=mark-routing new-routing-mark=10.10.20.165        passthrough=yes
add chain=prerouting src-address=10.10.20.166 action=mark-routing new-routing-mark=10.10.20.166        passthrough=yes
add chain=prerouting src-address=10.10.20.167 action=mark-routing new-routing-mark=10.10.20.167        passthrough=yes
add chain=prerouting src-address=10.10.20.168 action=mark-routing new-routing-mark=10.10.20.168        passthrough=yes
add chain=prerouting src-address=10.10.20.169 action=mark-routing new-routing-mark=10.10.20.169        passthrough=yes
add chain=prerouting src-address=10.10.20.170 action=mark-routing new-routing-mark=10.10.20.170        passthrough=yes
add chain=prerouting src-address=10.10.20.171 action=mark-routing new-routing-mark=10.10.20.171        passthrough=yes
add chain=prerouting src-address=10.10.20.172 action=mark-routing new-routing-mark=10.10.20.172        passthrough=yes
add chain=prerouting src-address=10.10.20.173 action=mark-routing new-routing-mark=10.10.20.173        passthrough=yes
add chain=prerouting src-address=10.10.20.174 action=mark-routing new-routing-mark=10.10.20.174        passthrough=yes
add chain=prerouting src-address=10.10.20.175 action=mark-routing new-routing-mark=10.10.20.175        passthrough=yes
add chain=prerouting src-address=10.10.20.176 action=mark-routing new-routing-mark=10.10.20.176        passthrough=yes
add chain=prerouting src-address=10.10.20.177 action=mark-routing new-routing-mark=10.10.20.177        passthrough=yes
add chain=prerouting src-address=10.10.20.178 action=mark-routing new-routing-mark=10.10.20.178        passthrough=yes
add chain=prerouting src-address=10.10.20.179 action=mark-routing new-routing-mark=10.10.20.179        passthrough=yes
add chain=prerouting src-address=10.10.20.180 action=mark-routing new-routing-mark=10.10.20.180        passthrough=yes
add chain=prerouting src-address=10.10.20.181 action=mark-routing new-routing-mark=10.10.20.181        passthrough=yes
add chain=prerouting src-address=10.10.20.182 action=mark-routing new-routing-mark=10.10.20.182        passthrough=yes
add chain=prerouting src-address=10.10.20.183 action=mark-routing new-routing-mark=10.10.20.183        passthrough=yes
add chain=prerouting src-address=10.10.20.184 action=mark-routing new-routing-mark=10.10.20.184        passthrough=yes
add chain=prerouting src-address=10.10.20.185 action=mark-routing new-routing-mark=10.10.20.185        passthrough=yes
add chain=prerouting src-address=10.10.20.186 action=mark-routing new-routing-mark=10.10.20.186        passthrough=yes
add chain=prerouting src-address=10.10.20.187 action=mark-routing new-routing-mark=10.10.20.187        passthrough=yes
add chain=prerouting src-address=10.10.20.188 action=mark-routing new-routing-mark=10.10.20.188        passthrough=yes
add chain=prerouting src-address=10.10.20.189 action=mark-routing new-routing-mark=10.10.20.189        passthrough=yes
add chain=prerouting src-address=10.10.20.190 action=mark-routing new-routing-mark=10.10.20.190        passthrough=yes
add chain=prerouting src-address=10.10.20.191 action=mark-routing new-routing-mark=10.10.20.191        passthrough=yes
add chain=prerouting src-address=10.10.20.192 action=mark-routing new-routing-mark=10.10.20.192        passthrough=yes
add chain=prerouting src-address=10.10.20.193 action=mark-routing new-routing-mark=10.10.20.193        passthrough=yes
add chain=prerouting src-address=10.10.20.194 action=mark-routing new-routing-mark=10.10.20.194        passthrough=yes
add chain=prerouting src-address=10.10.20.195 action=mark-routing new-routing-mark=10.10.20.195        passthrough=yes
add chain=prerouting src-address=10.10.20.196 action=mark-routing new-routing-mark=10.10.20.196        passthrough=yes
add chain=prerouting src-address=10.10.20.197 action=mark-routing new-routing-mark=10.10.20.197        passthrough=yes
add chain=prerouting src-address=10.10.20.198 action=mark-routing new-routing-mark=10.10.20.198        passthrough=yes
add chain=prerouting src-address=10.10.20.199 action=mark-routing new-routing-mark=10.10.20.199        passthrough=yes
add chain=prerouting src-address=10.10.20.200 action=mark-routing new-routing-mark=10.10.20.200        passthrough=yes
add chain=prerouting src-address=10.10.20.201 action=mark-routing new-routing-mark=10.10.20.201        passthrough=yes
add chain=prerouting src-address=10.10.20.202 action=mark-routing new-routing-mark=10.10.20.202        passthrough=yes
add chain=prerouting src-address=10.10.20.203 action=mark-routing new-routing-mark=10.10.20.203        passthrough=yes
add chain=prerouting src-address=10.10.20.204 action=mark-routing new-routing-mark=10.10.20.204        passthrough=yes
add chain=prerouting src-address=10.10.20.205 action=mark-routing new-routing-mark=10.10.20.205        passthrough=yes
add chain=prerouting src-address=10.10.20.206 action=mark-routing new-routing-mark=10.10.20.206        passthrough=yes
add chain=prerouting src-address=10.10.20.207 action=mark-routing new-routing-mark=10.10.20.207        passthrough=yes
add chain=prerouting src-address=10.10.20.208 action=mark-routing new-routing-mark=10.10.20.208        passthrough=yes
add chain=prerouting src-address=10.10.20.209 action=mark-routing new-routing-mark=10.10.20.209        passthrough=yes
add chain=prerouting src-address=10.10.20.210 action=mark-routing new-routing-mark=10.10.20.210        passthrough=yes
add chain=prerouting src-address=10.10.20.211 action=mark-routing new-routing-mark=10.10.20.211        passthrough=yes
add chain=prerouting src-address=10.10.20.212 action=mark-routing new-routing-mark=10.10.20.212        passthrough=yes
add chain=prerouting src-address=10.10.20.213 action=mark-routing new-routing-mark=10.10.20.213        passthrough=yes
add chain=prerouting src-address=10.10.20.214 action=mark-routing new-routing-mark=10.10.20.214        passthrough=yes
add chain=prerouting src-address=10.10.20.215 action=mark-routing new-routing-mark=10.10.20.215        passthrough=yes
add chain=prerouting src-address=10.10.20.216 action=mark-routing new-routing-mark=10.10.20.216        passthrough=yes
add chain=prerouting src-address=10.10.20.217 action=mark-routing new-routing-mark=10.10.20.217        passthrough=yes
add chain=prerouting src-address=10.10.20.218 action=mark-routing new-routing-mark=10.10.20.218        passthrough=yes
add chain=prerouting src-address=10.10.20.219 action=mark-routing new-routing-mark=10.10.20.219        passthrough=yes
add chain=prerouting src-address=10.10.20.220 action=mark-routing new-routing-mark=10.10.20.220        passthrough=yes
add chain=prerouting src-address=10.10.20.221 action=mark-routing new-routing-mark=10.10.20.221        passthrough=yes
add chain=prerouting src-address=10.10.20.222 action=mark-routing new-routing-mark=10.10.20.222        passthrough=yes
add chain=prerouting src-address=10.10.20.223 action=mark-routing new-routing-mark=10.10.20.223        passthrough=yes
add chain=prerouting src-address=10.10.20.224 action=mark-routing new-routing-mark=10.10.20.224        passthrough=yes
add chain=prerouting src-address=10.10.20.225 action=mark-routing new-routing-mark=10.10.20.225        passthrough=yes
add chain=prerouting src-address=10.10.20.226 action=mark-routing new-routing-mark=10.10.20.226        passthrough=yes
add chain=prerouting src-address=10.10.20.227 action=mark-routing new-routing-mark=10.10.20.227        passthrough=yes
add chain=prerouting src-address=10.10.20.228 action=mark-routing new-routing-mark=10.10.20.228        passthrough=yes
add chain=prerouting src-address=10.10.20.229 action=mark-routing new-routing-mark=10.10.20.229        passthrough=yes
add chain=prerouting src-address=10.10.20.230 action=mark-routing new-routing-mark=10.10.20.230        passthrough=yes
add chain=prerouting src-address=10.10.20.231 action=mark-routing new-routing-mark=10.10.20.231        passthrough=yes
add chain=prerouting src-address=10.10.20.232 action=mark-routing new-routing-mark=10.10.20.232        passthrough=yes
add chain=prerouting src-address=10.10.20.233 action=mark-routing new-routing-mark=10.10.20.233        passthrough=yes
add chain=prerouting src-address=10.10.20.234 action=mark-routing new-routing-mark=10.10.20.234        passthrough=yes
add chain=prerouting src-address=10.10.20.235 action=mark-routing new-routing-mark=10.10.20.235        passthrough=yes
add chain=prerouting src-address=10.10.20.236 action=mark-routing new-routing-mark=10.10.20.236        passthrough=yes
add chain=prerouting src-address=10.10.20.237 action=mark-routing new-routing-mark=10.10.20.237        passthrough=yes
add chain=prerouting src-address=10.10.20.238 action=mark-routing new-routing-mark=10.10.20.238        passthrough=yes
add chain=prerouting src-address=10.10.20.239 action=mark-routing new-routing-mark=10.10.20.239        passthrough=yes
add chain=prerouting src-address=10.10.20.240 action=mark-routing new-routing-mark=10.10.20.240        passthrough=yes
add chain=prerouting src-address=10.10.20.241 action=mark-routing new-routing-mark=10.10.20.241        passthrough=yes
add chain=prerouting src-address=10.10.20.242 action=mark-routing new-routing-mark=10.10.20.242        passthrough=yes
add chain=prerouting src-address=10.10.20.243 action=mark-routing new-routing-mark=10.10.20.243        passthrough=yes
add chain=prerouting src-address=10.10.20.244 action=mark-routing new-routing-mark=10.10.20.244        passthrough=yes
add chain=prerouting src-address=10.10.20.245 action=mark-routing new-routing-mark=10.10.20.245        passthrough=yes
add chain=prerouting src-address=10.10.20.246 action=mark-routing new-routing-mark=10.10.20.246        passthrough=yes
add chain=prerouting src-address=10.10.20.247 action=mark-routing new-routing-mark=10.10.20.247        passthrough=yes
add chain=prerouting src-address=10.10.20.248 action=mark-routing new-routing-mark=10.10.20.248        passthrough=yes
add chain=prerouting src-address=10.10.20.249 action=mark-routing new-routing-mark=10.10.20.249        passthrough=yes
add chain=prerouting src-address=10.10.20.250 action=mark-routing new-routing-mark=10.10.20.250        passthrough=yes
add chain=prerouting src-address=10.10.20.251 action=mark-routing new-routing-mark=10.10.20.251        passthrough=yes
add chain=prerouting src-address=10.10.20.252 action=mark-routing new-routing-mark=10.10.20.252        passthrough=yes
routeros
回复

使用道具 举报

 楼主| 发表于 2014-7-7 19:16:07 | 显示全部楼层
测试3.30 不能超过253条
测试5.20 不能超过232条
测试5.22 不能超过253条
routeros
回复

使用道具 举报

发表于 2014-7-7 19:50:36 | 显示全部楼层
本帖最后由 jike106397 于 2014-7-7 19:53 编辑

拨号换IP的吧。。。。
MARK-ROUTING,的标记是用一个字节来做的,共2^8=256个,推测是这样的。实际测试往往达到250个不错了。
routeros
回复

使用道具 举报

 楼主| 发表于 2014-7-8 08:33:48 | 显示全部楼层
jike106397 发表于 2014-7-7 19:50
拨号换IP的吧。。。。
MARK-ROUTING,的标记是用一个字节来做的,共2^8=256个,推测是这样的。实际测试往 ...

具体是怎样操作能明示下吗?

现在是pppoe拨号  换成ip是让用户获取ip上网?
routeros
回复

使用道具 举报

发表于 2014-7-8 15:50:34 | 显示全部楼层
本帖最后由 jike106397 于 2014-7-8 16:40 编辑

aaaaaaaaaaa
routeros
回复

使用道具 举报

 楼主| 发表于 2014-7-8 16:25:06 | 显示全部楼层
jike106397 发表于 2014-7-8 15:50
客户那个江西人么,有时冒充湖南的
最好别理他,沟通困难。我这儿有做好的,就是没有给他做,他去年找了 ...

?????????????????
说的莫名其妙,我自己搞技术的,我山东人,当地的一个游戏工作室做的ros需要调试这个问题,您要是有思路就说出来看看呗

我自己目前正在研究虚拟机虚拟多台ros解决。
routeros
回复

使用道具 举报

发表于 2014-7-8 16:39:54 | 显示全部楼层
本帖最后由 jike106397 于 2014-7-8 16:48 编辑
pauzn 发表于 2014-7-8 16:25
?????????????????
说的莫名其妙,我自己搞技术的,我山东人,当地的一个游戏工作室做的ros需要调试这个 ...

我收回,
你要做的是什么,详细说下。

routeros
回复

使用道具 举报

发表于 2014-7-8 16:42:08 | 显示全部楼层
标记就这么多,如果要解决的话,就是用脚本把没有用的标记动态删除,这样加新的。
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-23 03:47 , Processed in 0.108340 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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