What is the difference between /etc/network/interfaces and /etc/config/network [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
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:
/etc/network/interfaces:
auto eth0
/etc/config/network:
option proto 'static'
option ipaddr '127.0.0.1'
config interface 'loopback'
option netmask '255.0.0.0'
config interface 'eth0'
option proto 'dhcp'
networking
closed as off-topic by chili555, N0rbert, Arronical, Eric Carvalho, Zanna Mar 14 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
add a comment |Â
up vote
2
down vote
favorite
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:
/etc/network/interfaces:
auto eth0
/etc/config/network:
option proto 'static'
option ipaddr '127.0.0.1'
config interface 'loopback'
option netmask '255.0.0.0'
config interface 'eth0'
option proto 'dhcp'
networking
closed as off-topic by chili555, N0rbert, Arronical, Eric Carvalho, Zanna Mar 14 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
2
Your embedded system is using another linux distribution, most likely openwrt or another specialized distribution.
â pim
Mar 14 at 14:14
1
/etc/config/network is not an Ubuntu file. I vote to close as not about Ubuntu.
â chili555
Mar 14 at 14:53
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
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:
/etc/network/interfaces:
auto eth0
/etc/config/network:
option proto 'static'
option ipaddr '127.0.0.1'
config interface 'loopback'
option netmask '255.0.0.0'
config interface 'eth0'
option proto 'dhcp'
networking
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:
/etc/network/interfaces:
auto eth0
/etc/config/network:
option proto 'static'
option ipaddr '127.0.0.1'
config interface 'loopback'
option netmask '255.0.0.0'
config interface 'eth0'
option proto 'dhcp'
networking
networking
asked Mar 14 at 14:04
hzc9107
111
111
closed as off-topic by chili555, N0rbert, Arronical, Eric Carvalho, Zanna Mar 14 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
closed as off-topic by chili555, N0rbert, Arronical, Eric Carvalho, Zanna Mar 14 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
2
Your embedded system is using another linux distribution, most likely openwrt or another specialized distribution.
â pim
Mar 14 at 14:14
1
/etc/config/network is not an Ubuntu file. I vote to close as not about Ubuntu.
â chili555
Mar 14 at 14:53
add a comment |Â
2
Your embedded system is using another linux distribution, most likely openwrt or another specialized distribution.
â pim
Mar 14 at 14:14
1
/etc/config/network is not an Ubuntu file. I vote to close as not about Ubuntu.
â chili555
Mar 14 at 14:53
2
2
Your embedded system is using another linux distribution, most likely openwrt or another specialized distribution.
â pim
Mar 14 at 14:14
Your embedded system is using another linux distribution, most likely openwrt or another specialized distribution.
â pim
Mar 14 at 14:14
1
1
/etc/config/network is not an Ubuntu file. I vote to close as not about Ubuntu.
â chili555
Mar 14 at 14:53
/etc/config/network is not an Ubuntu file. I vote to close as not about Ubuntu.
â chili555
Mar 14 at 14:53
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
It has a difference:
/etc/config/network
This configuration file is used by netifd (Network Interface Daemon) mostly used in OpenWrt distributions.
/etc/network/interfaces
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
.
add a comment |Â
up vote
0
down vote
/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.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
It has a difference:
/etc/config/network
This configuration file is used by netifd (Network Interface Daemon) mostly used in OpenWrt distributions.
/etc/network/interfaces
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
.
add a comment |Â
up vote
2
down vote
It has a difference:
/etc/config/network
This configuration file is used by netifd (Network Interface Daemon) mostly used in OpenWrt distributions.
/etc/network/interfaces
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
.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
It has a difference:
/etc/config/network
This configuration file is used by netifd (Network Interface Daemon) mostly used in OpenWrt distributions.
/etc/network/interfaces
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
.
It has a difference:
/etc/config/network
This configuration file is used by netifd (Network Interface Daemon) mostly used in OpenWrt distributions.
/etc/network/interfaces
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
.
edited Mar 14 at 15:06
Melebius
3,81341636
3,81341636
answered Mar 14 at 15:01
Nikolay Jambazov
211
211
add a comment |Â
add a comment |Â
up vote
0
down vote
/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.
add a comment |Â
up vote
0
down vote
/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.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
/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.
/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.
answered Mar 14 at 15:29
N0rbert
16.2k33275
16.2k33275
add a comment |Â
add a comment |Â
2
Your embedded system is using another linux distribution, most likely openwrt or another specialized distribution.
â pim
Mar 14 at 14:14
1
/etc/config/network is not an Ubuntu file. I vote to close as not about Ubuntu.
â chili555
Mar 14 at 14:53