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?

1
  • 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, 2019 at 23:42

1 Answer 1

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

1
  • Exactly what I was looking for. Thanks.
    – ViToni
    Oct 16, 2019 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.