IFCFG(8)
๐ 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,deleteorstop. 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
- ubuntu jammy: iproute2 5.15.0-1ubuntu2 ยท GPL-2.0-only
- ubuntu jammy: iproute2 5.15.0-1ubuntu2.2 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms