OPENNHRP(8)
π OPENNHRP π (that's section 8 of the manual, bestie)
okay so real talk β this is opennhrp from the OpenNHRP Documentation, and we're about to get into it. strap in π
β¨ NAME β¨
opennhrp β the daemon that resolves next hop addresses in NBMA networks. that's the whole vibe. it figures out where to send stuff. icon behavior only π
πΈ SYNOPSIS πΈ
opennhrp [option]...
literally just the command plus however many options you want. go off π
π¦ DESCRIPTION π¦
so opennhrp implements the Next Hop Resolution Protocol (NHRP, iykyk), and its whole glowy purpose in life is making routing computer network traffic over Non-Broadcast, Multiple Access (NBMA) networks way more efficient. it's giving optimization. it's giving we don't do wasted hops here β¨
NHRP is basically the ARP-like solution for this world β it lets a system dynamically learn the NBMA address of the other systems hanging out on that same network. and then? those systems can talk directly to each other, no intermediate hop required. no middleman, no drama, main character communication only π
this implementation is based on RFC2332, but bestie it's not a straight copy β it contains some modifications and extensions so it plays nice with the Cisco NHRP/DMVPN implementation. the specific glow-ups made were for:
- authentication extension
- Cisco NAT address extension
- shortcut switching enhancements support
slay, compatible, periodt π
π OPTIONS π
the following options are recognized (yes, all of them, we're listing every single one):
-aadmin-socket β sets the management interface socket to admin-socket. the default is/var/run/opennhrp.socket.-cconfig-file β use config-file instead of/etc/opennhrp/opennhrp.conffor your configuration.-sscript-file β run script-file instead of/etc/opennhrp/opennhrp-scriptwhen important events go down.-ppid-file β stash the process id in pid-file instead of/var/run/opennhrp.pid. this file is also how the daemon detects whetheropennhrpis already running. important caveat bestie: pid-file is not created unless-dis specified too π«Ά-dβ run in daemon mode: it forks to the background after initialization. bye girl, she's got her own life now.-vβ verbose. prints more log messages. more lore π-Vβ print version and exit. short and sweet.
π SIGNALS π
SIGHUPβ forget all cached information about other system addresses. memory wiped, fresh start, not me deleting the whole cache πSIGUSR1β dump the NHRP peer database to the system log. receipts, in writing π
π§ FILES π§
/etc/opennhrp/opennhrp.confβ the system wide configuration file. check outopennhrp.conf(5)for the full details./etc/opennhrp/opennhrp-scriptβ the scriptopennhrpexecutes on important events. seeopennhrp-script(8)for more info on how the script is executed./var/run/opennhrp.socketβ theopennhrp(8)control socket.
π BUGS π
okay real talk, some honesty hours:
- currently only IPv4 over IPv4 networks using NBMA GRE tunnels is supported. and yeah, you need Linux kernel 2.6.24-rc2 or later. no cap, that's the requirement π
- replying with cached information to non-authorative resolution requests is not implemented. it's on the "someday" list bestie π
- please send bug reports to the OpenNHRP issue tracker in SourceForge.
β SEE ALSO β
for more info about the protocol itself, check out:
the lore is deep, go read it π¦
π AUTHORS π
Timo Teras <timo.teras@iki.fi> β the icon behind all this β¨
okay that's the whole page, bestie π«Ά this edition was documented on 16 November 2007 under OpenNHRP Documentation for OPENNHRP(8) β go resolve those next hops, you got this π π
π¦ where this page comes from
- alpine 3.22: opennhrp-doc 0.14.1-r12 Β· MIT AND (BSD-2-Clause OR GPL-2.0-or-later)
- alpine 3.23: opennhrp-doc 0.14.1-r12 Β· MIT AND (BSD-2-Clause OR GPL-2.0-or-later)
- alpine 3.24: opennhrp-doc 0.14.1-r12 Β· MIT AND (BSD-2-Clause OR GPL-2.0-or-later)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms