DHCP Boot problem



  • Hi !
    I have installed CloneDeploy on ubuntu server, step by step from documentation. I use isc-dhcp-server but i can't configure it and computers dont want to boot. Can anybody help me ?
    Thanks in advance !



  • I don't have any experience with isc-dhcp-server, hopefully someone else can chime in here. Should be as simple as setting your next server to your clonedeploy ip address and your bootfile to pxeboot.0



  • Hi! If the issue is still not solved, I can show you an example of a working /etc/dhcp/dhcpd.conf:

    [code]
    default-lease-time 600;
    max-lease-time 7200;

    allow booting;
    allow bootp;

    subnet 192.168.0.0 netmask 255.255.255.0 {
    range 192.168.0.2 192.168.0.50;
    option broadcast-address 192.168.0.255;

    option router 192.168.0.1;

    filename "pxeboot.0";
    }

    group {
    next-server 192.168.0.1; ## IP address of your clonedeploy server
    host tftpclient {
    filename "pxeboot.0";
    }
    }
    [/code]

    You may also have to set the right interface in /etc/default/isc-dhcp-server
    [code]"INTERFACES="ethX"[/code]

    After that you have to restart your dhcp service.



  • I am not understanding the option broadcast-address option in your config but that lead me to this "1. Create a rule that allows UDP & TCP on ports 137, 138 & 139 for your entire subnet 192.168.0.0/255.255.255.0.

    1. Create a rule that allows UDP & TCP on ports 137, 138 & 139 for only your LAN IP addresses, and then a second rule allowing the broadcasts on 192.168.0.255.

    2. Create a rule that allows UDP & TCP on ports 137, 138 & 139 for only your LAN IP addresses, and then create a LMHOSTS file so you can map the network drives."