Re: How to set default gw not by route command in linux?



On 23 Nov 2006 07:32:39 -0800, ChaoZhang wrote:

Ok, I'm using Fedora core 5 linux.

then you will want to know about the sysconfig.txt file.

do a
locate sysconfig.txt

look in sysconfig.txt for /etc/sysconfig/network-scripts/route-<interface-name>


You will also want to remove the GATEWAY=value line from the
/etc/sysconfig/network-scripts/ifcfg-ethX config file which is setting
an incorrect default gateway value.


.