Re: Specifying multiple NICs
On Wed 01 Aug 2018 at 19:57:32 +0200, Pascal Hambourg wrote:
> Le 01/08/2018 à 19:32, Brian a écrit :
> > On Wed 01 Aug 2018 at 12:00:41 -0400, Mark Neidorff wrote:
> > >
> > > In the past, I referred to each NIC as eth0, eth1,..... but now, these names
> > > are not permanent, and the designation can change on boot. I looked at the
> > > "Network Coinfiguration" document which didn't have a solution. So, either how
> > > do I make the names for the NICs permanent or what do I use fot the names of
> > > the NICs?
> > Starting with v197, systemd/udev will automatically assign predictable,
> > stable network interface names for all local Ethernet devices. jessie
> > has udev v215. jessie-backports has v230.
> Jessie still has the old persistent naming scheme using
> /lib/udev/rules.d/75-persistent-net-generator.rules and
> /etc/udev/rules.d/70-persistent-net.rules by default, and the new
> predictable naming scheme is disabled (net.ifnames=0). The new predictable
> naming scheme has been enabled by default only since Stretch.
Enable it, then.
Delete /etc/udev/rules.d/70-persistent-network.rules and put
net.ifnames=1 on the kernel command line when booting.