OpenVZ Forum


Home » Mailing lists » Devel » Re: [Announce] New vzctl and devel kernel releases; OpenVZ wiki
Re: Re: [Announce] New vzctl and devel kernel releases; OpenVZ wiki [message #3631 is a reply to message #3629] Wed, 07 June 2006 16:17 Go to previous message
Kirill Korotaev is currently offline  Kirill Korotaev
Messages: 137
Registered: January 2006
Senior Member
>> * Support for veth device.
>
>
> Can you provide details as to how the veth device is different from
> venet0 ?
unlike venet, veth is ethernet like adapter with MAC address.
due to this, it can be used in configurations, when veth is bridged to
ethX or other device and VPS user fully setups his networking himself,
including IPs, gateways etc.

List of differences:
- veth allows broadcasts in VPS, so you can use even dhcp server
inside VPS 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 user can
actually ruin your ethernet network with such direct access to
ethernet layer.
- with venet device, only node administrator can assign IP to VPS.
With veth device, network settings can be fully done on VPS side.
VPS 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 with
some VLAN eth0.X. In this case, these 2 VPSs will be connected to
this VLAN.
- venet device is a bit faster and more efficient.
- with veth devices IPv6 auto generates an address from MAC.

The brief summary:
veth venet
MAC address + -
broadcasts inside VPS + -
traffic sniffing + -
network security low hi
(due to broadcasts,
sniffing and possible IP
collisions etc.)
can be used in bridges + -
performance fast fastest

Usage scenarios will be added here soon:
http://wiki.openvz.org/Virtual_Ethernet_device

Thanks,
Kirill
 
Read Message
Read Message
Previous Topic: [SCSI] 3w-9xxx: kmap_atomic in twa_scsiop_execute_scsi
Next Topic: [PATCH 2.6.17-rc6-mm2] ipc namespace : unshare fix
Goto Forum:
  


Current Time: Tue Jul 16 07:57:25 GMT 2024

Total time taken to generate the page: 0.02586 seconds