dhcp server

M. Grabert xam
Thu Apr 15 06:51:43 PDT 2004

On Thu, 15 Apr 2004, Sean Godsell wrote:

> Hello hostap people  ;)
> Okay I have hostap working.   But the connecting clients have to manually
> set there ip address.   I would like to be able to use dhcpd so the
> connecting wireless users don't have to set there ip address.   The
> following is what I have in the dhcpd.conf file:
>               ddns-update-style ad-hoc;
>               default-lease-time 600;
>               max-lease-time 3600;
>               option subnet-mask;
>               option broadcast-address;
>               option routers;
>               option domain-name-servers;
>               option domain-name "tims.org";
> #              allow unknown clients;
>             subnet netmask {
>               range;
>             }
> My pc's wlan0 ip address is   Does hostap support dhcp, or is
> my dhcpd.conf file configured incorrectly?   Any help would really be
> appreciated.   Thank you

HostAP doesn't care about whether it's carrying IPv4 or IPv6 traffic etc.,
and therefore doesn't care/interfere with DHCP.

Ergo: your dhcpd.conf is configured incorrectly (dhcpd is working fine for me)

I don't see a "pool" or "host" statement in your config, like

         allow unknown clients;
         default-lease-time 28800;
         max-lease-time 28800;


   host my_machine
         hardware ethernet 00:11:22:33:44:55;

Place a pool statement within your "subnet" block, or place some
"host" definitions outside your "subnet" block, and it should work.

BTW, have you set "authoritative;" ?


More information about the Hostap mailing list