[one-users] Network: fixed IP Adresses

Carlos Martín Sánchez cmartin at opennebula.org
Thu Feb 23 05:56:45 PST 2012


Hi Hendrik,

How did you configure your dhcp? OpenNebula assigns IPs through the MAC
addresses, contextualizing the guest OS to translate that MAC to IP.

You can read more in the following links:

[1] http://opennebula.org/documentation:rel3.2:vgg#getting_a_lease
[2]
http://opennebula.org/documentation:rel3.2:cong#using_virtual_network_leases_within_a_virtual_machine

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>



On Mon, Feb 20, 2012 at 11:23 AM, Hendrik Wißmann <wissmann at gmx.de> wrote:

> Hello,
>
> I'm running an three node installation of opennebula with one frontend and
> two vm-hosts (KVM) and
> a fixed network configuration. The used "network file" has the content:
>
> NAME    = "First Lan"
> TYPE    = FIXED
>
> # We have to bind this network to ''virbr1'' for Internet Access
> BRIDGE  = br0
>
> LEASES  = [IP=192.168.78.115]
> LEASES  = [IP=192.168.78.116]
>
> and sunstone shows:
>
> 192.168.78.115  02:00:84:b0:4e:73   Used by VM 57
> 192.168.78.116  02:00:84:b0:4e:74   Used by VM 62
>
>
> I booted two images (centos 6) and modified the /etc/sysconfig/network-**
> scripts/ifcfg-eth0
> to use dhcp with one of the two mac-adresses. After a network restart, to
> my surprise ifconfig -a
> shows in the first case the mac-address 02:00:84:b0:4e:73 with
> 192.168.78.118 and
> in the second case the mac-address 02:00:84:b0:4e:74 with 192.168.78.119.
> How is this possible; the mac-addresses should be unknown it the existing
> network.
>
> Is there an explanation for this behavior?
>
> Regards Hendrik
>
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120223/2986c6e4/attachment-0003.htm>


More information about the Users mailing list