No Route to Host error and solution
No Route to Host error and solution
I am getting error that read as No Route to Host. I am trying to ping my ISP gateway as well as DNS server but I am getting this error. How do I solve this problem?Make sure firewall is not blocking your access
iptables is default firewall on Linux. Run following command to see what iptables rules are setup:
# /sbin/iptables -L -n
You
can temporary clear all iptables rules so that you can troubleshoot
problem. If you are using Red Hat or Fedora Linux type command:# /etc/init.d/iptables save
# /etc/init.d/iptables stop
If you are using other Linux distribution type following commands:# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
Finally make sure you are using a router and not a proxy server. Proxy
servers are good for Internet browsing but not for other work such as
ftp, sending ICMP request and so on.
Comments
Post a Comment