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


Groups > linux.debian.user > #198153

Re: Specifying multiple NICs

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: Specifying multiple NICs
Date 2018-08-01 21:00 +0200
Message-ID <wi4vL-5ex-5@gated-at.bofh.it> (permalink)
References <wi1Rf-3Mc-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

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