[Lxc-users] cgroup.net_cls and tc

andre at digirati.com.br andre at digirati.com.br
Tue Feb 15 11:17:02 UTC 2011


Em 14/02/2011, Andre Nathan <andre at digirati.com.br> escreveu:
> The container is configured with the following line:
> 
>   lxc.cgroup.net_cls.classid = 0x10002
> 
> And I have the following tc rules:
> 
>   tc qdisc add dev eth0 root handle 1: htb default 30
>   tc class add dev eth0 parent 1: classid 1:2 htb rate 1mbit
>   tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 1: cgroup

As an update, setting the default to "2" made it work. So that confirms tc is working, but for some reason it can't see the net_cls.classid in the container's traffic.
Andre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110215/a0c47869/attachment.html>


More information about the lxc-users mailing list