OpenVZ Forum


Home » General » Support » Host-only network for CT [ Vmware && Virtual Box style ]
Re: Host-only network for CT [ Vmware && Virtual Box style ] [message #43349 is a reply to message #43343] Mon, 29 August 2011 08:59 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Well there's no need to fiddle with veth in this setup. Use venet, it's easier.

Just assign an IP to each container using the private network (say 10.x.x.x), this way your containers will be able to talk to each other and the host system.

It's as simple as

vzctl set 101 --ipadd 10.11.12.101 --save


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Previous Topic: Reserve Memory on the Host Node?
Next Topic: What is cached memory in RHEL6 Node containers?
Goto Forum:
  


Current Time: Wed Oct 01 05:43:41 GMT 2025

Total time taken to generate the page: 0.11947 seconds