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 /etc/network/interfaces:
rename eth0=localnet auto localnet iface localnet inet static address blahblah rename eth1=internet iface internet inet dhcp and so on
Thanks, Mark -- If you finding the going easy, you're probably going downhill.
-- For more information, please reread.
Description: PGP signature