Re: Networking problem VE - How to start [message #33545 is a reply to message #33521] |
Mon, 20 October 2008 21:24   |
locutius
Messages: 125 Registered: August 2007
|
Senior Member |
|
|
you are not understanding that no two network devices can share an IP (regardless of whether they are virtual or not)
your 2xNIC each have an IP assigned on the HN, that is good and correct. when you install openvz those devices are renamed but keep their IP assignment
when you create a CT it needs a unique IP. every CT needs a unique IP. no IP can be shared with another device
ask your host for a list of IPs you can use. there is nothing more to configure. take an IP from the list and create a CT using that IP. take another IP from the list and create another CT with that IP
vz will automatically configure the network and your IP's will be able to communicate with each other as if they are genuine independent network devices
the NICs of the HN act as routers to the IPs of the CTs
EDIT: remember to set your host's nameserver IP in all the CT config. it is the nameserver that resolves the addresses of the network devices
when i first installed openvz i made the same mistake as you. i took 20 IP's from the host and assigned them all to the NIC. it seemed the logical thing to do BUT IT IS WRONG. the IP for the CT must be unassigned and the NIC has its own unique IP
the good news is that openvz is much much simpler than you think when you first see it. i advise everyone to read the pdf documentation because then it all becomes easy
[Updated on: Mon, 20 October 2008 21:34] Report message to a moderator
|
|
|