1
00:00:06,639 --> 00:00:11,029
When working with IP configuration, it's important
that you know which device name to use.

2
00:00:12,089 --> 00:00:14,449
In old Linux, network
device names were simple.

3
00:00:15,279 --> 00:00:19,844
They were named according to
the Type of network device eth0wlan0

4
00:00:19,844 --> 00:00:24,410
for instance, for an ethernet
network or the wireless network.

5
00:00:25,570 --> 00:00:30,820
On modern Linux, network devices are named
according to their physical location in the

6
00:00:30,820 --> 00:00:36,070
computer and its name is created
based on help of the network driver.

7
00:00:37,009 --> 00:00:42,935
Now, in case you are wondering why was that
needed? Well, that was needed because eth0, eth1, eth2,

8
00:00:42,935 --> 00:00:48,859
eth3 and so on was kind of hard
to relate to physical network cards on a computer.

9
00:00:49,500 --> 00:00:52,119
And that is why we have
BIOS devnames as we call it.

10
00:00:52,909 --> 00:00:57,850
BIOS dev name uses device names
that reveal information about the physical location.

11
00:00:58,679 --> 00:01:03,763
The systemd UDEFD program generates
the network device names and

12
00:01:03,763 --> 00:01:08,846
that might look like EM123
which stands for Ethernet motherboard

13
00:01:08,846 --> 00:01:13,930
followed by a port
number on that hardware motherboard.

14
00:01:14,510 --> 00:01:19,085
You can also have
names like P0P1 for

15
00:01:19,085 --> 00:01:23,659
the PCI bus
and the PCI slot.

16
00:01:24,280 --> 00:01:29,239
And you can have Eno123
for the Ethernet on board.

17
00:01:30,120 --> 00:01:36,010
Now, if the driver doesn't reveal sufficient
information, eth0 and so on is used.

18
00:01:36,549 --> 00:01:40,125
Best advice that I can give
you, just use IP link show

19
00:01:40,125 --> 00:01:43,700
to figure out what you are
using. Let's do that once again.

20
00:01:44,599 --> 00:01:48,170
So IP link is
showing that I have ENS160.

21
00:01:50,920 --> 00:01:53,870
It also has an old
name and that is ENP2S0.

22
00:01:56,200 --> 00:02:03,180
So the ENP2S0 is the physical
location and ENS160 is the alternate name.

23
00:02:04,120 --> 00:02:08,454
Just remember about this that these names
are never fixed and you need to

24
00:02:08,454 --> 00:02:12,789
figure out which network card name is
used on your system to configure accordingly.
