avahi-autoipd(8)

πŸ“¦
version 0.9~rc2 Β· 2 versions
  • 0.9~rc2 Β· centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.8 Β· centos-stream 9, nixpkgs unstable
, in centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– avahi-autoipd β€” the IPv4LL network address configuration daemon ✨

okay bestie, so this is the avahi-autoipd manual page, straight out of the System Manager's Manual section. she's a daemon, she's iconic, and she's about to hand your little ad-hoc network an IP address with zero server drama. let's get into it 🫢


✨ NAME ✨

avahi-autoipd β€” IPv4LL network address configuration daemon πŸ’…


🌸 SYNOPSIS 🌸

avahi-autoipd [options] interface

avahi-autoipd --kill interface

avahi-autoipd --refresh interface

avahi-autoipd --check interface

πŸ¦‹ DESCRIPTION πŸ¦‹

so avahi-autoipd implements IPv4LL, aka "Dynamic Configuration of IPv4 Link-Local Addresses" (IETF RFC3927), which is a protocol for automatic IP address configuration from the link-local 169.254.0.0/16 range β€” and the whole point is you don't need a central server at all. she's primarily meant to be used in ad-hoc networks that are out here lacking a DHCP server. no server, no problem, we move πŸ’…

IPv4LL is part of the Zeroconf stack. periodt.

avahi-autoipd can be used as a stand-alone address allocator, or as a plugin for a DHCP client such as ISC's dhclient, where she can be used as a fallback solution if no DHCP server is found. versatile queen πŸ‘‘

now, if you want communication between hosts that have only an IPv4LL address assigned and hosts that have only a routable IP address assigned, you may add the following routes to both network configurations:

route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0 metric 99

route add default dev eth0 metric 99

see http://developer.apple.com/qa/qa2004/qa1357.html for more information πŸ‘€


πŸ’… OPTIONS πŸ’…

  • -D | --daemonize β€” daemonize after startup. implies --syslog. she's leaving to go be mysterious in the background 🧚
  • -k | --kill β€” kill an already running avahi-autoipd on the specified network interface. (equivalent to sending a SIGTERM) πŸ’€
  • -r | --refresh β€” tell an already running avahi-autoipd to re-announce the acquired IP address on the specified network interface. (equivalent to sending a SIGHUP) ✨
  • -c | --check β€” return 0 as return code if avahi-autoipd is already running for the specified network interface. vibe check: passed or not 🫢
  • -s | --syslog β€” log to syslog instead of STDERR. implied by --daemonize.
  • --debug β€” enable verbose mode. she will Not stop talking πŸ”₯
  • --no-drop-root β€” don't drop root privileges after startup. > we recommend not to use this option. bestie, pls. listen to the man page πŸ™ˆ
  • --no-chroot β€” don't chroot(2) the daemon. this option is only available when compiled with chroot() support.
  • -S | --start= β€” try to acquire the specified IP address, which must be from the IPv4LL range 169.254.0.0/16. main character energy, picking her own address πŸ‘‘
  • -w | --wait β€” wait until an IP address has been successfully acquired before detaching. only valid in combination with --daemonize. she's not leaving until she's got what she came for πŸ’…
  • --force-bind β€” acquire an IPv4LL address, even if a routable address has been configured on the interface. stubborn in the best way 😀
  • --no-proc-title β€” don't change the process name while running. unless this option is specified, avahi-autoipd will reflect its current state and the IP address in the process title. lowkey a live feed of her life 🌈
  • -h | --help β€” show help.
  • -v | --version β€” show version information.

πŸŽ€ FILES πŸŽ€

  • /etc/avahi/avahi-autoipd.action β€” the script to run when an IP address has been acquired or is lost. her little sidekick that reacts to the drama πŸ“

⭐ SIGNALS ⭐

  • SIGINT, SIGTERM β€” avahi-autoipd will shutdown. (same as --kill) 😭
  • SIGHUP β€” avahi-autoipd will re-announce the acquired IP address. (same as --refresh) ✨

🌈 AUTHORS 🌈

the Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/ β€” absolute legends, no cap πŸ’œ


πŸ’– SEE ALSO πŸ’–


🧚 COMMENTS 🧚

this man page was written using xml2man(1) by Oliver Kurth. shoutout 🫢


okay that's the whole page, you ate it, you read it, you understood it. and just so you know where this came from: this lil beauty lives in the Manuals source, filed under the User section, and her name is, obviously, avahi-autoipd(8). slay, go configure something πŸ’…βœ¨