Ifconfig

is a command in Unix-like operating systems like Linux, FreeBSD, OpenBSD, macOS for Ethernet network interface configuration.

In macOS, the  command functions as a wrapper to the IPConfiguration agent, and can control the BootP and DHCP clients from the command-line. Use of  to modify network settings in macOS is discouraged, because   operates below the level of the system frameworks which help manage network configuration. To change network settings in macOS from the command line, use  or.

command is included in the  package but not installed by default in RHEL since version 7.

macOS alias
Configure 3 alias in  interface, https://ss64.com/osx/ifconfig.html: sudo ifconfig en1 inet 192.168.10.2/24 add sudo ifconfig en1 inet 192.168.20.2/24 add sudo ifconfig en1 inet 192.168.30.2/24 add or sudo ifconfig en1 inet 192.168.10.2/24 alias sudo ifconfig en1 inet 192.168.20.2/24 alias sudo ifconfig en1 inet 192.168.30.2/24 alias

Activities

 * Show interface configuration in Linux including ip addresses:  or
 * Show interface Ethernet network capabilities of your interface, such as speed, with: ,
 * Show all network inferfaces in Linux:


 * Learn about Linux Naming Schemes Hierarchy.