Hello Markus,

If you wish to have a second IP address for a VE you should give
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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
[email protected]
https://openvz.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to