1 00:00:01,200 --> 00:00:09,750 ‫If config or interface configuration, it's a command that's used to configure the kernel resident network 2 00:00:09,750 --> 00:00:10,530 ‫interfaces. 3 00:00:11,840 --> 00:00:16,700 ‫So it's used at boot time to set up the interfaces as necessary. 4 00:00:17,180 --> 00:00:24,230 ‫So after that, it's usually used when needed during debugging or when you need system tuning, perhaps 5 00:00:24,860 --> 00:00:30,050 ‫if no arguments are given if config displays the status of the currently active interfaces. 6 00:00:31,360 --> 00:00:38,050 ‫Also, this command is used to assign the IP address and netmask to an interface or to enable or disable 7 00:00:38,410 --> 00:00:39,580 ‫given interface. 8 00:00:40,420 --> 00:00:41,770 ‫So let's just see how it works. 9 00:00:42,730 --> 00:00:45,760 ‫So first, just run the if config command without an argument. 10 00:00:46,700 --> 00:00:50,150 ‫All right, so here displays all the active interfaces details. 11 00:00:50,750 --> 00:00:53,240 ‫This is the assigned IP address of the counting machine. 12 00:00:54,400 --> 00:00:57,550 ‫It zero is the name of the network interface. 13 00:00:59,570 --> 00:01:06,530 ‫Now, to assign an IP address and netmask to specific interface, just use the following command with 14 00:01:06,530 --> 00:01:14,600 ‫an interface name ETA H zero IP address that you want to set and netmask argument. 15 00:01:15,500 --> 00:01:23,930 ‫So a netmask is a 32 bit binary mask, and it's used to divide an IP address and a subnet and specify 16 00:01:23,930 --> 00:01:26,180 ‫networks available hosts. 17 00:01:27,450 --> 00:01:27,730 ‫Hmm. 18 00:01:28,380 --> 00:01:31,590 ‫So this operation also needs root privileges. 19 00:01:31,650 --> 00:01:33,600 ‫I'm sure you know how to do that by now. 20 00:01:34,560 --> 00:01:36,150 ‫Let's run the command with pseudo. 21 00:01:38,620 --> 00:01:42,520 ‫So let's check the IP address of the Aetate zero interface. 22 00:01:43,740 --> 00:01:47,220 ‫All right, so here is the newly assigned IP address.