[Users] Traffic shaping *inside* OpenVZ containers

Razvan Deaconescu razvan at rosedu.org
Tue Jul 27 07:28:55 EDT 2010


Hi!

Is it possible to use tc inside an OpenVZ container? The wiki only 
mentions using tc on the hardware node[1].

I've tried using tc against the virtual network interface (venet) and a 
virtual Ethernet interface, but with no success:
---
p2p-next-10-101:/# tc qdisc add dev venet0 root handle 1: htb default 90
RTNETLINK answers: Invalid argument
p2p-next-10-101:/# tc qdisc add dev eth0 root handle 1: htb default 90
RTNETLINK answers: Invalid argument
---

Razvan

[1] http://wiki.openvz.org/Traffic_shaping_with_tc


More information about the Users mailing list