According to the Linux 2.4 Advanced Routing HOWTO, the pfifo queue
has 3 bands, each of which has complete priority over the next.
This sounds like exactly what I need.  My firewall (ipchains)
already marks the "low priority" packets -- now I just need to get
them into the second pfifo "band" somehow, while unmarked packets
go into the first "band".  How does one select these bands based
on the fwmark?  Presumably I need to do something with tc, pfifo,
and fw...

tc class add dev eth0 cbq ???
tc qdisc add dev eth0 pfifo ???
tc filter add dev eth0 fw ???

Is this the right way to attack the problem?  A class, a qdisc, and
a filter?  I don't care who gets how many bits per second -- just so
long as unmarked packets never wait for marked packets -- do I still
need all the bandwidth, avpkt, mpu, etc, parameters?  This tc stuff
is incredibly confusing... I've read dozens of documents end-to-end
and still haven't the faintest idea what any of it means.

Basically I just want the simplest possible script that will
prioritize unmarked packets over marked packets (or vice versa;
it's easy enough to reverse the polarity of the marking if
necessary).
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to