Menu

I want no DHCP :(

Anonymous
2010-03-24
2013-04-05
  • Anonymous

    Anonymous - 2010-03-24

    Hey,

    we've got already a DHCP-Server in our environment. We've got an Public Class B Net.
    Now, when i install a Clonezilla-Server in a test-environment, a DHCP-Server was installed.
    I delete this Server and i have to install a new one, but in our normal environment. My apprehension is, when i install Clonezilla, all the computers here will get an IP-Adress von this DHCP and not from the existing one :( Can i deactivate DHCP from the Installation?

    Sorry for my bad English

    Regards…

     
  • Anonymous

    Anonymous - 2010-03-30

    Hello,

    my Server is in the x.x.100 Subnet.
    Our DHCP is in the x.x.101 Subnet.
    Now, when a Client is booting, he get an IP-Adress from my DHCP (not from my DRBL Server) and said that he want an IP-Adress from his DRBL Server and not from my existing DHCP-Server. ("I just want DHCP server with server name "drbl" provides me an IP adress. DHCP server name now ist: dhcp-1…..The IP address got ist NOT from DRBL server…)

    What have i to do, that my clients can boot with any IP-Adress? :(

    Thank you,

    arednor…

     
  • Anonymous

    Anonymous - 2010-03-30

    Ah, i have stopped the DHCP-Server from my server. And i can't change anything from our existing DHCP-Server, except give fix IP-Adresses to Mac-Addresses…

     
  • Anonymous

    Anonymous - 2010-03-31

    Ok all works now :)
    I have stop the DHCP-Server

     /etc/init.d/dhcp3-server stop
    

    Edit /etc/exports:

    /tftpboot/node_root *(ro,sync,no_root_squash,subtree_check)
    /usr *(ro,sync,no_root_squash,subtree_check)
    /opt *(ro,sync,no_root_squash,subtree_check)
    /home *(rw,sync,no_root_squash,no_subtree_check)
    /var/spool/mail *(rw,sync,root_squash,no_subtree_check)
    /images *(rw,sync,no_root_squash,no_subtree_check)
    

    After that

    exportfs -a
    

    Edit /tftboot/node_root/sbin/init in line 174 and 177 from

    "$(echo $IP | cut -d"." -f1-3)"
    

    into

    "$(echo $IP | cut -d"." -f1-2)"
    

    because i have got a Class B Network.

    And the /tftpboot/node_root/etc/diskless-image/config

    nfsimagedir=/tftpboot/node_root
    nfshostsdir=/tftpboot/nodes
    nameserver=IP OF DNSSERVER
    NFSSERVER_LIST="IP OF MY SERVER"
    

    So i have got 1 DHCP Server in an other Subnet and my Clonezilla-Server in another with no DHCP in a Class B Net with 1 Nic, because we have got a public Class B Network.

    I hope you can add some of this in the version. I spend a lot of time to find this :(

     
  • Steven Shiau

    Steven Shiau - 2010-03-31

    Thanks for sharing this.
    Yes, you can hack that like this. However, it's not easy to add this as another scenario for drblpush.

    Steven.

     
  • Anonymous

    Anonymous - 2010-03-31

    Ok.

    Another Question. We have got already an PXE-Environment. Can i add an entry/label for my Clonezilla Server to access to the Server ?? Actually the Clients who want to creat an image have got a "next-server IP" in our DHCP. I would be nice if they can all access via PXE (It's an W2K3 PXE Server..)

    Thanks..

     
  • Steven Shiau

    Steven Shiau - 2010-03-31

    "Can i add an entry/label for my Clonezilla Server to access to the Server ?? " -> Sorry, I do not understand about this, could you please explain more?

    Steven.

     
  • Anonymous

    Anonymous - 2010-04-01

    Ok, we have got already an PXE-Server. Now i have to create a new label in my existing PXE-Config to access to my Clonezilla Server.

    kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1   clientdir=node_root  ocs_opt="--language en -k select_in_client "
    

    This is the entry on my Clonezilla Server. I need this entry for my existing PXE-Server. Is there a way, that the existing PXE-Server "route" to the Clonezilla Server?

     
  • Steven Shiau

    Steven Shiau - 2010-04-01

    I think you mean PXE relay… Actually I have no idea if such a tool exists…
    It might be related to dhcp relay (dhcrelay), or dnsmasq…

    Steven.

     
  • Anonymous

    Anonymous - 2010-04-08

    Hm, don't help me :(

    I've copied the vmlinuz-pxe kernel and the initrd-pxe.2.6.24-26-server.img to my PXE-Server. Than i added the following line into my PXE-Config:

    label 1
    menu Clonezilla
    kernel /pxes/vmlinuz-clonezilla
    append initrd=/pxes/initrd-pxe.2.6.24-26-server.img rootpath=IP_OF_CLONEZILLASERVER:/tftpboot/node_root nfsroot=IP_OF_CLONEZILLASERVER:/etc

    Than the Client is starting and is hanging here:
    http://img515.imageshack.us/img515/4589/errorff.jpg (The removed IP is the IP of my Clonezilla Server)

    Have i to add more Parameters to the kernel in my PXE-Config?

     

Log in to post a comment.

MongoDB Logo MongoDB