1

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?

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

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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