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

Wed Nov 24 12:09:03 UTC 2010
giggzounet <giggzounet at gmail.com>

Le 24/11/2010 10:43, Philippe Naudin a écrit :
> Le mer 24 nov 2010 00:22:36 CET, John R Pierce a écrit:
> 
>> 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.
> 
> Or easier : /usr/share/doc/initscripts-*/sysconfig.txt
> 

great! thx