[Users] adding secondary IP
Vasily Tarasov
vtaras at openvz.org
Mon Apr 23 04:43:11 EDT 2007
Hello Markus,
If you wish to have a second IP address for a VE you should give
HN at 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 at 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
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>
More information about the Users
mailing list