<p dir="ltr">There are two ways to configure multiple IP addresses for a single network interface. This is not OpenVZ-specific thing, but Linux-specific.</p>
<p dir="ltr">The old way is to create so-called interface alias, like eth0:0, and then assign an address to it, one per alias.</p>
<p dir="ltr">The new, much better way (appeared in kernel 2.4 AFAIK) is just to let an interface have multiple IPs. This usually requires ip tool.</p>
<p dir="ltr">I can&#39;t look into gentoo openvz scripts at the moment so can&#39;t tell which way they use.</p>
<p dir="ltr">-- sent from Android</p>
<div class="gmail_quote">On Nov 29, 2012 6:45 PM, &quot;Benjamin Henrion&quot; &lt;<a href="mailto:bh@udev.org">bh@udev.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have a gentoo container, whether the tool &quot;ip&quot; is available inside<br>
the container or not, the venet0:1 is present or not.<br>
<br>
I can provide the version of the vzctl scripts I use on HN and an<br>
image of the rootfs if someone is interested.<br>
<br>
Otherwise I will try to propose a fix that does not use the &quot;ip&quot; tool.<br>
<br>
--<br>
Benjamin Henrion &lt;bhenrion at <a href="http://ffii.org" target="_blank">ffii.org</a>&gt;<br>
FFII Brussels - <a href="tel:%2B32-484-566109" value="+32484566109">+32-484-566109</a> - <a href="tel:%2B32-2-3500762" value="+3223500762">+32-2-3500762</a><br>
&quot;In July 2005, after several failed attempts to legalise software<br>
patents in Europe, the patent establishment changed its strategy.<br>
Instead of explicitly seeking to sanction the patentability of<br>
software, they are now seeking to create a central European patent<br>
court, which would establish and enforce patentability rules in their<br>
favor, without any possibility of correction by competing courts or<br>
democratically elected legislators.&quot;<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="http://lists.openvz.org/mailman/listinfo/users" target="_blank">http://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div>