DHCP-HELPER(8)
π DHCP-HELPER(8) π
okay bestie, welcome to the System Manager's Manual page for dhcp-helper β yes it's a section 8 one, that's the big-girl sysadmin section, we're in our root era β¨
πΈ NAME πΈ
dhcp-helper β a DHCP/BOOTP relay agent. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
dhcp-helper [OPTION]...
β¨ DESCRIPTION β¨
okay so dhcp-helper is a DHCP and BOOTP relay agent. picture this: it's sitting there listening for DHCP and BOOTP broadcasts on all the subnets that are directly connected to it, and then it relays those lil messages over to DHCP or BOOTP servers somewhere else entirely. it's giving middle-man, but make it helpful π«Ά
and it doesn't stop there! it also relays the replies from those far-away servers back to hosts that are still only partially configured β like they're not fully dressed yet, they need help π
but here's the iconic part: once those hosts are fully configured, they can just talk directly to their servers themselves and they don't need a relay anymore. main character growth arc fr fr π
π OPTIONS π
the only thing you absolutely must give it is at least one DHCP server to relay to. no server, no service, no cap.
the simplest way to set up dhcp-helper on a router is literally just to hand it the interface pointing at the network that has the DHCP server, using a -b option. then all the other interfaces hanging off that machine will accept DHCP requests. slay.
but if your machine does not have an interface on the network with the DHCP server? no worries bestie, use a -s option instead. different tool, same dream π
-s<server>β tell it which DHCP or BOOTP server to relay to. you can write the server as a machine name or as a dotted-quad IP address. and yes, you can specify more than one server β the more the merrier π-b<interface>β relay to a DHCP or BOOTP server using broadcast via<interface>. this is the glow-up that means you don't even need to give a server address. and psst β<interface>gets automatically added to the list of interfaces that will not receive DHCP requests. automatic, we love her πΈ-i<interface>β pick which local interfaces to listen on for DHCP/BOOTP broadcasts. if you give no-iflags at all, then all interfaces get used β except the ones you named with-eflags and the ones you named with-bflags. so it's everyone, minus the exclusions π-e<interface>β pick which local interfaces to exclude. bye girl, not you π-pβ use alternative ports (1067/1068) for the DHCP client and server. spicy port choices π₯-vβ report the software release version and copyright information. the receipts, basically π-dβ debug mode. it will not change UID, not write a pid-file, and not go into the background. it just stays right there with you, fully present, very demure π§-r<file>β give an alternate path fordhcp-helperto record its process-id in. normally it's/var/run/dhcp-helper.pid, but you can relocate that lil number if you want π-u<username>β tell it which useriddhcp-helperwill change to after startup. the daemon normally has to be started as root, but after startup it'll drop root priviledges by switching its id to another user. normally that user is"nobody"β but this switch lets you over-ride that π
π NOTES π
bestie, listen. dhcp-helper requires a 2.2 or later Linux kernel. that's the requirement, periodt.
the "Linux packet filter" and "packet socket" facilities are not required β and honestly that's the chief advantage of this software over the ISC DHCP relay daemon. we're low-maintenance like that β¨
π«Ά AUTHOR π«Ά
this manual page was written by Simon Kelley <simon@thekelleys.org.uk>. thank you for your service, king π
and that's the whole page babes!! it came to you from the System Manager's Manual, and the page name is DHCP-HELPER(8) β that's the header, that's the footer, that's the whole aesthetic π go relay something, you've got this π¦β¨
π¦ where this page comes from
- alpine 3.24: dhcp-helper-doc 1.2-r3 Β· GPL-2.0-only OR GPL-3.0-only
- arch rolling: dhcp-helper 1.2-3 Β· GPL2
- debian bookworm: dhcp-helper 1.2-3.1
- debian trixie: dhcp-helper 1.2-3.3
- ubuntu jammy: dhcp-helper 1.2-3
- ubuntu noble: dhcp-helper 1.2-3.2
- ubuntu questing: dhcp-helper 1.2-3.3
- ubuntu resolute: dhcp-helper 1.2-3.3build1
- ubuntu stonking: dhcp-helper 1.2-3.3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms