[one-users] How to connect to VMs
Jaime Melis
jmelis at opennebula.org
Tue Sep 17 02:35:09 PDT 2013
Hi Johannes,
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.
cheers,
Jaime
On Thu, Sep 12, 2013 at 9:46 AM, Johannes Schuster <Johannes-Schuster at gmx.de
> wrote:
> Thank you for your reply.
>
> 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.
>
> 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?
>
>
> Thank you and best regards,
>
> Johannes
>
> Am 12.09.2013 06:22, schrieb Kenneth:
>
> What Network model are you using when you create Virtual networks -
> Default, 802.1Q, ebtables, Open vSwitch etc?
>
> 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.
>
> 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).
>
>
>
> On 09/12/2013 07:38 AM, Johannes Schuster wrote:
>
> 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 listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> Thanks,
> Kenneth
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
September, 2013
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130917/9956583b/attachment-0002.htm>
More information about the Users
mailing list