Hello,
I’m trying to create a load balance solution for my home office, I read the wiki (http://wiki.mikrotik.com/wiki/Improved_Load_Balancing_over_Multiple_Gateways ) but when I put the code:
[admin@Router] /ip firewall mangle> add chain=prerouting in-interface=LAN1
connection-state=new nth=> 1,1,0 > \ action=mark-connection new-connection-mark=odd
passthrough=yes comment=“” \ disabled=no
invalid value 1,0 for packet, an integer required
[admin@Router] /ip firewall mangle>
The console sends me the error “invalid value 1,0”, (the 1,1,0 is bold to mark it only in this post, not in console).
Any idea?
Thanks,
Best regards
mrz
November 5, 2008, 1:26pm
2
I am trying to follow this example: http://wiki.mikrotik.com/wiki/Improved_Load_Balancing_over_Multiple_Gateways
I am using ROS 6.10
But when I try and run the following in terminal:
add chain=prerouting in-interface=ether3 connection-state=new nth=1,1,0 \
action=mark-connection new-connection-mark=odd passthrough=yes comment="" \
disabled=no
But I get the following error:
invalid value 1,0 for packet, an integer required
What do I need to do?
mrz
April 7, 2014, 10:33am
4
This is old configuration from v2.9.
New NTH is explained here
http://wiki.mikrotik.com/wiki/Manual:NTH_in_RouterOS_3.x
Thanks for the link, it makes a bit more sense now,
From what I read,
I will use one rule to catch half the traffic, Then my second must just accept everything? No nth? as only 50% is being passed through?
OR
/ip firewall mangle
add action=mark-packet chain=prerouting new-packet-mark=AAA nth=2,1 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=BBB nth=2,2 passthrough=yes;
Any suggestion on using this ?