Pierre Fortin wrote:
> Felix Miata wrote:
> > > > > > When I execute the route command, the result is as follows:
> > > > > > Kernel IP routing table
> > > > > > Destination Gateway Genmask Flags Metric Ref Use
>Iface
> > > > > > st21s.atlantic. * 255.255.255.255 UH 0 0 0
>eth0
> > > > > > localhost.local * 255.255.255.255 UH 0 0 0 lo
> > > > > > 192.168.0.0 * 255.255.255.0 U 0 0 0
>eth0
> > > > > > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> > > > > > default 192.168.0.254 0.0.0.0 UG 0 0 0
>eth0
> > > > > > default 192.168.0.254 0.0.0.0 UG 1 0 0
>eth0
> > > > > No delay if you use "route -n"... right?
> > > > Correct.
> > > > hosts: files nisplus nis dns
> > > Change this to:
> > > hosts: files dns
> > Changed.
> So your route command should work faster... no?
Only if I use -n. Plenty slow otherwise.
> > > > > And why do you have 2 default routes with different metrics..?
> > > Get rid of it with:
> > > route del default metric 1
> > Is this a one time time thing? Something to put in a startup conf file?
> Yes; though the following may need fixing to make it so.
> > > You should look around your config files including
> > > /etc/sysconfig/network-scripts/
> > For anything in particular? Just to read the commenting?
> For anything that would cause the 2nd route command. Since the metric must be
> specified (the same "route add default" can't be issued twice without it), you
> might grep for "metric"...
pwd:
/etc/sysconfig/network-scripts/
grep * metric:
ifup: route add default gw ${GATEWAY} metric 1 ${DEVICE}
ifup-aliases: route add default gw ${GATEWAY} metric 1
${DEVICE}
ifup-plip: route add default gw ${GATEWAY} metric 1 ${DEVICE}
()
-rwxr-xr-x 1 root root 3331 Jan 31 2000 /sbin/ifup
lrwxrwxrwx 1 root root 18 Jan 28 2000
/etc/sysconfig/network-scripts/ifup -> ../../../sbin/ifup
-rwxr-xr-x 1 root root 13753 Nov 22 1999
/etc/sysconfig/network-scripts/ifup-aliases
-rwxr-xr-x 1 root root 724 Jul 7 1998
/etc/sysconfig/network-scripts/ifup-plip
IIRC, the OS was installed Jan 2000. Is the Jan 2000 file the one that caused
the duplication? Should I just rem that line out? I suppose that file was last
modified by a Gnome ppp dialer configuration for my ISP?
--
A fool gives full vent to his anger, but a wise man keeps himself under control.
Proverbs 29:11 NKJV
Team OS/2
Felix Miata *** http://mrmazda.members.atlantic.net/