Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Traffic shaping with tc

598 bytes removed, 08:37, 12 February 2011
Very nice post, good luck! ;-)
You can do it using ordinary <code>tc</code> tool.
== Packet routes ==First of allVery nice post, a few words about how packets travel from and to a [[container]].Suppose we have [[Hardware Node]] (HN) with a container (CT) on it, and thiscontainer talks to some Remote Host (RHgood luck! ;-). HN has one "real" network interface<tt>eth0</tt> and, thanks to OpenVZ, there is also "virtual" network interface <tt>venet0</tt>.Inside the container we have interface <tt>venet0:0</tt>. <pre> venet0:0 venet0 eth0CT >------------->-------------> HN >--------->--------> RH  venet0:0 venet0 eth0CT <-------------<-------------< HN <---------<--------< RH</pre>
== Limiting outgoing bandwidth ==
Anonymous user