[one-users] allocating IP for a VM.

Steffen Neumann sneumann at ipb-halle.de
Wed May 11 04:13:28 PDT 2011


Hi,

On Wed, 2011-05-11 at 15:57 +0700, Khoa Nguyen wrote:
> But I don't know to do
> Add entries to your DHCP server binding the MAC address OpenNebula will 
...
> If i can't configure DHCP server, can i do?
No.

We have a little script (pre-)generating a part of /etc/dnsmasq.conf.

If you don't have control over your "official" DHCP, 
you could try to setup your own for the ONE cluster, 
and somehow prevent the other DHCP server from 
answering to your VMs.

Yours,
Steffen


dhcp-host=02:00:0a:14:01:08, net:cluster, 10.20.1.8, vubuntu008
dhcp-host=02:00:0a:15:01:08, net:nfs,     10.21.1.8, vubuntu008-nfs
dhcp-host=02:00:0a:14:02:08, net:cluster, 10.20.2.8, vsuse008
dhcp-host=02:00:0a:15:02:08, net:nfs,     10.21.2.8, vsuse008-nfs
dhcp-host=02:00:0a:14:01:09, net:cluster, 10.20.1.9, vubuntu009
dhcp-host=02:00:0a:15:01:09, net:nfs,     10.21.1.9, vubuntu009-nfs
dhcp-host=02:00:0a:14:02:09, net:cluster, 10.20.2.9, vsuse009
dhcp-host=02:00:0a:15:02:09, net:nfs,     10.21.2.9, vsuse009-nfs
dhcp-host=02:00:0a:14:01:0a, net:cluster, 10.20.1.10, vubuntu010
dhcp-host=02:00:0a:15:01:0a, net:nfs,     10.21.1.10, vubuntu010-nfs
dhcp-host=02:00:0a:14:02:0a, net:cluster, 10.20.2.10, vsuse010
dhcp-host=02:00:0a:15:02:0a, net:nfs,     10.21.2.10, vsuse010-nfs
dhcp-host=02:00:0a:14:01:0b, net:cluster, 10.20.1.11, vubuntu011
dhcp-host=02:00:0a:15:01:0b, net:nfs,     10.21.1.11, vubuntu011-nfs
dhcp-host=02:00:0a:14:02:0b, net:cluster, 10.20.2.11, vsuse011
dhcp-host=02:00:0a:15:02:0b, net:nfs,     10.21.2.11, vsuse011-nfs

-- 
IPB Halle                    AG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann          http://www.IPB-Halle.DE
Weinberg 3                   http://msbi.bic-gh.de
06120 Halle                  Tel. +49 (0) 345 5582 - 1470
                                  +49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE     Fax. +49 (0) 345 5582 - 1409





More information about the Users mailing list