networking initskripts
Jeff Vian
jvian10 at charter.net
Fri Feb 3 01:06:29 UTC 2006
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
>
More information about the fedora-list
mailing list