DHCPCLIENT(1)
π DHCPCLIENT π
okay bestie, so you know how this whole thing lives in the FreeRADIUS Daemon manual? yeah. that's the family. this is the dhcpclient(1) page and honestly? she's a whole vibe. sit down, grab a boba, let's get into it π§β¨
β¨ NAME β¨
dhcpclient β send a DHCP request with provided RADIUS attributes and get the output response. it's giving "ask and you shall receive" but make it packets π«Ά
π¦ SYNOPSIS π¦
dhcpclient [-d raddb_directory] [-D dictionary_directory] [-f file] [-h]
[-i interface] [-t timeout] [-v] [-x] server[:port]
{discover|request|decline|release|inform|auto}
look at her. all those flags. main character energy fr fr π
πΈ DESCRIPTION πΈ
so dhcpclient is a DHCP test client program, no cap. she can send arbitrary DHCP packets to the FreeRADIUS server that's running as a DHCP server, and then she shows you the reply. like a lil messenger bestie who always texts back π
what's she for? two things, iconic of her:
- testing the changes you made in the configuration of the radius server
- monitoring whether a radius server is up
and here's the tea on how she works: dhcpclient reads radius attribute/value pairs from her standard input, or from a file you specified on the command line. then she encodes those attribute/value pairs using the dictionary, and sends them to the local or remote server. literally that simple. the way she just... does that ππ
π OPTIONS π
-d raddb_directoryβ the directory that contains the user dictionary file. defaults to/etc/raddb. that's her home base π-D dictionary_directoryβ the directory that contains the main dictionary file. defaults to/usr/share/freeradius. the other home base π‘-f file[:file]β file to read the attribute/value pairs from. if you don't specify this, they get read from stdin instead. and omg, you can specify this option multiple times?? yes bestie β in that case packets are sent in order by file, and within each file, by first packet to last packet. a blank line separates logical packets within a file. very organized. very demure π-hβ print usage help information. the "help me help you" button π«Ά-i interfaceβ select which interface to send/receive at packet level on a raw socket. raw socket. she's raw. π-t timeoutβ waittimeoutseconds before deciding that the NAS has not responded to a request, and re-sending the packet. and get this β this may be a floating point number, e.g.2.2. decimals?? slay π₯-vβ print out program version information. say hi to the version β¨-xβ print out debugging information. the "what is going ON" mode, for when you're nosy (affectionate) πserver[:port]β the hostname or IP address of the remote server. optionally a UDP port can be specified. if no UDP port is specified, it is looked up in/etc/services. the service name looked for isradacctfor accounting packets, andradiusfor all other requests. and if a service is not found in/etc/services,1813and1812are used respectively. she has backup plans for her backup plans πdiscover | request | decline | release | inform | autoβ DHCP options. use the type relevant for testing. pick your fighter π₯
π SEE ALSO π
go read that one next, iykyk π
π AUTHORS π
Alan DeKok <aland@freeradius.org>
thank you alan, you ate π
okay that's the whole page!! and for the cute lil sign-off: this gorgeous thing came from FreeRADIUS Daemon, dated 19 September 2016, and it's the DHCPCLIENT(1) manual. periodt. go test some packets bestie, you got this π
β¨π¦
π¦ where this page comes from
- arch rolling: freeradius 3.2.10-4 Β· GPL-2.0-or-later
- centos-stream 10: freeradius-utils 3.2.8-2.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 9: freeradius-utils 3.0.27-4.el9 Β· GPLv2+ and LGPLv2+
- fedora 43: freeradius-utils 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius-utils 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius-utils 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms