Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-09-2015, 11:13 PM   #1
LQ Newbie
Registered: Jul 2015
Location: Kuala Lumpur
Distribution: CentOS 7
Posts: 1

Rep: Reputation: Disabled
Unhappy After change ip, cannot ping to old ip

Hi I have a web server with an ip, I have changed the ip into and use the old ip into a new webserver.

Now I can ping to, localhost and gateway with no problem but not the old ip with the error Destination Host Unreachable. I can ping to another local ip ( e.g but not the new webserver. (

How can i troubleshoot this problem, I've already changed the hostname at /etc/hostname & /etc/hosts. I've also have perform network service restart.

Thank you
Old 07-10-2015, 12:21 AM   #2
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, Kali Linux, Raspbian
Posts: 166

Rep: Reputation: 10
1. Check IPTables if configured. Stop the service for while and check.
2. use tcpdump on the server whether the packets received by server or not.
Old 07-10-2015, 01:27 AM   #3
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Many possible reasons, hostname not being one of them. First, can you ping out to any address from the new server?

I am thinking of:
Cable not connected.
Firewall as the other poster said.
Is the new IP address really set, and on the right interface.
Routing table.
Switch configuration.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
[SOLVED] trying iptables ping rate limiting = ping timeouts, but tcpdump shows responses?? psycroptic Linux - Networking 5 10-31-2013 12:25 AM
[SOLVED] Centos cannot ping hosts on the same subnet after change to static ip chenbo Linux - Networking 13 07-27-2011 12:40 AM
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 05:32 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration