ROS 负载均衡

[xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-connection chain=input comment=("inputabc".$i) disabled=no in-interface=("pppoe-abc".$i) n
ew-connection-mark=("inabc".$i) passthrough=yes} 3                                                                        
expected end of command (line 1 column 201)
[xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-routing chain=output comment=("outabc".$i) connection-mark=("inabc".$i) disabled=no new-ro
uting-mark=("toabc".$i) passthrough=yes} 4                                                                                
expected end of command (line 1 column 193)
[xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-connection chain=prerouting comment=("conabc".$i) disabled=no dst-address-type=!local new-
connection-mark=("inabc".$i) passthrough=yes per-connection-classifier=("both-addresses:$z/".($i-1)) src-address-list=abc} 5
expected end of command (line 1 column 275)
[xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-routing chain=prerouting comment=("routabc".$i)  connection-mark=("inabc".$i) disabled=no
new-routing-mark=("toabc".$i) passthrough=yes src-address-list=abc} 6                                                       
expected end of command (line 1 column 220)
[xuan89@MikroTik] > :for i from=1 to=$z do= {/ip route add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=("pppoe-abc".$i) routing-mark=("toabc".$i)} 7   
expected end of command (line 1 column 148)                                                                                 
[xuan89@MikroTik] > :for i from=1 to=14 do= {/ip firewall mangle add action=mark-routing chain=prerouting comment=("routabc".$i)  connection-mark=("inabc".$i) disabled=no
new-routing-mark=("toabc".$i) passthrough=no src-address-list=abc} 8                                                        
expected end of command (line 1 column 219)

 

转载于:https://www.cnblogs.com/huninglei/p/5652234.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值