centos icon

CentOS 7 – Network Troubleshooting

Network troubleshooting process:

  • Test the problem (reproduce the problem, get background information, collect logs errors and etc…)
  • Check (get current configuration)
  • Fix (change the configuration and check if the problem is still exist)

Command ping can be used to check connectivity to another server:

In the example I’m sending 5 packages¬†to host 8.8.8.8 which is global DNS.

To get ip address of eth0 network interface:

Use traceroute to get information about every host on the network package path:

To see route table you can use ip route:

Command host may be used then you need to make resolving of hostname:

And the last command to get current status of the system or check it is dig:

dig is very powerful tool and please read the manual of it.

About pavel