Changes

Jump to: navigation, search

Virtual Ethernet device

37 bytes added, 19:20, 28 May 2007
mac addresses info separated out
{{Note|since vzctl version 3.0.11, vzethdev is loaded by /etc/init.d/vz}}
=== MAC addresses ===
In the below commands, you should use random MAC addresses. Do not use MAC addresses of real eth devices, because this can lead to collisions.
 
MAC addresses must be entered in XX:XX:XX:XX:XX:XX format.
 
There is a utility script available for generating MAC addresses: http://www.easyvmx.com/software/easymac.sh. It is to be used like this:
 
chmod +x easymac.sh
./easymac.sh -R
=== Adding veth to a VE ===
 
{{Note|Use random MAC addresses. Do not use MAC addresses of real eth devices, because this can lead to collisions and MAC addresses must be entered in XX:XX:XX:XX:XX:XX format.}}
==== syntax vzctl version < 3.0.14 ====
vzctl set 101 --netif_add eth0,00:12:34:56:78:9A,veth101.0,00:12:34:56:78:9B --save
</pre>
 
 
o There is a utility script available for generating MAC addresses:
 
http://www.easyvmx.com/software/easymac.sh
 
 
o Recommended Usage:
 
' chmod +x easymac.sh '
 
' ./easymac.sh -R '
=== Removing veth from a VE ===

Navigation menu