This section describes how to launch the DHCP server on the gateway.
DHCP server configuration file
This is a simple dhcpd configuration file, dhcpd.conf . This file includes a subnet range that's dynamically assigned to
clients, but also contains two static entries for known servers that are expected to be present at certain IP addresses. One
is a printer server, and the other is a network-enabled toaster. The DHCP server configuration isn't specific to wireless
networks, and you can apply it to wired networks as well.
Launching the DHCP relay agent on your gateway
The dhcprelay agent doesn't require a configuration file as the DHCP server does; you just need to launch a binary on the
command line. What you must know is the IP address of the DHCP server that's located elsewhere on the network that your gateway
is connected to. Once you've launched dhcprelay , it forwards requests and responses between the client on your wireless
network and the DHCP server located elsewhere on the ISP or corporate network: