[Users] Change IP address inside VE

chris at cgb1911.mine.nu chris at cgb1911.mine.nu
Wed Apr 23 06:03:29 EDT 2008


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)


More information about the Users mailing list