IFCONFIG(1)

πŸ“¦ version 2.7, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie so ifconfig β€” it configures network interfaces. that's it, that's the whole vibe. your network cards? this is the girl who dresses them. πŸŽ€

this one's from User Commands (section 1 of the manual, for the uninitiated πŸ’…).


✨ SYNOPSIS ✨

ifconfig [OPTION...]

and also, the long-form shape of it:

       NAME [ADDR] [broadcast BRDADDR] [pointopoint|dstaddr DSTADDR]

       [netmask MASK] [ether|hwaddr|lladdr MACADDR] [metric N] [mtu N]
       [txqueuelen N] [up|down] [FLAGS]

πŸ¦‹ DESCRIPTION πŸ¦‹

Configure network interfaces. that's the whole job, no cap. she's a network interface configurator and she ate. πŸ’…

🌸 Linux-specific options

these babies are the Linux-only squad, iykyk:

  • -T, --txqlen=N β€” set transmit queue length to N ✨
  • -a, --all β€” display all available interfaces (every single one, no gatekeeping 🫢)
  • -A, --address=ADDR β€” set interface address to ADDR
  • -B, -b, --broadcast=ADDR, --brdaddr=ADDR β€” set broadcast address to ADDR πŸ“‘
  • --down β€” shut the interface down πŸ’€ (she's going to sleep, do not disturb)
  • -d, -p, --dstaddr=ADDR, --peer=ADDR β€” set destination (peer) address to ADDR
  • --format=FORMAT β€” select output format; set it to help for info πŸ‘€ (there's like, extra info in there)
  • -F, --flags=FLAG[,FLAG...] β€” set interface flags
  • -i, --interface=NAME β€” configure network interface NAME
  • -l, --list β€” list available or selected interfaces πŸ“‹
  • --metric=N β€” set metric of interface to N
  • -m, --netmask=MASK β€” set netmask to MASK
  • -M, --mtu=N β€” set mtu of interface to N
  • -s, --short β€” short output format (for when you're in a rush bestie πŸƒβ€β™€οΈ)
  • --up β€” activate the interface πŸ”₯ (wake up queen)
  • -v, --verbose β€” output information when configuring interface (she tells you everything she's doing πŸ—£οΈ)
  • -?, --help β€” give this help list
  • --usage β€” give a short usage message
  • -V, --version β€” print program version
bestie listen: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. that's just how it works, fr fr.

🧚 The Flags, aka the known-flag roster πŸ‘‘

Known flags are: allmulti, arp, automedia, broadcast, debug, dynamic, master, multicast, pointopoint, portsel, promisc, slave, trailers, up

Prepend no to negate the effect. yes literally just stick no on the front and the flag is cancelled. iconic behaviour honestly. πŸ™ˆ


πŸ’œ AUTHOR πŸ’œ

Written by Marcus Brinkmann. πŸ‘‘ (we stan)


🌈 REPORTING BUGS 🌈

Report bugs to <bug-inetutils@gnu.org>. don't be shy, they literally want to know 🫢


Copyright Β© 2025 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. πŸ‘€ (yes, in all caps, because it's serious β€” no warranty bestie, read it, absorb it)


πŸ“ SEE ALSO πŸ“

The full documentation for ifconfig is maintained as a Texinfo manual. If the info and ifconfig programs are properly installed at your site, the command

info ifconfig

should give you access to the complete manual. so much more where that came from πŸ’–


and that's the whole page bestie β€” this was GNU inetutils 2.7, dated December 2025, page IFCONFIG(1) of the manual. periodt. πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from