1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
.TH IFCONFIG "1" "December 2025" "GNU inetutils 2.7" "User Commands"
.SH NAME
ifconfig \- configure network interfaces
.SH SYNOPSIS
.B ifconfig
[\fI\,OPTION\/\fR...]
.SH DESCRIPTION
.IP
NAME [ADDR] [broadcast BRDADDR] [pointopoint|dstaddr DSTADDR]
.IP
[netmask MASK] [ether|hwaddr|lladdr MACADDR] [metric N] [mtu N]
[txqueuelen N] [up|down] [FLAGS]
.PP
Configure network interfaces.
.IP
Linux\-specific options
.TP
\fB\-T\fR, \fB\-\-txqlen\fR=\fI\,N\/\fR
set transmit queue length to N
.TP
\fB\-a\fR, \fB\-\-all\fR
display all available interfaces
.TP
\fB\-A\fR, \fB\-\-address\fR=\fI\,ADDR\/\fR
set interface address to ADDR
.TP
\fB\-B\fR, \fB\-b\fR, \fB\-\-broadcast\fR=\fI\,ADDR\/\fR, \fB\-\-brdaddr\fR=\fI\,ADDR\/\fR
set broadcast address to ADDR
.TP
\fB\-\-down\fR
shut the interface down
.TP
\fB\-d\fR, \fB\-p\fR, \fB\-\-dstaddr\fR=\fI\,ADDR\/\fR, \fB\-\-peer\fR=\fI\,ADDR\/\fR
set destination (peer) address to ADDR
.TP
\fB\-\-format\fR=\fI\,FORMAT\/\fR
select output format; set to `help' for info
.HP
\fB\-F\fR, \fB\-\-flags\fR=\fI\,FLAG[\/\fR,FLAG...] set interface flags
.TP
\fB\-i\fR, \fB\-\-interface\fR=\fI\,NAME\/\fR
configure network interface NAME
.TP
\fB\-l\fR, \fB\-\-list\fR
list available or selected interfaces
.TP
\fB\-\-metric\fR=\fI\,N\/\fR
set metric of interface to N
.TP
\fB\-m\fR, \fB\-\-netmask\fR=\fI\,MASK\/\fR
set netmask to MASK
.TP
\fB\-M\fR, \fB\-\-mtu\fR=\fI\,N\/\fR
set mtu of interface to N
.TP
\fB\-s\fR, \fB\-\-short\fR
short output format
.TP
\fB\-\-up\fR
activate the interface
.TP
\fB\-v\fR, \fB\-\-verbose\fR
output information when configuring interface
.TP
\-?, \fB\-\-help\fR
give this help list
.TP
\fB\-\-usage\fR
give a short usage message
.TP
\fB\-V\fR, \fB\-\-version\fR
print program version
.PP
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
.PP
Known flags are: allmulti, arp, automedia, broadcast, debug, dynamic, master,
multicast, pointopoint, portsel, promisc, slave, trailers, up
Prepend 'no' to negate the effect.
.SH AUTHOR
Written by Marcus Brinkmann.
.SH "REPORTING BUGS"
Report bugs to <bug\-inetutils@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B ifconfig
is maintained as a Texinfo manual. If the
.B info
and
.B ifconfig
programs are properly installed at your site, the command
.IP
.B info ifconfig
.PP
should give you access to the complete manual.
|