Re: Why does printing the route table take so long?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Deepak Saxena
Date:  
To: plug-discuss
Subject: Re: Why does printing the route table take so long?
On Mar 04 2004, at 01:19, Entelin was caught saying:
> Why does printing the route table take so long? Something thats always
> bothered me a bit.


When you run route with the default command line options, it attempts
to do a reverse DNS lookup of the IP addresses for the gateway
hosts. If you are on a private network without a DHCP server to provide
that information, it has to wait until the DNS query timesout.
Run 'route -n' to disable the DNS queries and it will run much
faster. This works for many of the network tools (netstat, traceroute,
etc).

~Deepak

--
Deepak Saxena - dsaxena at plexity dot net - http://www.plexity.net/
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss