Netstat -nr Problem
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Thu Mar 11 01:03:43 UTC 2004
Am Do, den 11.03.2004 schrieb Bevan C. Bennett um 01:47:
> Christopher K. Johnson wrote:
>
> > Or alternatively you can configure the route in an route-eth0 file
> > within the network-scripts directory instead of as a GATEWAY= setting in
> > the ifcfg-eth0 file, and the route specified in route-eth0 is not
> > applied to aliases.
>
> I configure my gateway in the following manner, and have never had a
> problem with sub-interfaces picking it up multiple times:
>
> /etc/sysconfig/network
> ----------------------
> NETWORKING=yes
> HOSTNAME=saladin
> GATEWAY=10.0.0.254
>
> /etc/sysconfig/network-scripts/ifcfg-eth*
> -----------------------------------------
> NO GATEWAY entry
>
> IMO this is more technically correct, as the default gateway is a
> system-wide setting, not an interface-dependant setting.
This is standard setup, either with or without alias devices. Full agree
Bevan.
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 02:02:26 up 2 days, 2:21, load average: 0.41, 0.27, 0.28
[ Γνωθι σ'αυτον - gnothi seauton ]
my life is a planetarium - and you are the stars
More information about the fedora-list
mailing list