‫If config or interface configuration, it's a command that's used to configure the kernel resident network
‫interfaces.
‫So it's used at boot time to set up the interfaces as necessary.
‫So after that, it's usually used when needed during debugging or when you need system tuning, perhaps
‫if no arguments are given if config displays the status of the currently active interfaces.
‫Also, this command is used to assign the IP address and netmask to an interface or to enable or disable
‫given interface.
‫So let's just see how it works.
‫So first, just run the if config command without an argument.
‫All right, so here displays all the active interfaces details.
‫This is the assigned IP address of the counting machine.
‫It zero is the name of the network interface.
‫Now, to assign an IP address and netmask to specific interface, just use the following command with
‫an interface name ETA H zero IP address that you want to set and netmask argument.
‫So a netmask is a 32 bit binary mask, and it's used to divide an IP address and a subnet and specify
‫networks available hosts.
‫Hmm.
‫So this operation also needs root privileges.
‫I'm sure you know how to do that by now.
‫Let's run the command with pseudo.
‫So let's check the IP address of the Aetate zero interface.
‫All right, so here is the newly assigned IP address.