I have been using ubuntu for quite sometime now. But just recently started getting interested on the networking side of it (Mainly for work reasons). Just recently I ran into an embedded linux system which uses /etc/config/network in order to configure the interfaces on the system. As far as I know in order to do that you should use the /etc/network/interfaces file instead. Could anyone tell me what is the difference between this two files (if there is any?). Just as an example, the content of the files is:


auto eth0


option proto 'static'
option ipaddr ''
config interface 'loopback'
option netmask ''

config interface 'eth0'
option proto 'dhcp'

closed as off-topic by chili555, N0rbert, Arronical, Eric Carvalho, Zanna Mar 14 '18 at 18:43

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – chili555, N0rbert, Arronical, Eric Carvalho, Zanna
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Your embedded system is using another linux distribution, most likely openwrt or another specialized distribution. – pim Mar 14 '18 at 14:14
  • 1
    /etc/config/network is not an Ubuntu file. I vote to close as not about Ubuntu. – chili555 Mar 14 '18 at 14:53

It has a difference:


This configuration file is used by netifd (Network Interface Daemon) mostly used in OpenWrt distributions.


This configuration file is used by ifup (including ifdown and ifquery) utility. In other hand, distributions like Ubuntu, Debian use the NetworkManager daemon which manages network interfaces, connections in a flexible way.

If you want to use ifup instead of NetworkManager, you should configure NetworkManager not to manage interfaces used in /etc/network/interfaces.


/etc/config/network is usually used in OpenWRT/LEDE. It is off-topic here.

But networking basics are remain the same - static/dynamic IP, netmask, gateway, inbound/outbound (LAN/WAN) role.

See Chapter 4. Networking of Ubuntu Server Guide for Ubuntu-related details.

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