tcng help

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Hey all,


    I need to make a setup for VoIP using Linux QoS. For that, I decided to
follow Leonardo Balliache (http://www.opalsoft.net/qos/VoIP.htm)
recomendations; an Ingress filter to forward the SIP packets to from the
incoming interface (eth2) to the outgoing one (eth0) as soon as possible,
with minimum delay, and a PRIO filter for the outgoing interface. Im quite a
newbie to tcng, and I really would like to use it as a front end to tc. So
I´d like to know if somebody could give a hand translating "Mark every
packet comming from eth2 with the highest priority" and "all packets that
came from eth2 when going out through eth0 should have minimum delay and all
the bandwidth needed" to the tcng language.
    I suppose it would be something like that, using just tc (please correct
me if Im wrong):

        tc qdisc add dev eth2 handle ffff: ingress
        tc filter add dev eth2 parent ffff: protocol ip prio 1 u32 match ip
protocol 17 0xff police rate 240kbit burst 15kb continue flowid :1

        and on the egress side:

            tc qdisc add dev eth0  root handle 1: prio
            tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 1
tcindex classid 1:1

            Should I add another class for all other "non-privileged" flows?

                                            Any help will be greatly
appreaciated.


Thanks,


Marcelo

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux