On Fri, 6 Nov 1998, Neil Moore-Smith wrote:
> I have a strange symptom occurring. When I display the routing table using
> "netstat -r" it displays routes through the eth0 and loopback interfaces
> then sits there, without displaying the default route. I have to press
> ctrl-c to get the prompt back. If I delete the default route, the table
> displays OK, but of course, I lose the route.
>
> I know I'm typing in the route add command correctly, and I can ping the
> interface used as the default route, so what's happening?
What's happening is that you are operating the command in a mode in which it
displays IP addresses as host names instead.
For each address that is displayed, the program must do a reverse name lookup
to map the IP to a name. This could involve DNS for names that are not in
your /etc/hosts, and DNS can take a long time.
Try ``netstat -rn'' instead, then you should not see any delays.
Install entries for frequently accessed hosts (that have static IP's) and
networks in your /etc/hosts and /etc/networks file, so that their names
resolve even if your DNS server is down.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]