[one-users] question about dhcp settings for vm?

Olivier Sallou olivier.sallou at irisa.fr
Tue Jun 7 02:44:03 PDT 2011


Hi,
I am not sure to understand your problem, but for DHCP config , on Open
nebula side,
all you need is to define a network, let's say "mycompany", and to
declare a bunch of MAC/IP associations (the ones defined in your dhcp).

At boot, using the "mycompany" network, your VM will be started with one
of the MAC defined in the "mycompany" network definition.
Then, your eth will get an IP from the DHCP (via eth0/br0)

Olivier

Le 6/7/11 11:19 AM, Ou, Yan a écrit :
> Hi All
>
> Can anyone please tell me how to setup dhcp client for KVM based VMS by opennebula template?
>
> I have set up the bridging interface br0 through eth0 (which is connected to our company network and IP is leased by company dhcp server), and br0 is set as dhcp as well.
>
> Now I want our VMS (with registered MAC address in company NAS database) to be connected to company network through eth0 and retrieve the IPs from company dhcp server. Should I use br0? I have tried a single VM, and it has to use tap to get the IP (br0 is used to bridge between tap and eth0). But how to make the settings in opennebula network template? I have read some documentations but get no luck yet.
>
> Can anyone help me on the settings? Many thanks!
>
> Regards
> Yan
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>

-- 
gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





More information about the Users mailing list