How To Install dhcp-forwarder on Fedora 36
Introduction
In this tutorial we learn how to install dhcp-forwarder
on Fedora 36.
What is dhcp-forwarder
dhcp-fwd forwards DHCP messages between subnets with different sublayer broadcast domains. It is similar to the DHCP relay agent dhcrelay of ISC’s DHCP, but has the following important features * Runs as non-root in a chroot-environment * Uses AF_INET sockets which makes it possible to filter incoming messages with packetfilters * The DHCP agent IDs can be defined freely * Has a small memory footprint when using dietlibc
We can use yum
or dnf
to install dhcp-forwarder
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dhcp-forwarder.
Install dhcp-forwarder on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install dhcp-forwarder
using dnf
by running the following command:
sudo dnf -y install dhcp-forwarder
Install dhcp-forwarder on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install dhcp-forwarder
using yum
by running the following command:
sudo yum -y install dhcp-forwarder
How To Uninstall dhcp-forwarder on Fedora 36
To uninstall only the dhcp-forwarder
package we can use the following command:
sudo dnf remove dhcp-forwarder
dhcp-forwarder Package Contents on Fedora 36
/etc/dhcp-fwd.conf
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/87d7936c5a7376a08aa7b6d4493f17caaf4984
/usr/lib/systemd/system/dhcp-forwarder.service
/usr/sbin/dhcp-fwd
/usr/share/doc/dhcp-forwarder
/usr/share/doc/dhcp-forwarder/AUTHORS
/usr/share/doc/dhcp-forwarder/COPYING
/usr/share/doc/dhcp-forwarder/ChangeLog
/usr/share/doc/dhcp-forwarder/NEWS
/usr/share/doc/dhcp-forwarder/README
/usr/share/man/man1/dhcp-fwd.1.gz
/var/lib/dhcp-fwd
References
Summary
In this tutorial we learn how to install dhcp-forwarder
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).