Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] "route" takes very long time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jannis
Guru
Guru


Joined: 05 Dec 2004
Posts: 340
Location: Germany / Bavaria / Aschaffenburg

PostPosted: Thu Aug 25, 2005 8:03 am    Post subject: [SOLVED] "route" takes very long time Reply with quote

Hello! I am using the program "route" very often because my internet-connection-type changes often (DSL, Modem, LAN, ....). The problem is, that it takes very long to show me the table sometimes:

Code:
kripton kripton # time route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 wlan0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.2.1     0.0.0.0         UG    0      0        0 wlan0

real    1m0.005s
user    0m0.000s
sys     0m0.002s


Can someone tell my why this is so and what I can do against it?


Last edited by jannis on Thu Aug 25, 2005 9:44 am; edited 1 time in total
Back to top
View user's profile Send private message
mb
Guru
Guru


Joined: 25 Apr 2002
Posts: 355
Location: Hessen | .de

PostPosted: Thu Aug 25, 2005 9:36 am    Post subject: Reply with quote

try
Code:

route -n


your /etc/hosts file seems to be incomplete, because route tries to lookup hostnames for local IP's.


hth,
#mb
_________________
Linux ares 2.6.15-gentoo-r1 #4 SMP Mon Jan 16 17:38:31 CET 2006 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
jannis
Guru
Guru


Joined: 05 Dec 2004
Posts: 340
Location: Germany / Bavaria / Aschaffenburg

PostPosted: Thu Aug 25, 2005 9:43 am    Post subject: Reply with quote

Ah ok! Thanks for the explanation!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum