Hello,

        I am trying to use sch_prio queuing discipline with firewall-based
classifier. I have never used this, so I am looking for help.
What I am trying to do is to have 2-band priority queue - one band for
interactive traffic, and the second one for other traffic. I want to
classify the traffic by firewall rules.

        I can set up the root priority queue on some device using

# tc qdisc add dev eth0 root handle 1:0 prio bands 2

        Now how can I set up classes and queuing disciplines for
each priority band? I have tried

# tc class add dev eth0 classid 1:1 parent 1:0 prio

and the reply is "Qdisc prio is classless.", even though the "tc class help"
lists "prio" as one of the permited QDISC_KIND.

        The other question is - when I set up classes for the root qdisc,
how can I add the cls_fw filter on it? I can try the following,
but how can i map fwmarks to the classids? 

# tc filter add dev eth0 parent 1:0 protocol ip fw

        Thanks,

-Yenya
        
-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
||||   > Where do the -- MARK --s  come from ?                          ||||
||||   It is the sound of Tux the penguin chewing on your system logs.  ||||
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to