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?

> > > > 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"...

Pierre

Reply via email to