Re: Specifying multiple NICs
On Wed 01 Aug 2018 at 19:54:03 +0100, Darac Marjal wrote:
> On Wed, Aug 01, 2018 at 12:00:41PM -0400, Mark Neidorff wrote:
> > I'm setting up a "just in case" replacement mailserver for my domain and my
> > local network. I'm using Debian Jessie, because the latest instructions for
> > setting the mailserver (qmail) are written for Jessie. The mailserver has 2
> > NICs (one for local network, and one for Internet).
> > 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?
> In my opinion, the most "debian" way is to do the following in
> rename eth0=localnet
> auto localnet
> iface localnet inet static
> address blahblah
> rename eth1=internet
> iface internet inet dhcp
> and so on
Is rename part of the file format of interfaces on jessie?