Updated: October 28, 2024 |
Configure network interface parameters
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]
QNX Neutrino
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:
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).