IFCFG(8)

๐Ÿ“ฆ version 5.15.0, in ubuntu jammy

๐Ÿ’– ifcfg โ€” the manual page, but make it make sense ๐Ÿ’–

okay so bestie, pull up a chair, because we're talking about ifcfg โ€” that's the section 8 one, the sysadmin-flavoured Linux page, iykyk. ๐ŸŽ€


โœจ NAME โœจ

ifcfg โ€” a simplistic script which replaces ifconfig IP management. that's it, that's the whole vibe. ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

ifcfg [ DEVICE ] [ command ] ADDRESS [ PEER ]

look at her. four little slots. so demure. ๐Ÿฆ‹


๐Ÿ‘‘ DESCRIPTION ๐Ÿ‘‘

This manual page documents briefly the ifcfg command. not everything, just briefly, we're keeping it cute. ๐Ÿ’œ

So here's the tea: this is a simplistic script that replaces one option of ifconfig โ€” namely, IP address management. just the one thing. she's a specialist, not a generalist. ๐Ÿ‘‘

And the way she does not stop at just adding addresses?? main character energy fr fr. She also:

  • carries out Duplicate Address Detection โ€” RFC-DHCP ๐Ÿ•ต๏ธโ™€๏ธ
  • sends unsolicited ARP to update the caches of other hosts sharing the interface ๐Ÿ“ฃ
  • adds some control routes ๐Ÿ›ฃ๏ธ
  • restarts Router Discovery when it is necessary ๐Ÿ”„

like, she's doing the most and honestly? we love that for her. ๐Ÿ’–


๐ŸŽ€ IFCONFIG - COMMAND SYNTAX ๐ŸŽ€

the four things you can hand her

  • DEVICE โ€” it may have an alias, a suffix, separated by a colon. yes bestie, the colon matters, do not forget the colon ๐Ÿ™ˆ
  • command โ€” she takes one of these three: add, delete or stop. pick your fighter โœจ
  • ADDRESS โ€” optionally followed by a prefix length. optional!! so if you want to give her the length, slay, and if not, also slay ๐Ÿฆ‹
  • peer โ€” optional peer address for pointpoint interfaces. only for the point-to-point girlies ๐Ÿ’œ

โš ๏ธ NOTES โš ๏ธ

๐Ÿšจ This script is not suitable for use with IPv6. ๐Ÿšจ

not being dramatic, it's just literally not built for it. keep her on IPv4, periodt. ๐Ÿ’€


๐Ÿ’œ SEE ALSO ๐Ÿ’œ

  • IP Command reference ip-cref.ps โ€” go read that one too, bestie, she's the whole ecosystem ๐Ÿ“š

๐ŸŒˆ ok bye ily ๐ŸŒˆ

this page came from iproute2, dated September 24 2009. yes, she's vintage, and yes, she still ate. ๐Ÿซถโœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from