DHCP Forwarder

This program forwards DHCP messages between subnets with different sublayer broadcast domains. It is similarly to the DHCP relay agent dhcrelay of ISC's DHCP, but has the following features which are important for me:

It tries to be RFC 2131/2132 and 3046 compliant. Probably it works with BOOTP (RFC 951) also, but since the handling of the giaddr field is described misleading (see RFC 1542), there may occur problems.


30 May 2014
Version 0.11 (149KiB) released [SIG][NEWS]
This version enhances the internal handling and the setup of relay-agent information and supports new options (RFC 3527 link selection + RFC 5107 server id). Some minor bugs and build problems were fixed too..
30 Apr 2012
Version 0.10 (138KiB) released [SIG][NEWS]
Beside some build fixes, the way how clients are addressed has been made more RFC compliant. There was added a systemd unit too.
14 Dec 2010
Version 0.9 (137KiB) released [SIG][NEWS]
Some inconsistencies in the naming of the default configuration file have been fixed. The SO_REUSEADDR option is now set for clients which allows to use dhcp-forwarder simultaneously with another dhcp server on the same system.
30 Dec 2008
Version 0.8 (139KiB) released [SIG]
Program is licensed under GPLv3 beginning with this version. It supports now variable expansion in the configuration file and customization of used ports. There were fixed build problems on big-endian system too.
19 Aug 2004
Version 0.7 (121KiB) released [SIG]
This version fixes compilation-issues with dietlibc 0.27.
17 Jun 2004
Version 0.6 (120KiB) released [SIG]
This version makes it possible to run multiple instances of the program on the same machine.
15 Jul 2003
Version 0.5 (113KiB) released
This version allows `.' characters in interface-names to make it work with VLAN kernels.
29 Aug 2002
Version 0.4 (107KiB) released
This release fixes broken memory-allocation on low optimization-levels, fixes the daemonizing code by disconnecting from controlling terminal and allows PPP interfaces on server-side. Please see the NEWS file for a full list of changes.
12 Jul 2002
Version 0.3 (105KiB) released
This release contains a lot of new features and several minor and major bugfixes (supplemental groups were not dropped in previous versions).
14 Jun 2002
Version 0.2 (86KiB) released
A manpage and more documentation are the main enhancements of this version.
13 Jun 2002
Version 0.1 (83KiB) released


Latest sources and their GPG signatures can be found here. Filenames which are having the format dhcp-forwarder-X.Y.tar.bz2 are official releases; such with a triple version like X.Y.Z are inofficial snapshots. A short description and further information are given in README; user visible changes in NEWS

Binary packages are not provided but can be built with the usual

./configure && make && su -c make install

Please look at the output of ./configure --help for further options. RPMs can be created by executing

rpmbuild -tb dhcp-forwarder-<version>.tar.bz2

Enrico Scholz
Last modified: Tue Dec 14 22:55:04 CET 2010
Valid HTML 4.01! Valid CSS!