OpenVZ Forum


Home » Mailing lists » Users » Change IP address inside VE
Re: Change IP address inside VE [message #29775 is a reply to message #29757] Thu, 24 April 2008 08:37 Go to previous message
Christian Hofstaedtle is currently offline  Christian Hofstaedtle
Messages: 4
Registered: March 2008
Junior Member
* Michael Schwartzkopff <misch@multinet.de> [080424 09:24]:
> due to the nature of a setup I have I have to change the IP address of my
> virtual server from inside the virtual server. Better: I want to add a
> cluster IP address to the interface.
 
> Is this possible from within the virtual server to setup the ip address? What
> is the parameter
> vzctl set 500 --capability net_admin:on
> good for? How can I use it?

I think you've got two options:
1) You can use VETH devices instead of VENET. VETH is a more strict
seperation of the network stuff, and full IP configuration is
available in the VE.

2) _If_ you only want this VIP on _ONE_ host node, you probably can
manually set up routing and ARP on the host node for your VIP, and
then just use ifconfig inside the VEs. Haven't tried this out, but
I'd assume it works.

Christian
 
Read Message
Read Message
Previous Topic: Change IP address inside VE
Next Topic: vzmigrate (3.0.22) destroy the source, even -r no
Goto Forum:
  


Current Time: Thu Aug 29 23:14:07 GMT 2024

Total time taken to generate the page: 0.04597 seconds