Re: Netstat -nr Problem
From: Christopher K. Johnson (ckjohnson_at_gwi.net)
Date: 03/11/04
- Previous message: Bernd Kauling: "Re: Why"
- In reply to: Christopher K. Johnson: "Re: Netstat -nr Problem"
- Next in thread: Bevan C. Bennett: "Re: Netstat -nr Problem"
- Reply: Bevan C. Bennett: "Re: Netstat -nr Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: fedora-list@redhat.com Date: Wed, 10 Mar 2004 19:19:39 -0500
Christopher K. Johnson wrote:
> Yes, it is right. By default each alias inherits the settings of base
> interface unless overridden.
> To prevent this for the gateway setting add the following to the base
> interface configuration ifcfg-eth0:
>
> NO_ALIASROUTING=yes
>
> Chris
>
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.
To set a default gateway through eth0 set the contents of route-eth0 to:
default via x.x.x.x
Where x.x.x.x is replaced with your default gateway.
Per /usr/share/doc/initscripts-7.42.2/sysconfig.txt:
/etc/sysconfig/network-scripts/route-<interface-name>
Contains lines that are arguments to "/sbin/ip route add"
For example:
192.168.2.0/24 dev ppp0
adds a network route to the 192.168.2.0 network through ppp0.
Chris
-- ----------------------------------------------------------- "Spend less! Do more! Go Open Source..." -- Dirigo.net Chris Johnson, RHCE #807000448202021 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Bernd Kauling: "Re: Why"
- In reply to: Christopher K. Johnson: "Re: Netstat -nr Problem"
- Next in thread: Bevan C. Bennett: "Re: Netstat -nr Problem"
- Reply: Bevan C. Bennett: "Re: Netstat -nr Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|