macOS / binaries /

ipconfig

/usr/sbin/ipconfig
View and control IP configuration state

ipconfig is a utility that communicates with the IPConfiguration agent to retrieve and set IP configuration parameters. It should only be used in a test and debug context. Using it for any other purpose is strongly discouraged.

source: man