On Fri 01 Sep 2023 at 16:56:42 -0600, D. R. Evans wrote:

> Michel Verdier wrote on 9/1/23 15:06:
> 
> > 
> > If you want old names put in /etc/default/grub
> > 
> > GRUB_CMDLINE_LINUX="net.ifnames=0"
> > 
> 
> Nice to know, but I'll stay with the new names, I think.
> 
> > network manager is good for changing networks. For a server the network
> > must not change normally. So you could put configuration in
> > /etc/network/interfaces.d/ with something like :
> > 
> > auto enp11s0
> > iface enp11s0 inet static
> >     mtu 1500
> >     metric 101
> >     address 209.97.232.18/24
> >     netmask 255.255.255.0
> >     gateway 209.97.232.1
> > 
> > auto enp12s0
> > iface enp12s0 inet static
> >     mtu 1500
> >     metric 100
> >     address 192.168.0.1/24
> >     netmask 255.255.0.0
> > 
> 
> When I'm feeling less tired and prone to making a mistake, I'll do this.
> 
> The old method seems so much simpler, so I'd be happy to go back to it. It
> seems that enough people are using it that it doesn't seem likely that it'll
> go away anytime soon.

The netmask line is unneeded. See interfaces(5).

THe loopback stanza is also unneeded. See the changelog for ifupdown.

-- 
Brian.

Reply via email to