View previous topic :: View next topic |
Author |
Message |
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Thu Aug 25, 2005 8:03 am Post subject: [SOLVED] "route" takes very long time |
|
|
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 |
|
|
mb Guru
Joined: 25 Apr 2002 Posts: 355 Location: Hessen | .de
|
Posted: Thu Aug 25, 2005 9:36 am Post subject: |
|
|
try
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 |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Thu Aug 25, 2005 9:43 am Post subject: |
|
|
Ah ok! Thanks for the explanation! |
|
Back to top |
|
|
|