Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-02-2011, 04:47 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 12

Rep: Reputation: 0
Iptables MARK

Hi all,
What is the maximum value I can use for packet marking in iptables? Is the mark using a single byte, so a maximum of 255 values?

I'm wanting to do some per IP addr traffic shaping with tc, and it looks as though the only method is to mark packets with iptables, and then send them to a class dedicated to that mark/IP pair. I have less than 255 known IP addresses so a max mark value of 255 won't be a problem.

Old 11-02-2011, 10:44 AM   #2
Registered: Sep 2011
Posts: 130

Rep: Reputation: Disabled
According to this:

It says:

"The MARK target lets us set a 32-bit value (or 0xFFFFFFFF) on a packet, which we can then look for later with the mark match. This in itself can be useful, but where it gets really handy is adding the values together."

But I've had trouble myself locating it in the official docs.

Hope that is some use.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables FORWARD mark problem m.mancio Linux - Networking 1 08-29-2011 06:11 PM
traffic shaping using tc and iptables fw mark jomen Linux - Networking 3 04-15-2010 06:14 AM
iptables MARK ImpactDNI Linux - Software 1 09-02-2006 01:40 PM
iptables mark combine with tc Kendo1979 Linux - Networking 2 11-14-2005 11:59 PM
iptables mark question paulos Linux - Networking 0 01-21-2004 07:20 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration