1
edit
Changes
→Adding veth to a VE
VE-side ethernet device will have <tt>eth0</tt> name and <tt>00:12:34:56:78:9B</tt> MAC address.
{{Note|Use random MAC addresses. Do not use MAC addresses of real eth devices, because this can lead to collisions.}}
Warning: sintax seems changed in (current) version vzctl-3.0.14. Actual sintax is:
==== Examples ====
<pre>
vzctl set 101 --netif_add eth0,00:12:34:56:78:9A,veth101.0,00:12:34:56:78:9B --save
</pre>
where eth0 is the interface being created in your Virtual Machine, while veth101.0 is being created in the host machine.
=== Removing veth from a VE ===