Has anyone made a DHCP server?

I am trying to use RCM5600W as a DHCP server and have problems to find how to interpret the packets and understand which custom handler I should use.
Does anyone know where to find any examples?
In the udp.lib it is mentioned about to be able to implement a DHCP server on the Rabbit.
Has anyone managed to make a DHCP server?

I am also trying to find out if it is possible to implement RCM5600W as a Wifi-repeater, is it possible to configure the RCM5600W so that it receives everything, not just packets that are adressed to its own IP number?