Operating System - HP-UX
1834814 Members
2805 Online
110070 Solutions
New Discussion

Network slow netstat -r very slow output

 
SOLVED
Go to solution
Alan Casey
Trusted Contributor

Network slow netstat -r very slow output

I have a network problem with an A500 and 1 network card.

100 Mb/s Ethernet.
Broadcast is a.b.255.255
I am a.b.c.d

For some reason the network connection is slow from some ipaddresses within the subnet but not others.

The output of netstat -r is VERY slow.
Any ideas?
5 REPLIES 5
Alan Casey
Trusted Contributor

Re: Network slow netstat -r very slow output

One extra thing:
arp -a is VERY slow
arp -an is NOT slow????
Vincent Stedema
Esteemed Contributor

Re: Network slow netstat -r very slow output

Hi,

This could be a name resolving issue.

Have you tried using "netstat -rn"? This will prevent name lookup for the displayed ip adresses.

Regards,

Vincent
Robin Wakefield
Honored Contributor
Solution

Re: Network slow netstat -r very slow output

Hi Alan,

From the symptoms you describe, I would suspect "netstat -rn" should also be quick compared to "netstat -r". This would indicate hostname resolution problems, i.e. DNS not working properly?

Rgds, Robin
Steve Steel
Honored Contributor

Re: Network slow netstat -r very slow output

Hi


Check

/etc/resolv.conf /etc/nsswitch.conf

Do you have something like NIS in nsswitch.conf while you are not using it.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alan Casey
Trusted Contributor

Re: Network slow netstat -r very slow output

Thanks guys,

The problem was with DNS server.
I removed dns from nsswitch.conf and problem solved.