<div dir="ltr">Hi Johannes,<div><br></div><div>yes that's exactly the recommended way of doing it. Typically there is a "gateway" vm which has two interfaces, one in a reachable network: Public IP or in the network of your hosts, and another one in the specific network (usually isolated) to your vms. The other vms have a single interface in the private network of your vms.</div>
<div><br></div><div>cheers,<br>Jaime</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 9:46 AM, Johannes Schuster <span dir="ltr"><<a href="mailto:Johannes-Schuster@gmx.de" target="_blank">Johannes-Schuster@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Thank you for your reply.<br>
<br>
Now I am using "Default" instead of "ebtables" and assign
192.168.42.x IPs to the VMs. With this settings I can access the
VMs from the outside.<br>
<br>
So if I want to use a virtual network with e.g. 192.168.33.1 -
192.168.33.20 IPs for the VMs I have to select one of the VMs as a
"frontend" and assign in addition a 192.168.42.x IP. Then I could
login to the frontend and from there I could hop to the other VMs.
Would that work?<div class="im"><br>
<br>
Thank you and best regards,<br>
<br>
Johannes<br>
<br></div>
Am 12.09.2013 06:22, schrieb Kenneth:<br>
</div><div><div class="h5">
<blockquote type="cite">
<p>What Network model are you using when you create Virtual
networks - Default, 802.1Q, ebtables, Open vSwitch etc?</p>
<p>Try Default first, then define the Bridge interface of your
OpenNebula hosts such as br0 or br1. You should know already
that the network interfaces of the hosts nodes of OpenNebula is
bridged.</p>
<p>On the virtual network, define your IP range of 192.168.42.x
IPs. Assign this Virtual network to your VMs. (You may need to
configure you VM to use this address).</p>
<p> </p>
<p>On 09/12/2013 07:38 AM, Johannes Schuster wrote:</p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<pre>Hi,
OpenNebula is running without Problems.
I created a virtual network (192.168.20.1 - 192.168.20.5) and 2 VMs
(using the "ttylinux - kvm" from the OpenNebula Marketplace). I can
access them through VNC in Sunstone and they are up and running. They
have IPs (192.168.20.1 and 192.168.20.2) and I can successfully ping
among themeselves.
But now I want to access them from the outside. I have a frontend and 2
hosts. They have 192.168.42.x IPs. Regardless from which computer I try
I get the error "Destination Host Unreachable" (ping 192.168.20.1).
How do I connect to the VMs?
Thank you and best regards,
Johannes
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<div>
<pre>--
Thanks,
Kenneth</pre>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Join us at <a href="http://opennebulaconf.com/" style="color:rgb(17,85,204)" target="_blank">OpenNebulaConf2013</a> in Berlin, <span><span>24-26 September, 2013</span></span><br>
--<div>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>
</div>
</div>