Community discussions

MikroTik App
 
angboontiong
Forum Guru
Forum Guru
Topic Author
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

double mangle marking and routing mark

Sun Jan 17, 2021 1:21 pm

Hi,
is there anyway to do double marking in mangle and double marking in ip route?
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: double mangle marking and routing mark

Sun Jan 17, 2021 11:02 pm

Can only have one mark.

What do you want to achieve, maybe another way of doing it?
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: double mangle marking and routing mark

Sun Jan 17, 2021 11:36 pm

It could be possible to use a scheme with combined marks. Clean connection would get "mark1", then to add "mark2", you'd have to check whether there's already "mark1" and depending on that you'd assign "mark2" or "mark1-mark2". And then you'd need basically duplicate rules to handle all these combined marks. It's probably doable with small amount of marks, but with more it would get terribly complicated really quickly. So probably not a good idea.
 
angboontiong
Forum Guru
Forum Guru
Topic Author
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: double mangle marking and routing mark - solved

Mon Jan 18, 2021 4:48 am

Can only have one mark.

What do you want to achieve, maybe another way of doing it?
Using passthrough solved the issue. Thanks

Who is online

Users browsing this forum: No registered users and 7 guests