IP routing question with venet

  • Thread starter Thread starter MJennings
  • Start date Start date
M

MJennings

Guest
Hi, I am hosting my proxmox box at ovh and I have created a openvz container and their guide says to use venet to use a secondary ip from them. So I have done that and it works, but I am wondering how to assign a second ip inside the openvz? Since proxmox panel only gives you the option to put in one ip address and not two.

Also I thought venet was for networking between host/other VMs and that bridge was for outside access, was I wrong?
 
just assign additional IP´s (venet) on the web gui, separate by spaces. You cannot do this on "create" but afterward just go to "Virtual machine configuration/Network"

(if you want to use veth, you need to configure the network inside the container)

for difference between venet and veth - always use venet as this is more secure, fast and much easier to configure (with the Proxmox VE GUI):

see also http://wiki.openvz.org/Differences_between_venet_and_veth
 
I do not understand this question.
 
Well you said venet is secure. How can i also be secure when assigning ips to KVMs (non venet)
 
I see no problems on KVM - but I am not a security expert. I suggest you discuss KVM security on the KVM mailing list.