Re: networking initskripts

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

 



On Thu, 2006-02-02 at 12:21 +0100, Boris Glawe wrote:
> Hello,
> 
> The configuration for networkinterfaces is kept in 
> /etc/sysconfig/networking/.
> 
> in profiles/default/ and in devices/ there are two identical files for 
> each device.
> 
> Why is the configuration for a networkinterface stored twice?
> 
It is actually only stored once.  It has 3 hard links to each file, the
two you name above and in /etc/sysconfig/network-scripts as well. This
latter one is the original location. Changing the contents in any one
changes all.

I do not know exactly why they chose to create the additional links but
I suspect it was influenced by the ability to create profiles for
networking.

> Here's what I am going to do:
> I'd like to manually add configuration files to many clients. Each 
> client needs an additional interface, though it has only one physical 
> interface. Thus I'd like to add "eth0:1" as a virtual interface.
> 
> Is it correct to only copy a file containing the approriate 
> configuration called "ifcfg-eth0:1" to 
> /etc/sysconfig/networking/devices? Or do I also have to copy the file to 
> /etc/sysconfig/networking/profiles/default/?
> 
> thanks in advance!
> 
> greets Boris
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux