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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le 24/11/2010 09:22, 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.

Thx for your answer.

this script just uses /etc/sysconfig/network-scripts. All my interfaces
work fine. My problem sit to understand the intereaction between
/etc/sysconfig/networking and /etc/sysconfig/network-scripts. When I
boot the network script read and set up my interface with the
/etc/sysconfig/network-scripts files. So why are there
/etc/sysconfig/networking ? how these /etc/sysconfig/networking files
are used ?

THx a lot.

Guillaume

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux