What is the difference between /etc/network/interfaces and /etc/config/network [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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'









share|improve this question













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
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 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














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'









share|improve this question













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
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 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












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'









share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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
If this question can be reworded to fit the rules in the help center, please edit the question.




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
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 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




    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










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.






share|improve this answer





























    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.






    share|improve this answer



























      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.






      share|improve this answer


























        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.






        share|improve this answer
























          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.






          share|improve this answer














          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 14 at 15:06









          Melebius

          3,81341636




          3,81341636










          answered Mar 14 at 15:01









          Nikolay Jambazov

          211




          211






















              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.






              share|improve this answer
























                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.






                share|improve this answer






















                  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.






                  share|improve this answer












                  /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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 14 at 15:29









                  N0rbert

                  16.2k33275




                  16.2k33275












                      Popular posts from this blog

                      pylint3 and pip3 broken

                      Missing snmpget and snmpwalk

                      How to enroll fingerprints to Ubuntu 17.10 with VFS491