Hi,

Currently I´m using the following iptables rule to mark packets in order to
shape traffic:

iptables -A PREROUTING -i eth2 -t mangle -p tcp -s 192.168.1.50/32 -j MARK
--set-mark 50

So my question is, is there a limit in the numbers that can be used as
marks? And also, can only numbers be used as marks?

How about:

iptables -A PREROUTING -i eth2 -t mangle -p tcp -s 192.168.1.50/32 -j MARK
--set-mark 5424

or

iptables -A PREROUTING -i eth2 -t mangle -p tcp -s 192.168.1.50/32 -j MARK
--set-mark ABC

Same question for HTB tc rules' class id numbers and handle numbers.

Thanx,

Edo

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to