Re: networking question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: networking question
On 2018-09-05 14:29, Jim wrote:
> On 09/05/2018 01:18 PM, Carruth, Rusty wrote:
>> First, the last question - yes, someone decided it was better to
>> not have eth0 any more, so now they are those weird enp4s1 names.
> Who are the idiots that change things for the hell of it?


The change to the new "persistent" network interface names was there to
address a problem that a few people were having. The first Ethernet
device the kernel found would be eth0, the second eth1, third eth2....
This worked fine until changes to how the kernel searches for network
devices happened. Suddenly, people with more than one NIC could find
that their eth0 was now eth1. And that broke all their networking
scripts.

So now Ethernet devices are (often) named based on where they are on
the PCI bus. Mine shows up as 04:00.0 in lspci, so it's enp4s0 . You
can add "net.ifnames=0" to the kernel command line to get rid of these
new names. There's no advantage in the new naming system if you only
have 1 NIC.

--
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss