Community discussions

 
User avatar
kolorasta
Member Candidate
Member Candidate
Topic Author
Posts: 299
Joined: Sun Jun 25, 2006 11:55 pm
Location: Argentina

identify packets marked by another MT, is it possible?

Thu Feb 12, 2009 12:57 am

Is it possible to put a mark in some packets in one MT and identify those marked packets in another MT???

thanks
 
mknnoc
Trainer
Trainer
Posts: 227
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: identify packets marked by another MT, is it possible?

Thu Feb 12, 2009 4:03 am

you can use DSCP(TOS).
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: identify packets marked by another MT, is it possible?

Thu Feb 12, 2009 9:55 am

packet marks from mangle are only internal
 
User avatar
JJCinAZ
Member
Member
Posts: 473
Joined: Fri Oct 22, 2004 8:03 am
Location: Tucson, AZ
Contact:

Re: identify packets marked by another MT, is it possible?

Thu Feb 12, 2009 6:20 pm

Packet marks are really just values in a data structure holding the packet in the router internally. Only the packet itself is sent to an interface not anything else outside the packet (the packet mark is outside the packet). What mknnoc is suggesting is correct for a layer-3 model. In more detail, you first add a mangle rule stripping any DSCP value from the packets then you add a mangle rule matching a packet mark and force a new DSCP value on the packet. On the next router, you add a mangle rule matching the DSCP value and set a packet mark.

You can also use a layer-2 method but that involves overloading VLAN's and/or 802.11p bits to communicate the packet marks. The DSCP method is rather easy once you've worked out the details.

Who is online

Users browsing this forum: MSN [Bot] and 58 guests