Felix Miata wrote:
>
> Pierre Fortin wrote:
>
> > Felix Miata wrote:
>
> > > I am trying to get Linux to peer with OS/2 and windoze. I have a Linux
> > > book guiding me through.
>
> > > 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
>
> > > The book example looks rather different, and when I execute the command,
> > > it takes a very long time to complete, unlike the OS/2 counterpart,
>
> > > which completes instantly. Is this long time normal for Linux, over a
> > > minute?
>
> > No delay if you use "route -n"... right?
>
> Correct.
>
> > What does the "host:" line in /etc/nsswitch.conf say..?
>
> No such line in /etc/nsswitch.conf, but it does have:
Sorry... my typo.
> hosts: files nisplus nis dns
Change this to:
hosts: files dns
unless you are using NIS in which case you may want to have one vs both.
> > And why do you have 2 default routes with different metrics..?
>
> That's what I'd like to know. Seeing that after the long delay executing
> route sort of like announced a problem.
Get rid of it with:
route del default metric 1
You should look around your config files including
/etc/sysconfig/network-scripts/
HTH,
Pierre