It works exactly like a physical server- if there is network visibility (same vlan or default bridge) the booted VM will get its address from DHCP. We use this configuration (thus ignoring the opennebula-assigned IP) in several customers' networks, especially when the VM cones from virtualization of user desktops. Cheers Carlo Daffara Il giorno 11/lug/2013 12:54, "Michael Curran" < [email protected]> ha scritto:
> But in that case, I would be assigning IP’s to hosts instead of them > booting up and just using DHCP to get the IP address**** > > ** ** > > I want to just assign the NIC and let the OS obtain an IP from DHCP > instead, on system boot. **** > > ** ** > > Still reading the documentation, but not seeing a method for it yet.**** > > ** ** > > Michael Curran | connectsolutions | Lead Network Architect**** > > Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com**** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Pentium100 > *Sent:* Thursday, July 11, 2013 2:24 AM > *To:* [email protected] > *Subject:* Re: [one-users] DHCP and OpenNebula**** > > ** ** > > From what I understand, OpenNebula encodes the IP in the MAC, for example, > the VM with assigned IP 10.0.0.2 would get a MAC 02:00:0a:00:00:02. Just > create an IP:MAC list for the DHCP server and it will work. **** > > host a10-0-0-1 { hardware ethernet 02:00:0a:00:00:01; fixed address > 10.0.0.1; } > host a10-0-0-2 { hardware ethernet 02:00:0a:00:00:02; fixed address > 10.0.0.2; }**** > > and so on...**** > > ** ** > > On Wed, Jul 10, 2013 at 6:25 PM, Michael Curran < > [email protected]> wrote:**** > > Can I leverage an existing DHCP server to assign IP’s to a host , and > just use OpenNebula to assign the NIC?**** > > **** > > Michael Curran | connectsolutions | Lead Network Architect**** > > Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com**** > > **** > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org**** > > ** ** > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
