[LARTC] Question regarding iptables marks for HTB
Eduardo Bejar
wonka at linkabu.net
Sat Jul 2 20:54:28 CEST 2005
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
More information about the LARTC
mailing list