<p><br>
On Feb 28, 2012 9:41 PM, &quot;Gerhard Gappmeier&quot; &lt;<a href="mailto:gerhard.gappmeier@ascolab.com">gerhard.gappmeier@ascolab.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi<br>
&gt;<br>
&gt; I currently have two OpenVZ machines with same configuration.<br>
&gt; CT0 has two network devices:<br>
&gt; eth0: internal private subnet<br>
&gt; eth1: internet<br>
&gt;<br>
&gt; The containers can have internal and/or external IPs.<br>
&gt; Access is controlled by iptables in CT0.<br>
&gt; I only use IP based venet devices currently.<br>
&gt;<br>
&gt; The problem is I run out of external IPs and want to use the external IPs of CT0 (eth1) for new containers.<br>
&gt;<br>
&gt; Is this possible? I&#39;m not sure how venet IPs can be routed over eth1 when eth1 has no IP.</p>
<p>Assuming you have multiple IPs on eth1 and you want those to be used for some of your containers, you need to<br>
1 remove those IPs from eth1<br>
2 add those IPs to containers</p>
<p>Speaking of routing, it depends on your setup. If eth1 still have an address in the same IP network as your CTs, you are fine.</p>
<p>&gt;<br>
&gt;<br>
&gt; -- <br>
&gt; mit freundlichen Grüßen / best regards<br>
&gt;<br>
&gt; Gerhard Gappmeier<br>
&gt; ascolab GmbH - automation systems communication laboratory<br>
&gt; Tel.: +49 9131 691 123<br>
&gt; Fax: +49 9131 691 128<br>
&gt; Web: <a href="http://www.ascolab.com">http://www.ascolab.com</a><br>
&gt; GPG-KeyId: 5AAC50C4<br>
&gt; GPG-Fingerprint: 967A 15F1 2788 164D CCA3 6C46 07CD 6F82 5AAC 50C4<br>
&gt;<br>
&gt; --<br>
&gt; ascolab GmbH<br>
&gt; Geschäftsführer: Gerhard Gappmeier, Matthias Damm, Uwe Steinkrauß<br>
&gt; Sitz der Gesellschaft: Am Weichselgarten 7 • 91058 Erlangen • Germany<br>
&gt; Registernummer: HRB 9360<br>
&gt; Registergericht: Amtsgericht Fürth<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; <a href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users</a><br>
&gt;<br>
</p>