giggzounet
2010-Nov-24 08:14 UTC
[CentOS] CentOS 5.5: what do /etc/sysconfig/networking and /etc/sysconfig/network-scripts exactly ?
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 ? Thx in advance, Best regards, Guillaume
Rudi Ahlers
2010-Nov-24 08:20 UTC
[CentOS] CentOS 5.5: what do /etc/sysconfig/networking and /etc/sysconfig/network-scripts exactly ?
On Wed, Nov 24, 2010 at 10:14 AM, giggzounet <giggzounet at gmail.com> 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 ? > > Thx in advance, > Best regards, > Guillaume > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >I always only use /etc/sysconfig/network-scripts -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532
John R Pierce
2010-Nov-24 08:22 UTC
[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.
Apparently Analagous Threads
- NetworkManager constantly overwriting /etc/resolve.conf - how to disable?
- hostname changes
- [CentOS 5.5] Program/method to test integrity of the system/packages
- Fwd: Typo in the FAQ at http://wiki.centos.org/FAQ/CentOS6, /etc/sysconfig/nertwork-scripts/ifcfg-eth0 should be /etc/sysconfig/network-scripts/ifcfg-eth0
- /etc/sysconfig/iptables syntax