macOS / binaries /

ifconfig

/sbin/ifconfig
Configure network interface parameters

The ifconfig utility is used to assign an address to a network interface and/or configure network interface parameters.

source: man