Using ping to test reachability using host names
If ping is successful when using the IP address of the
remote host, you may wish to ping the remote host using
the host names by which it should be reachable:
ping remote_hostname
If ping fails, it may fail with the following message:
ping: unknown host remote_hostname
This error message from ping indicates that the
remote_hostname used on the ping command
line does not have an entry in /etc/hosts or is not
resolvable with DNS.
This can be resolved by:
-
Editing the /etc/hosts file on the local host
to include an entry for the remote host.
-
Ensuring that DNS can resolve the remote host name (if DNS
is being used).
-
Ensuring that users use a correct name for the remote host in case
the name being used is incorrect.
If ping fails with the following message (reported through
syslog), your modem may be filtering out control characters:
receiving bad checksum packets
You can resolve this in either of two ways:
-
Configure your modem not to filter out control characters.
-
Try to bring up the PPP link with both sides
setting accm to 0xffffffff.
Next topic:
Verifying UUCP connectivity before PPP use
Previous topic:
Verifying the existence of a PPP network interface
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003