Joachim Breitner's Homepage
Sitting around at the GPN6 conference in Karlsruhe at the moment, I thought it’s time to write the instant DHCP server I blogged about. So I took the code from udhcpd and, instead of parsing an config file, figure out the settings myself. So I can run
simpledhcpd eth0 now, and will get a DHCP server that waits for DHCP request and answers them with an IP from eth0’s subnet, the correct netmask, my own IP as the gateway and the first entry of
/etc/resolv.conf as the nameserver − that’s all it needs to quickly connect any other computer to mine and, if routing is enabled, provide it with internet connectivity.