5

There are two NICs eth0 and eth1 (on Raspbian buster). For eth0 DHCP is used which works fine. eth1 is supposed to be up but otherwise go untouched (NO static address since I‘m trying to setup my own PPPoE server on eth1).

Setting eth1 to manual in /etc/network/interfaces doesnˋt work as it also gets an address. It seems the way NICs are configured has changed since wheezer but all examples I found relate only to configuration of static addresses.

So how can DHCP (eth0) and manual (eth1) be configured at the same time?

ViToni
  • 153
  • 1
  • 1
  • 4
  • 1
    Please edit your question and post the contents of /etc/network/interfaces and /etc/dhcpcd.conf on here. Those are the two things that control this stuff. – Dougie Oct 15 '19 at 23:42

1 Answers1

8

See Prevent dhcpcd from configuring an interface in How to set up networking/WiFi

Add denyinterfaces eth1 to the end of /etc/dhcpcd.conf (but above any other added interface lines).

NOTE eth1 may result in unpredictable results, as there will be a race condition in the enumeration of the interfaces. You should use Predictable Network Interface Names

Milliways
  • 59,890
  • 31
  • 101
  • 209