Problem scenario: From a CentOS server, you try to ping an IP address outside of your network (e.g., 8.8.8.8). You get “connect: Network is unreachable” as the response. Your server has an IP address and subnet mask. What is wrong?
Solution
1. Ensure that the network has a default gateway. If the network equipment that connects the server to the network has no gateway to outside the network,
…