ifconfig (io-sock)

Updated: April 19, 2023

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 Neutrino

Description:

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

For options and a detailed description, see the FreeBSD documentation (https://www.freebsd.org/cgi/man.cgi?query=ifconfig&sektion=8&manpath=FreeBSD+13.0-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.

Unlike the ifconfig utility for io-pkt, when you specify an interface and down with the ifconfig utility for io-sock, it does not take the physical link down. Thus, for io-sock, after you specify ifconfig interface down, the status for the interface remains active (for io-pkt, this command updated the status to no carrier).