Debian Codegraph @

man/ifconfig.1

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