From: "Eduardo Bejar" Date: Sat, 02 Jul 2005 18:54:28 +0000 Subject: [LARTC] Question regarding iptables marks for HTB Message-Id: <200507021851.j62Ip7N14224@mail.linkabu.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi, Currently I=B4m 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