[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The 'route' output



On Sun, 16 Jan 2011 21:28:15 -0800, Mike Bird wrote:

> Divide and conquer.  Your "route" is doing two things - - displaying
> your routing table and doing reverse DNS lookups on the IP addresses it
> finds.
> 
> Simplify the problem by looking at "route -n".

yep, "route -n" gives instant result, while "route" is still slow. So it 
is the reverse DNS lookups of "192.168.0.1"?

thanks

$ route 
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 
eth0
link-local      *               255.255.0.0     U     1000   0        0 
eth0
default         192.168.0.1     0.0.0.0         UG    0      0        0 
eth0


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: