OpenVZ Forum


Home » General » Support » New to OpenVZ - seeking network configuration suggestions
Re: New to OpenVZ - seeking network configuration suggestions [message #34476 is a reply to message #34466] Fri, 09 January 2009 11:18 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

Quote:


I have five network cards for the host machine. In Xen, I was pretty accustomed to hiding network cards on the PCI bus from the host machine and assigning them to the virtual machine. It appears that I can do the same in OpenVZ.



Yes, --netdev_add option of vzctl utility.

Quote:


But is there a better way? I have tried to read up on venet and veth devices. After reading the Wiki, it appeared that I should use veth, but traffic sniffing is possible which would appear to violate my desire not to have traffice between the subnets.



What about the following scenario?
Let's assume that we have two VEs: VE1 and VE2.
Create veth interfaces inside VE1 (veth1--eth1) and inside VE2(veth2--eth2).
Then unite veth1 and eth1 into one bridge and veth2 and eth2 into another one on the HN.
 
Read Message
Read Message
Read Message
Previous Topic: Proxy webserver
Next Topic: Lenny linux-image-2.6.26-1-openvz-amd64 2.6.26-12 does not boot on dual Quadcore
Goto Forum:
  


Current Time: Sun Sep 08 01:13:38 GMT 2024

Total time taken to generate the page: 0.05721 seconds