RuggedCom RX1000 Network Router User Manual


 
RuggedRouter® User Guide
TC Classes
Interface Mark Minimum Maximum Priority Options
eth1 1 full/2 full 0
eth1 2 1kbit full 1 tcp-ack
eth1 3 full/5 full*5/10 2
eth1 4 1kbit full*5/10 3 default
TC Rules
Mark Source Destination Protocol Source
Port
Dest
Port
Test Length TOS
2 Any Any ICMP Any Any Any Any Any
RESTORE Any Any Any Any Any 0 Any Any
CONTINUE Any Any Any Any Any !0 Any Any
1 Any Any UDP 20000 Any Any Any Any
3 Any Any TCP Any 80 Any Any Any
4 Any Any Any Any Any 0 Any Any
SAVE Any Any Any Any Any !0 Any Any
The rules first check non connection-based protocol rules (ICMP in this case) in order
to assign a mark. For any packet that is still not marked, we attempt to restore a saved
mark for the connection. If at this point the packet has a mark set, we stop checking
rules (CONTINUE) since it is either ICMP or a packet from an existing connection
which we have already assigned a mark. If still no mark is assigned, it must be a new
connection so we process the packet through all the remaining rules to determine the
mark it should receive. At the end we save the new mark to the connection so that any
further packets for the connection do not have to go through all the rules again, in
order to save processing resources. We mark all packets with no other matching rule
to 4 since that represents the default class (as defined in TC Classes). This allows
explicit traffic control of even unspecified network connections.
130 RuggedCom