Chapter 41. Testing basic network settings
This section describes how to perform basic network testing.
41.1. Using the ping utility to verify the IP connection to other hosts
ping utility sends ICMP packets to a remote host. You can use this functionality to test if the IP connection to a different host works.
Ping the IP address of a host in the same subnet, such as your default gateway:
If the command fails, verify the default gateway settings.
Ping an IP address of a host in a remote subnet:
If the command fails, verify the default gateway settings, and ensure that the gateway forwards packets between the connected networks.
41.2. Using the host utility to verify name resolution
This procedure describes how to verify name resolution in Red Hat Enterprise Linux.
hostutility to verify that name resolution works. For example, to resolve the
client.example.comhostname to an IP address, enter:
If the command returns an error, such as
connection timed out or
no servers could be reached, verify your DNS settings.