ifconfig(1)
π ifconfig(1) β configure network interfaces π
okay so this is the manual page for ifconfig, bestie. It lives in the User's Reference Manual, and it's literally the girlboss of network interface configuration. Sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
ifconfig β configure network interfaces
πΈ SYNOPSIS πΈ
ifconfig [option ...] 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 it, that's the whole vibe. π
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. (i.e. the long-option/short-option besties mirror each other exactly, no cap.)
The known flags are: allmulti, arp, automedia, broadcast, debug, dynamic, master, multicast, pointopoint, portsel, promisc, slave, trailers, up.
And the trick? Prepending no to any of these flags will negate their effect. So up is up and noup is... not. Iconic behaviour honestly. π
π OPTIONS π
-a,--allβ Display all available interfaces. All of them. The whole roster. π-A,--address addrβ Set the interface address to addr.-B,--broadcast addrβ (the original page just lists this one and dips, no description given, we move π)-b,--brdaddr addrβ Set the broadcast address to addr.-d,--dstaddr addrβ (again, listed with zero explanation in the original, so no extra lore from me π)-p,--peer addrβ Set the destination (peer) address to addr.--upβ Activate the interface. This is the default if an address is given.--downβ Shut the interface down. π She's resting.-F,--flags flag,[flag ...]β Set the interface flags.-i,--interface nameβ Configure the network interface name.-l,--listβ List the available or selected interfaces.-m,--netmask maskβ Set the netmask to mask.--metric nβ Set the interface metric to n.-M,--mtu nβ Set the interface MTU to n.--format formatβ Select the output format; set tohelpfor information.-s,--shortβ Short output format. Minimalist queen. β¨-v,--verboseβ Output information when configuring the interface.-?,--helpβ Give this help list.--usageβ Give a short usage message.-V,--versionβ Print program version.
π§ Linux-specific options:
-T,--txqlen nβ Set the transmit queue length to n.
β Reminder bestie:noin front of a flag flips it off.noup,noarp, you get it. That's the whole negate-your-flags moment and it applies to every single flag up there. π
So yeah β that's ifconfig, brought to you by <b>GNU Network Utilities</b>, dated <b>February 9, 2019</b>. Go configure something cute. π«Άπ·π
π¦ where this page comes from
- debian trixie: inetutils-tools 2:2.6-3+deb13u3
- ubuntu questing: inetutils-tools 2:2.6-1ubuntu3
- ubuntu questing: inetutils-tools 2:2.6-1ubuntu3.2
- ubuntu resolute: inetutils-tools 2:2.7-2ubuntu1
- ubuntu resolute: inetutils-tools 2:2.7-2ubuntu1.1
- ubuntu stonking: inetutils-tools 2:2.8-2ubuntu1
- Copyright Β© 2015 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms