[one-users] VMs are not reachable over their IP
Jaime Melis
jmelis at opennebula.org
Wed Nov 16 08:40:24 PST 2011
Hi Martin,
The way the default network configuration works in OpenNebula is by making
the hypervisor hook the virtual network interface of a virtual machine to a
pre-existent bridge (created by the administrator), which is, in turn,
connected to a real physical device:
+-------------------+
| |
| br0 |
| |
+---+----------+----+
| |
| |
+---------+ +-----------+
| | | |
| eth0 | | vnet0 |
| | | |
+---------+ +-----------+
br0: bridge created by administrator during the installation process of
OpenNebula (which may or may not have an IP)
eth0: real physical device (which doesn't have an IP)
vnet0: the virtual network device of the virtual machine, created by the
hypervisor.
You can verify this when running a VM by running the following command in
your worker nodes:
$ bridge name bridge id STP enabled interfaces
br0 8000.001e682f4a02 no eth0
vnet1
br1 8000.001e682f4a03 no eth1
vnet0
In this particular case there are two bridges: br0 and br1
You can read about alternative network setups here:
http://opennebula.org/documentation:rel3.0:nm
Regards,
Jaime
On Mon, Nov 14, 2011 at 1:06 PM, Martin Lauer <ml067 at hdm-stuttgart.de>wrote:
> **
> Hi,
> I've set up my machine images with contextualization and they're
> configured right, when looking into the machines via VNC.
> The leases from my "public.net" are also given to the machines.
> Shouldn't the bridge on the host(s) "br0" be mapped with additional IPs
> (the ones from the VMs)? This is just an assumption, when thinking back to
> Eucalyptus, which I tried to use before as a Private Cloud Infrastructure.
>
> Can someone give me a hint how routing is done in OpenNebula and how
> packets are accepted by the bridge!
>
> Thanks,
> martin
>
> --
> Martin LauerHochschule der Medien Nobelstraße 10 70569 Stuttgart
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
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/20111116/1c927a6e/attachment-0003.htm>
More information about the Users
mailing list