On 5/8/2014 5:09 PM, Christophe Duez wrote:
I know of the mac address of opennebula but I don't know how to enter this in a dhcp config file :/

isc-dehcp-server config .
/etc/dhcp/dhcpd.conf

subnet 10.200.0.0 netmask 255.255.255.224 {
  range 10.200.0.2 10.200.0.30;
  option domain-name-servers 10.200.0.1;
  option routers 10.200.0.1;
  option broadcast-address 10.200.0.31;
  default-lease-time 600;
  max-lease-time 7200;
}

host host-2 {
  hardware ethernet 02:00:0a:c8:00:02;
  fixed-address 10.200.0.2;
}
host host-3 {
  hardware ethernet 02:00:0a:c8:00:03;
  fixed-address 10.200.0.3;
}
host host-4 {
  hardware ethernet 02:00:0a:c8:00:04;
  fixed-address 10.200.0.4;
}

............

host host-30 {
 hardware ethernet 02:00:0a:c8:00:1E;
 fixed-address 10.200.0.30;
}

On Thu, May 8, 2014 at 3:26 PM, Ionut Popovici <[email protected] <mailto:[email protected]>> wrote:

    Or you can make you dhcp server with pools and add fixed address
    via mac
    Because opennebula use very nice mac asingment based on ip
    transformed on hexa.
    Default mac for opennebula is 02:00 and other 4 hexa digits are ip
    address decimal tranformed on hexa.
    for ip 10.10.10.10 opennebula will use mac
    02:00:0a:0a:0a:0a
    or ip 10.10.0.1 = 02:00:0a:0a:00:01
    with this you can easy make an dhcp lesses for your networks

    On 5/8/2014 4:04 PM, Christophe Duez wrote:
    But I need to know how to do it. not simply install and work....


    On Thu, May 8, 2014 at 2:58 PM, Гусев Павел <[email protected]
    <mailto:[email protected]>> wrote:

        I think you must us Virtual Router (from Marketplace) with
        DHCP daemon
-- С уважением,
        Гусев Павел
        Руководитель отдела системного администрирования
        QSOFT | Ведущий web-интегратор
        офис 7(495) 771-7363 #110 | моб. 7(926) 850-1108
        [email protected] <mailto:[email protected]>
        Москва, Авангардная улица, 3  | qsoft.ru <http://qsoft.ru>
        San Francisco, 222 Columbus Ave | qsoftus.com
        <http://qsoftus.com>
        08.05.2014, 16:25, "Christophe Duez"
        <[email protected]
        <mailto:[email protected]>>:
        Hello,
        Is it possible that a virtual DHCP-server gives ip addresses
        to the other VM's and that OpenNebula will take over this
        ip-address in sunstone?
        Because now my dhcp gives the new VM an IP-address but in
        the sunstone interface the VM has an other IP given by the
        Virtual Network template
        can this be changed?
-- Kind regards,
        Duez Christophe
        Student at University of Antwerp :
        Master of Industrial Sciences: Electronics-ICT

        E [email protected]
        <mailto:[email protected]>
        L linkedin duez-christophe
        <http://www.linkedin.com/pub/duez-christophe/74/7/39>
        ,

        _______________________________________________
        Users mailing list
        [email protected] <mailto:[email protected]>
        http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- Kind regards,
    Duez Christophe
    Student at University of Antwerp :
    Master of Industrial Sciences: Electronics-ICT

    E [email protected]
    <mailto:[email protected]>
    L linkedin duez-christophe
    <http://www.linkedin.com/pub/duez-christophe/74/7/39>


    _______________________________________________
    Users mailing list
    [email protected]  <mailto:[email protected]>
    http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
M.v.g.
Duez Christophe

T +32497552655
E [email protected] <mailto:[email protected]>
S christophe.duez
L linkedin duez-christophe <http://www.linkedin.com/pub/duez-christophe/74/7/39>

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to