|
|
Re: adding secondary IP [message #12254 is a reply to message #12250] |
Mon, 23 April 2007 08:38 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
Hello Markus,
If you wish to have a second IP address for a VE you should give
HN@root# vzctl set <veid> --ipadd <second_ip> --save
command. It will create second venet interface with specified IP address
in VE.
But if you wish to set a nameserver for VE, then use
HN@root# vzctl set <veid> --nameserve <nameserver_ip> --save
command. It will modify /etc/resolv.conf file in VE and produce other
distribution-specific actions in order your VE to be able to resolve
domain names.
HTH,
Vasily.
Markus Hardiyanto wrote:
> how can i add secondary IP for a VE? i need to add this for nameserver IP.
>
> do i need to run
> vzctl set VEID --ipadd
>
> for the second IP?
> Best Regards,
> Markus
>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
|
|
|