6,534
edits
Changes
m
Very nice post== Packet routes ==First of all, good luck! ;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 (RH). 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>
You can do it using ordinary <code>tc</code> tool.
== Limiting outgoing bandwidth ==