Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #198146

RE: Specifying multiple NICs

From Edwin Pers <EPers@ansencorp.com>
Newsgroups linux.debian.user
Subject RE: Specifying multiple NICs
Date 2018-08-01 19:30 +0200
Message-ID <wi36G-4ug-9@gated-at.bofh.it> (permalink)
References <wi1Rf-3Mc-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Toss something like this for each interface into /etc/udev/rules.d/10-interface-names.rules

SUBSYSTEM=="net", ACTION=="add",ATTR{address}=="00:25:90:80:2e:a4", NAME="1gig1"

Replace the mac address with the one your interface has.

-Ed

-----Original Message-----
From: Mark Neidorff <mark@neidorff.com> 
Sent: Wednesday, August 1, 2018 12:01 PM
To: debian-user@lists.debian.org
Subject: Specifying multiple NICs

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?

Thanks,
Mark
--
If you finding the going easy, you're probably going downhill.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Specifying multiple NICs Mark Neidorff <mark@neidorff.com> - 2018-08-01 18:10 +0200
  RE: Specifying multiple NICs Edwin Pers <EPers@ansencorp.com> - 2018-08-01 19:30 +0200
  Re: Specifying multiple NICs Brian <ad44@cityscape.co.uk> - 2018-08-01 19:40 +0200
    Re: Specifying multiple NICs Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-08-01 20:00 +0200
      Re: Specifying multiple NICs Brian <ad44@cityscape.co.uk> - 2018-08-01 21:00 +0200
        Re: Specifying multiple NICs mark@neidorff.com - 2018-08-06 21:50 +0200
  Re: Specifying multiple NICs Darac Marjal <mailinglist@darac.org.uk> - 2018-08-01 21:00 +0200
    Re: Specifying multiple NICs Brian <ad44@cityscape.co.uk> - 2018-08-02 00:50 +0200

csiph-web