LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables: packet priority (https://www.linuxquestions.org/questions/linux-networking-3/iptables-packet-priority-52982/)

LiquidKernel 04-02-2003 01:28 AM

iptables: packet priority
 
I am trying to set the priority of the packets smaller than 64 bytes (namely, ACK packets). But am not sure of the right priority numbers for the MARK command.

Code:

/sbin/iptables -A POSTROUTING -t mangle -o eth1 -m length --length :64 -j MARK --set-mark 20
I read that 10 is the right number I should so, some people say 16, some say 20, but it still doesn't help the issue with ADSL and a saturated upstream.

Any help would be much appriciated.

Sutekh 04-23-2003 07:58 AM

As I understand it the mark is just an arbitary number that can be picked up by something like ip to do something with like load balancing or whatever.

You have to decide what you want to do with these marked packets.

you may want to check this out http://www.linuxhq.com/ldp/howto/ADS...WTO/intro.html


All times are GMT -5. The time now is 05:46 PM.