This question already has an answer here:

There is so much information out there on Ubuntu, I’m not sure where to look. I’ve been using some images for my odroid SBC, and older images used to have a file /etc/network/interfaces.d/eth0 where I would set a static ip address. On newer images, that file is gone, and in fact there are no files in that directory at all.

Did something fundamental happen to the way interfaces are now configured?

marked as duplicate by mikewhatever, user68186, Eliah Kagan, waltinator, Eric Carvalho Apr 12 '18 at 23:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • /etc/dhcpcd.conf but I'm not sure if Ubuntu works this way, I know this is what I have to do on Raspbian...only lurking here for more knowledge. – user553512 Apr 12 '18 at 21:20

The NIC configuration is now located in /etc/netplan/01-netcfg.yaml

Need example netplan yaml for static ip


  • Is netplan used for all Ubuntu versions or just recent ones? What version does the OP have? – chili555 Apr 12 '18 at 19:49

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