ifconfig

QNX SDP8.0Utilities ReferenceUtilities

Configure network interface parameters

Syntax:

ifconfig [-f type:format[,type:format...]] [-L] [-k] [-m] [-n] interface
	     [create] address_family [address [dest_address]] [parameters]
ifconfig interface destroy
ifconfig -a [-L] [-d] [-[gG] groupname] [-m] [-u] [-v] [address_family]
ifconfig -l [-d] [-u] [address_family]
ifconfig [-L] [-d] [-k] [-m] [-u] [-v] [-C]
ifconfig [-g groupname]

Runs on:

QNX OS

Description:

The ifconfig utility that QNX OS provides is ported from FreeBSD. You can use it to assign an address to a network interface, configure network interface parameters, or both.

QNX OS does not support the -j option for ifconfig.

For options and a detailed description, see the FreeBSD documentation (https://www.freebsd.org/cgi/man.cgi?query=ifconfig&sektion=8&manpath=FreeBSD+13.3-RELEASE+and+Ports).

The following ifconfig parameter has a limitation that is specific to io-sock:

prefixlen len
For io-sock, 0 is not a valid value for len. If you specify 0, ifconfig sets the value to 128.
Note:

When you specify an interface and down, it does not take the physical link down. If you specify ifconfig interface down, the status for the interface remains active.

Page updated: