Community discussions

MikroTik App
 
David1234
Forum Guru
Forum Guru
Topic Author
Posts: 1424
Joined: Sun Sep 18, 2011 7:00 pm

Load Balancer PCC on ROS7

Thu Aug 11, 2022 12:05 pm

Hello,
up until now I worked with ROS6x and the PC work great
I have upgrade to ROS 7.5
and I can't make it work
it's seem some setting are missing

this is what I have done until now:
/ip firewall mangle
add action=mark-connection chain=prerouting in-interface=lte1 \
    new-connection-mark=WAN1_conn
add action=mark-connection chain=prerouting in-interface=lte2 \
    new-connection-mark=WAN2_conn


add action=mark-routing chain=output comment=********** connection-mark=\
    WAN1_conn new-routing-mark=to_WAN1
add action=mark-routing chain=output connection-mark=WAN2_conn \
    new-routing-mark=to_WAN2

add chain=prerouting comment=lte1 dst-address=10.112.112.123 in-interface=\
    Local
add chain=prerouting comment=lte2 dst-address=10.112.112.121 in-interface=\
    Local

add action=mark-connection chain=prerouting comment=********** \
    dst-address-type=!local in-interface=Local new-connection-mark=WAN1_conn \
    per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Local new-connection-mark=WAN2_conn \
    per-connection-classifier=both-addresses-and-ports:2/1

add action=mark-routing chain=prerouting comment=********** connection-mark=\
    WAN1_conn in-interface=Local new-routing-mark=to_WAN1
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
    in-interface=Local new-routing-mark=to_WAN2

/ip firewall nat
add action=masquerade chain=srcnat out-interface=lte1
add action=masquerade chain=srcnat out-interface=lte2


/ip route
add check-gateway=ping distance=1 gateway=lte1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=lte2 routing-mark=to_WAN2

add check-gateway=ping distance=1 gateway=lte1
add check-gateway=ping distance=2 gateway=lte2
but now on there is no "new-routing-mark" - so I can't make this work
what can I do? how can I replace it
and how I make it work using 2 Modems?


Thanks,
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Load Balancer PCC on ROS7

Thu Aug 11, 2022 5:21 pm

There are a couple of differences in vers 7.0 ( where to find the entry for Tables, and Routing Rules! )

You have to select on the main WINBOX LIST OF FUNCTIONS, =====> Routing
It is below IPv6. Here you will find the entry spot to define tables and Routing Rules and a bunch of other settings.

As for New Routing Mark, no change from Vers6. Its not a pull down item but you will see the wording when you choose
ACTION ===> mark routing

...........
newroutermark.jpg
You do not have the required permissions to view the files attached to this post.
 
David1234
Forum Guru
Forum Guru
Topic Author
Posts: 1424
Joined: Sun Sep 18, 2011 7:00 pm

Re: Load Balancer PCC on ROS7

Sun Aug 14, 2022 10:46 am

Still can't see "New routing mark"

also what do I need to cahnge in the commands?
I want to make it run on script and not manually

Thanks,
 
caesartf
just joined
Posts: 1
Joined: Thu Sep 01, 2022 11:34 am

Re: Load Balancer PCC on ROS7

Thu Sep 01, 2022 11:38 am

same here from ROS 7.1.5 PCC is work fine, but when tried update to 7.2 , 7.2.2 and 7.4.1 no matter how i configured, PCC wont work
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Load Balancer PCC on ROS7

Thu Sep 01, 2022 10:45 pm

Still can't see "New routing mark"

also what do I need to cahnge in the commands?
I want to make it run on script and not manually

Thanks,
General Tab:
1. THere is a No mark available for packet mark.
2. There is not a selection for NO Routing mark in the Routing mark selection
3. The selections for Routing Mark are basically the available Tables and you will see that Table MAIN is already available.

but in this case...........
the selection of
NEW ROUTING MARK is made in ACTION TAB.
a. Select Action: Mark Routing
b. Then a Choice for New Routing Mark will become available.
But first create the table required.
/routing table add name=FROMWAN1 fib


If your PCC rule was to mark traffic with packets inboundWan1 and you wanted to assign them to routing mark FROMWAN1
add chain=prerouting action=mark-connection mark=no-mark new-connection-mark=inboundWAN1 passthrough=yes.............................. (add of course in interface or other identifying bits)
and then
add chain=prerouting action=mark-routing connection-mark=inboundWAN1 new-routing-mark=FROMWAN1 passthrough=yes ..................................

Under the action tab and new routing mark you will be able to select from the pull down table, either main or FROMWAN1...

Who is online

Users browsing this forum: Bing [Bot], Cloudtechiq [Bot], Google [Bot], GoogleOther [Bot], jookraw, st3lios and 72 guests