OpenVZ Forum


Home » Mailing lists » Users » Change IP address inside VE
Change IP address inside VE [message #29725] Wed, 23 April 2008 08:57 Go to next message
misch is currently offline  misch
Messages: 3
Registered: April 2008
Junior Member
Hi,

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.

Normally I have to do this with
vzctl set 500 --ipaddr 1.2.3.4
from the host server. But:

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?

Thanks for any hint.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
Re: Change IP address inside VE [message #29727 is a reply to message #29725] Wed, 23 April 2008 10:03 Go to previous message
chris is currently offline  chris
Messages: 5
Registered: April 2008
Junior Member
Hi Michael,

> 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.
> 
> Normally I have to do this with
> vzctl set 500 --ipaddr 1.2.3.4
> from the host server. But:
> 
> 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?

Hopefully the Wiki can help you out fully on this one:

http://wiki.openvz.org/Main_Page
  http://wiki.openvz.org/Category:Networking
    http://wiki.openvz.org/Virtual_Ethernet_device
    http://wiki.openvz.org/Virtual_network_device

Looking at both pages will explain the differences.  What
you're wanting is the Virtual Ethernet device..  

Regards,

Chris Bennett (cgb)
Previous Topic: 32bit vztools and 64bit kernel
Next Topic: Change IP address inside VE
Goto Forum:
  


Current Time: Tue Mar 19 09:42:02 GMT 2024

Total time taken to generate the page: 0.02441 seconds