ifconfig(1) configure network interfaces


ifconfig [OPTION...]


NAME [ADDR] [broadcast BRDADDR] [pointopoint|dstaddr DSTADDR]
[netmask MASK] [metric N] [mtu N] [txqueuelen N] [up|down] [FLAGS]

Configure network interfaces.

Linux-specific options
-T, --txqlen=N
set transmit queue length to N
-a, --all
display all available interfaces
-A, --address=ADDR
set interface address to ADDR
-B, -b, --broadcast=ADDR, --brdaddr=ADDR
set broadcast address to ADDR
-d, -p, --dstaddr=ADDR, --peer=ADDR
set destination (peer) address to ADDR
shut the interface down
select output format; set to `help' for info
-F, --flags=FLAG[,FLAG...] set interface flags
-i, --interface=NAME
configure network interface NAME
-l, --list
list available or selected interfaces
-m, --netmask=MASK
set netmask to MASK
set metric of interface to N
-M, --mtu=N
set mtu of interface to N
-s, --short
short output format
activate the interface (default if address is given)
-v, --verbose
output information when configuring interface
-?, --help
give this help list
give a short usage message
-V, --version
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Known flags are: allmulti, automedia, debug, loopback, multicast, portsel, running, trailers, up


Written by Marcus Brinkmann.


Report bugs to <[email protected]>.


Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.