Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Virtual Ethernet device

185 bytes removed, 08:22, 9 June 2006
Fixed formatting in Differences between venet and veth
device it will come out from the other device.
List of differences with == Differences between venet device:and veth ==- * veth allows broadcasts in VPSVE, so you can use even dhcp server inside VPS VE or samba server with domain broadcasts or other such stuff.- * veth has some security implications, so is not recommended in untrusted environments like HSP. This is due to broadcasts, traffic sniffing, possible IP collisions etc. i.e. VPS VE user can actually ruin your ethernet network with such direct access to ethernet layer.- with * With venet device, only node administrator can assign an IP to VPSa VE. With veth device, network settings can be fully done on VPS VE side. VPS VE should setup correct GW, IP/mask etc and node admin then can only choose where your traffic goes.- * veth devices can be bridged together and/or with other devices. For example, in host system admin can bridge veth from 2 VPSs VEs with some VLAN eth0.X. In this case, these 2 VPSs VEs will be connected to this VLAN.- * venet device is a bit faster and more efficient.- with * With veth devices IPv6 auto generates an address from MAC.
The brief summary:
{| class="wikitable"|+ '''Differences between veth and venet'''! Feature !! veth !! venet|-! MAC address | + || -|-broadcasts ! Broadcasts inside VPS VE| + || -traffic |-! Traffic sniffing | + || -|-network ! Network security | low hi (due <ref>Due to broadcasts, sniffing and possible IP collisions etc.)</ref> || hi|- can ! Can be used in bridges | + || -performance |-! Performance| fast || fastest|-|}<references/> 
== Virtual ethernet device usage ==