Why is the route command so slow?

When playing with my network configuration it sometimes takes the route command very long to print out the routing table. Since it’s just a matter of reading in and printing out a routing table I can’t see what could be causing the delay. I don’t see any patterns in the timing of the slowdowns either.

ssouffri wrote:

> When playing with my network configuration it sometimes takes the route
> command very long to print out the routing table. Since it’s just a
> matter of reading in and printing out a routing table I can’t see what
> could be causing the delay. I don’t see any patterns in the timing of
> the slowdowns either.

Try both commands and tell us if you note some speed up in one of them:

“route”

And

“route -n”

The first one performs a dns resolution, so if this one is slow, check your
dns servers.

Greetings,


Camaleón

Jup, that was probably it. Thanks!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In any case use the ‘ip’ command instead. For information purposes it is
always fast:

ip route

for IP info:

ip addr

Good luck.

ssouffri wrote:
> Jup, that was probably it. Thanks!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJKpKPBAAoJEF+XTK08PnB5YykQALi9T41yDjDK43U9jnUVhN+5
tKEb2ZytY1DxpEnAPFe3tTF9s1U5kx4asLUNh9MH6ccB8sd83SyaH1Y1XYG/PAov
r5L2wQwCo/jWj4ADre7mOnOrjafGBDwGzWUF0FQp2qsQvguJYBRmRf6/5ynqmL9A
qJ6Cv5yQKljuqZTJFGmqc3zhg4iZ9GgQEKGAELx5iuhLXl6ifK8RR0AHzXUBAaES
VpUA+3Kxd/GIFbHKD4CJsCM43mL8bkquKa4vcjmyVkwb1dOppwzq1j8COcXJNMiJ
DqvIuwI5izEODtc5LV6g5O2kj9z6wX2ulCqvuq79wYWJE0ZSDzoykFbsP7npkPO5
puXOsYF+CJJ4puieMJJK8VdI9IcAR2MkcIaXMpdPJmlkHwce93LIBBYRNLpVpabN
kWQ8lefU2G/7x2IELil5ZyczT9wTl8A6AGtbNe7twfYa8KQReLZmgJxGzofb6MJ/
sAj4B13QNhGp3WexQ6LRVvnfvrwDFoRmJklKlV4XXi+0Zt6paGzLcxHRCLYj8Hle
47yb/Yux26CuSAAmKfi/2ac8Uo32tkUw8AGTRFl6TQknVEtkX22wUZ+Fnom0maeK
VVhngk5Uk00Oy4dXCIfPcxdqJvIRuvuWdr/heXAS9FTUlZwhRfmaB7+bcP7qoj7z
25k1Qt49D+WkYbLUYGPz
=Ust9
-----END PGP SIGNATURE-----