<p><br>
On Feb 28, 2012 9:41 PM, "Gerhard Gappmeier" <<a href="mailto:gerhard.gappmeier@ascolab.com">gerhard.gappmeier@ascolab.com</a>> wrote:<br>
><br>
> Hi<br>
><br>
> I currently have two OpenVZ machines with same configuration.<br>
> CT0 has two network devices:<br>
> eth0: internal private subnet<br>
> eth1: internet<br>
><br>
> The containers can have internal and/or external IPs.<br>
> Access is controlled by iptables in CT0.<br>
> I only use IP based venet devices currently.<br>
><br>
> The problem is I run out of external IPs and want to use the external IPs of CT0 (eth1) for new containers.<br>
><br>
> Is this possible? I'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>><br>
><br>
> -- <br>
> mit freundlichen Grüßen / best regards<br>
><br>
> Gerhard Gappmeier<br>
> ascolab GmbH - automation systems communication laboratory<br>
> Tel.: +49 9131 691 123<br>
> Fax: +49 9131 691 128<br>
> Web: <a href="http://www.ascolab.com">http://www.ascolab.com</a><br>
> GPG-KeyId: 5AAC50C4<br>
> GPG-Fingerprint: 967A 15F1 2788 164D CCA3 6C46 07CD 6F82 5AAC 50C4<br>
><br>
> --<br>
> ascolab GmbH<br>
> Geschäftsführer: Gerhard Gappmeier, Matthias Damm, Uwe Steinkrauß<br>
> Sitz der Gesellschaft: Am Weichselgarten 7 • 91058 Erlangen • Germany<br>
> Registernummer: HRB 9360<br>
> Registergericht: Amtsgericht Fürth<br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> <a href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users</a><br>
><br>
</p>