Firewall Basics 1.2 - guide says eth0 when lab uses ens5

It was a bit tricky to make sure this wasn’t already posted but I haven’t seen this specific one.


To be completely honest, I don’t know what ens5 even is. I assume a virtualized ethernet port of some kind, but that’s just a guess. All I know is that there was at some point a lab I did prior to this that said to check whether you had eth0 or ens5 and to adjust a thing accordingly.

Why do some labs have eth0 and others ens5? Is this something to be checking for often now?

The eth0 designation is older and generically meant “the first network interface”.

The newer designation (ens5) is more descriptive about the NIC interface itself:

ens5 → PCI slot 5
enp0s3 → PCI bus 0, slot 3
eno1 → onboard NIC

We should update this lab guide to reflect this cloud variability.

1 Like