[CentOS] CentOS 5.5: what do /etc/sysconfig/networking and /etc/sysconfig/network-scripts exactly ?

Keith Roberts keith at karsites.net
Wed Nov 24 17:32:43 UTC 2010


On Wed, 24 Nov 2010, John R Pierce wrote:

> To: centos at centos.org
> From: John R Pierce <pierce at hogranch.com>
> Subject: Re: [CentOS] CentOS 5.5: what do /etc/sysconfig/networking and
>     /etc/sysconfig/network-scripts exactly ?
> 
> On 11/24/10 12:14 AM, giggzounet wrote:
>> Hi,
>>
>> on our cluster we have 5 network interfaces. I was surprised to discover
>> that the ifcfd-* files under /etc/sysconfig/networking and
>> /etc/sysconfig/network-scripts were not the same. So I have searched a
>> little bit, but I'm now confused:
>>
>> - the files under /etc/sysconfig/networking come from system-config-network.
>> - the files under /etc/sysconfig/network-scripts are read by the
>> /etc/init.d/network script and used to set up the network interfaces.
>> - I don't find where the files under /etc/sysconfig/networking are used.
>> - Does system-config-network modify the file under
>> /etc/sysconfig/network-scripts too ?
>>
>> Is there someone who can enlightenment me ?
>
> take a look at /etc/rc.d/init.d/network
>
> thats the script that runs all that other stuff to fire up all the
> networking interfaces defined.
>
> its moderately complicated.

Some of the ifcfg* scripts may also be hard-linked to make 
things a little more complicated.

Keith




More information about the CentOS mailing list