Technical data

4. Packages
Not allowed DHCP-clients
DHCP_DENY_MAC_N Number of MAC-Addresses of hosts which should be rejeced.
DHCP_DENY_MAC_x MAC-Address of the host which should be rejeced.
Support For Network Booting
The dnsmasq supports clients booting by Bootp/PXE over the network. The needed in-
formations for this are provided by dnsmasq and are configured per subnet and host. The
needed variables are in the DHCP_RANGE_%- and HOST_%-sections and point to the
bootfile (*_PXE_FILENAME), the server which hosts this file (*_PXE_SERVERNAME
and *_PXE_SERVERIP) and perhaps necessary options (*_PXE_OPTIONS). Furthermore
the internal tftp-server can be activated to provide network booting entirely from dnsmasq.
HOST_x_PXE_FILENAME DHCP_RANGE_x_PXE_FILENAME The bootfile. If PXE
is used, the pxe-bootloader, i.e. pxegrub, pxelinux or similar.
HOST_x_PXE_SERVERNAME HOST_x_PXE_SERVERIP DHCP_RANGE_x_PXE_SERVERNAME DHCP_RANGE_x_PXE_SERVERIP
Name and IP of the tftp-servers. If empty, the router itself is used.
DHCP_RANGE_x_PXE_OPTIONS HOST_x_PXE_OPTIONS Some bootloader need spe-
cial options to boot. I.e. pxegrub asks by use of option 150 for the name of the menu
file. This options can be put here. For pxegrub it looks like this:
HOST_x_PXE_OPTIONS='150,"(nd)/grub-menu.lst"'
If more options are needed, separate them by a space.
4.5.4. DHCP-Relay
A DHCP-relay is used, when another DHCP-Server manages the ranges which is not directly
reachable from the clients.
OPT_DHCPRELAY Set to ’yes’ to act as a DHCP-relay. To act as a DHCP-server is not
allowed at the same time.
Default setting: OPT_DHCPRELAY=’no’
DHCPRELAY_SERVER Insert the right DHCP-server to which the queries should be for-
warded.
DHCPRELAY_IF_N DHCPRELAY_IF_x Sets DHCPRELAY_IF_N the number of network in-
terfaces, the relay-server listens to. In DHCPRELAY_IF_x provide the apropriate network
interfaces.
Provide the interface the DHCP-server uses to answer as well. Make sure to set the
routes on the CP running the DHCP server are correct. The answer of the DHCP server
is deirected to the interface to which the clioent is connected.
Assume the following szenario:
102