1 00:00:06,600 --> 00:00:08,130 - In this video, I want to tell you 2 00:00:08,130 --> 00:00:10,860 about network device names. 3 00:00:10,860 --> 00:00:12,180 So what is going on? 4 00:00:12,180 --> 00:00:13,560 Well, in old Linux, 5 00:00:13,560 --> 00:00:15,090 network device names were named 6 00:00:15,090 --> 00:00:17,370 according to the type of network device, 7 00:00:17,370 --> 00:00:22,370 eth0 for the first ethernet device and eth1 8 00:00:22,680 --> 00:00:24,450 if you would have a second one. 9 00:00:24,450 --> 00:00:28,230 wlan0 for a wireless land device. 10 00:00:28,230 --> 00:00:31,380 In modern Linux, network devices are named according 11 00:00:31,380 --> 00:00:33,570 to their physical location in the computer, 12 00:00:33,570 --> 00:00:35,580 with the help of the driver. 13 00:00:35,580 --> 00:00:38,400 And there was a need for that, because in Linux 14 00:00:38,400 --> 00:00:42,450 you often have servers, multiple network devices. 15 00:00:42,450 --> 00:00:44,910 And if you have a server with eight network cards, 16 00:00:44,910 --> 00:00:47,070 then it's very hard to see the difference, 17 00:00:47,070 --> 00:00:48,960 the physical difference on your server 18 00:00:48,960 --> 00:00:52,560 and the identification of your network card. 19 00:00:52,560 --> 00:00:54,360 And that is why, nowadays we have this thing 20 00:00:54,360 --> 00:00:56,490 called biosdevname. 21 00:00:56,490 --> 00:00:59,730 Biosdevname uses device names that reveal information 22 00:00:59,730 --> 00:01:01,293 about physical location. 23 00:01:02,340 --> 00:01:05,460 The system D component, system-udevd 24 00:01:05,460 --> 00:01:07,590 generates the network device names 25 00:01:07,590 --> 00:01:11,190 based on the information that it receives from the driver. 26 00:01:11,190 --> 00:01:15,150 And you will get names like em123 for embedded 27 00:01:15,150 --> 00:01:19,470 or P followed by a port and a P and slot like P0P1, 28 00:01:20,460 --> 00:01:24,660 which is PCI port zero and PCI slot number one. 29 00:01:24,660 --> 00:01:28,023 or eno123 for EtherNet Onboard. 30 00:01:29,100 --> 00:01:31,950 If the driver does not reveal sufficient information 31 00:01:31,950 --> 00:01:35,340 you might still see eth0, and so on, 32 00:01:35,340 --> 00:01:39,960 but nowadays, eth0 is not something to be seen anymore. 33 00:01:39,960 --> 00:01:43,350 You will have to deal with these ENS interface names 34 00:01:43,350 --> 00:01:46,413 like we see in the VMware virtual environment.