[gPXE] Configuration of dhcpd

Joshua Oreman oremanj at rwcr.net
Fri Feb 26 09:35:19 EST 2010


On Fri, Feb 26, 2010 at 9:32 AM, Bjoern Wuest <bjoern.wuest at gmx.net> wrote:
> Now the question is what I have to configure in dhcpd to get my iSCSI target delivered to the client machine upon dhcp-request? Currently my dhcpd.conf file in /etc/ contains the following:
>
> ldap-base-dn "ou=DHCP,dc=home,dc=local";
> ldap-method static;
> ldap-server "127.0.0.1";
>
>
>
> I have checked the web page and followed the instructions from e.g. page called "sanboot:suse - Etherboot/gPXE Wiki" and "dhcpd - Etherboot/gPXE Wiki" but it did not work. Also a search in google for approx. 1 day could not provide me with proper configuration information. As it appears to me, the directives in dhcpd.conf file are ignored but instead looked up from LDAP. Yet, in LDAP I could not find proper configuration page.
>
> By the way: I assigned the Client-Machine a fixed IP address (192.168.0.10), which it will get assigned, thus I believe that the LDAP configuration for dhcpd is correct.
>
>
> Any hints on where and what to configure?

You need to set the DHCP root-path option to
"iscsi:192.168.0.1::::iqn.2010-02.local.home:945a211e0-4cf8-8eb4-2325a44e2ac5".
I have no idea how this works with an LDAP configuration, though; I
don't think I've seen that syntax before.

What does your LDAP database look like? Is there really such an
enormous number of machines that a flat-file configuration won't work?

-- Josh


More information about the gPXE mailing list