.TH IFCONFIG "1" "December 2013" "GNU inetutils" "User Commands" .SH NAME ifconfig \- configure network interfaces .SH SYNOPSIS .B ifconfig [\fIOPTION\fR...] .SH DESCRIPTION .IP NAME [ADDR] [broadcast BRDADDR] [pointopoint|dstaddr DSTADDR] .IP [netmask MASK] [metric N] [mtu N] [txqueuelen N] [up|down] [FLAGS] .PP Configure network interfaces. .IP Linux\-specific options .TP \fB\-T\fR, \fB\-\-txqlen\fR=\fIN\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=\fIADDR\fR set interface address to ADDR .TP \fB\-B\fR, \fB\-b\fR, \fB\-\-broadcast\fR=\fIADDR\fR, \fB\-\-brdaddr\fR=\fIADDR\fR set broadcast address to ADDR .TP \fB\-d\fR, \fB\-p\fR, \fB\-\-dstaddr\fR=\fIADDR\fR, \fB\-\-peer\fR=\fIADDR\fR set destination (peer) address to ADDR .TP \fB\-\-down\fR shut the interface down .TP \fB\-\-format\fR=\fIFORMAT\fR select output format; set to `help' for info .HP \fB\-F\fR, \fB\-\-flags\fR=\fIFLAG[\fR,FLAG...] set interface flags .TP \fB\-i\fR, \fB\-\-interface\fR=\fINAME\fR configure network interface NAME .TP \fB\-l\fR, \fB\-\-list\fR list available or selected interfaces .TP \fB\-m\fR, \fB\-\-netmask\fR=\fIMASK\fR set netmask to MASK .TP \fB\-\-metric\fR=\fIN\fR set metric of interface to N .TP \fB\-M\fR, \fB\-\-mtu\fR=\fIN\fR set mtu of interface to N .TP \fB\-s\fR, \fB\-\-short\fR short output format .TP \fB\-\-up\fR activate the interface (default if address is given) .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, automedia, debug, loopback, multicast, portsel, running, trailers, up .SH AUTHOR Written by Marcus Brinkmann. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.