Networking Forums

Networking Forums > Computer Networking > Linux Networking > route takes long time to give the table

Reply
Thread Tools Display Modes

route takes long time to give the table

 
 
H. S.
Guest
Posts: n/a

 
      11-17-2004, 02:20 AM
On Debian Testing running 2.6.7,the 'route' command is taking unusually
long time to give the table:
~# time route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
x.y.z.z * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
default x.y.z.z 0.0.0.0 UG 0 0 0 ppp0

real 0m20.010s
user 0m0.002s
sys 0m0.002s

However, 'route -n' command gives the output almost instantly.

Anybody else experiencing this? Any idea why this would be so?

->HS
 
Reply With Quote
 
 
 
 
Bill Unruh
Guest
Posts: n/a

 
      11-17-2004, 06:24 AM
"H. S." <(E-Mail Removed)> writes:

]On Debian Testing running 2.6.7,the 'route' command is taking unusually
]long time to give the table:
]~# time route
]Kernel IP routing table
]Destination Gateway Genmask Flags Metric Ref Use Iface
]x.y.z.z * 255.255.255.255 UH 0 0 0 ppp0
]192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
]192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
]default x.y.z.z 0.0.0.0 UG 0 0 0 ppp0

]real 0m20.010s
]user 0m0.002s
]sys 0m0.002s

]However, 'route -n' command gives the output almost instantly.

]Anybody else experiencing this? Any idea why this would be so?

It is trying to get the names corresponding tot he IP addresses from your
dns server. But they are not routable, or do not have names so it has
trouble and times out.
Use route -n



]->HS
 
Reply With Quote
 
Charlie Gibbs
Guest
Posts: n/a

 
      11-17-2004, 03:03 PM
In article <7szmd.18382$(E-Mail Removed)>,
(E-Mail Removed) (H. S.) writes:

>On Debian Testing running 2.6.7,the 'route' command is taking unusually
>long time to give the table:
>~# time route
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use Iface
>x.y.z.z * 255.255.255.255 UH 0 0 0 ppp0
>192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
>192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
>default x.y.z.z 0.0.0.0 UG 0 0 0 ppp0
>
>real 0m20.010s
>user 0m0.002s
>sys 0m0.002s
>
>However, 'route -n' command gives the output almost instantly.
>
>Anybody else experiencing this? Any idea why this would be so?


On my Slackware 9.1 boxes, sometimes all the lines come out
instantly except for that final "default" line (which in my
case also goes to a gateway, although it's on eth0). After
a pause of about 20 seconds (which I see is your delay as
well), the last line comes out.

And yes, I too would like to know what's happening.

--
/~\ (E-Mail Removed)lid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why it takes a long time to connect(TCP) in this condition ? joseluismarchetti@yahoo.com.br Linux Networking 4 03-12-2009 02:30 PM
USER PROFILE TAKES A LONG TIME TO LOAD JAS Windows Networking 2 11-19-2005 11:14 PM
Name resolution takes too long - lots of time outs hemanir@netzero.com Linux Networking 4 06-13-2005 01:05 AM
Belkin Pre-N Save file takes long time. Chips Wireless Internet 1 02-01-2005 03:20 AM
Ping with name takes long time Peter Gunreben Linux Networking 0 11-15-2003 06:19 AM



1 2 3 4 5 6 7 8 9 10 11