Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The file is configured for a static ip ethernet connection. I do not have isc-dhcp-client nor network-manager. So which is the program that actually uses /etc/network/interfaces to make the connection ? Is it the Linux kernel directly ?

/etc/network/interfaces

auto lo
iface lo inet loopback

iface eth0 inet static
    address 192.168.0.190
    netmask 255.255.255.0
    gateway 192.168.0.1
share|improve this question

closed as not a real question by Zoredache, Ward, Wesley, Jenny D, Ladadadada May 21 '13 at 9:51

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
What is the actual problem you are trying to solve? –  kce May 15 '13 at 19:32

2 Answers 2

up vote 3 down vote accepted

No, it isn't the kernel. /etc/network/interfaces is just a configuration file used by ifup and ifdown, which are scripts run as part of the startup sequence, usually by a service with the word "network" somewhere in it. If you google around for Ubuntu Startup Sequence, you'll find some decent descriptions about how startup works and from there you can figure out exactly what happens for the particular version you are running.

share|improve this answer
    
Once the network is up, which is the program that handles ethernet traffic ? –  elf1986 May 15 '13 at 19:10
    
@WarrenJackson Once the Ethernet connection is up, and the interface is provisioned with IP information, it is the kernel that handles traffic through the sockets interface. –  sysadmin1138 May 15 '13 at 20:16

Not the kernel, the kernel doesn't read your filesystem.
There are some scripts (for ex /etc/init.d/networking), which process this file and via kernel API calls will raise the devices, configure IP's/route's etc.

share|improve this answer
    
Once the network is up, which is the program that handles ethernet traffic ? –  elf1986 May 15 '13 at 19:10
    
Kernel handles. –  Sandor Marton May 15 '13 at 19:16

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