Question:

Linux server cannot ping?

by  |  earlier

0 LIKES UnLike

the linux server is running a redhat,since this morning, the server cannot ping, but the clients can ping each other. i took the server to the clients and it can ping the clients. returning it to the server room it cannot ping. am i having problem with my switches?

 Tags:

   Report

1 ANSWERS


  1. Check the routing table by using the route command make sure that there ia a default gateway assigned if there aren't you need to add it, do ifconfig see if your computer has IP, or its on the right block, if what your getting is times out you might laso want to check for firewall such as iptables, to stop iptables you will need to flush all the rules use the following command

    iptables -F

    iptables -X

    iptables -Z

    iptables -t nat -F

    iptables -P INPUT ACCEPT

    iptables -P OUTPUT ACCEPT

    iptables -P FORWARD ACCEPT

    /etc/init.d/network restart

    if your pinging using hostname try pinging using ip, check resolv.conf if there is dns defined there

    more Linux tips http://www.review-ninja.com

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.