Re: How to set default gateway

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

 



For the /etc/sysconfig/network-scripts/ifcfg-interfacename, do I
specify at ifcfg-bond0 only or do I also need to specify at ifcfg-eth1
and ifcfg-eth2 ?

For /etc/sysconfig/network, do I have to specify the netmask of the
default gateway ?

Thanks.

On 7/19/05, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
> Hanny Tidore wrote:
> > How do I set the default gateway manually (without using the route
> > command) ? Is there any file to edit ? I also need to specify the
> > netmask.
> 
> Netmask is a function of the interface and should be specified in
> /etc/sysconfig/network-scripts/ifcfg-interfacename
> 
> e.g.
> NETMASK=255.255.255.0
> 
> The default gateway is a function of the system as a whole and should be
> set in /etc/sysconfig/network
> 
> e.g.
> GATEWAY=10.1.2.3
> 
> Paul.
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


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

  Powered by Linux