LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2007, 04:51 AM   #1
chownuseradd
Member
 
Registered: Nov 2007
Location: north carolina
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32

Rep: Reputation: 15
Switched Servers...kept the same ip's


Now I cannot ping out at 4.2.2.2 but I can ping out at the ip address. I have checked my eth0 and my eth0:1 ip range and there are no typos or misprints. I need to get this server up very soon...has anyone experienced this before?
 
Old 12-17-2007, 05:45 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I am not sure I understand the problem. You can't ping 4.2.2.2, or in other words, are unable to reach external hosts? What can you ping then?
 
Old 12-17-2007, 05:54 AM   #3
chownuseradd
Member
 
Registered: Nov 2007
Location: north carolina
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32

Original Poster
Rep: Reputation: 15
Hi, sorry for the confusion. This is the situation. I am transferring my server from one location to another. In the other location is a server that I am taking down. I am putting the ip's from the old server onto my new server. The ip's are static. I have gone into /etc/sysconfig/network-scripts/ifcfg-eth0 and made the necessary changes and also into /etc/sysconfig/network-scripts/ifcfg-eth0-range0 Once this was complete I did a services network restart and tried to ping. I am able to ping with a 0%loss when I ping the ip addresses themselves, but when I try to ping out of the server using 4.2.2.2 I get the response "destination host unreachable". This is keeping me from connecting to my network. Any help you can provide would be most appreciated. Thank you!
 
Old 12-17-2007, 06:30 AM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It sounds like the route is not valid on the new machine.

Does the output of "route" match exactly between the two machines?
 
Old 12-17-2007, 07:22 AM   #5
chownuseradd
Member
 
Registered: Nov 2007
Location: north carolina
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32

Original Poster
Rep: Reputation: 15
I am sorry....I am a moron...the only thing I could find was the default gateway and that would not match I don't think. I did do a route -n and got some numbers and such that made no sense to me. I truly am a newbie though and most of this is just numbers and letters to me right now. The route -n gave me four rows of four colums. The top two rows started off with my ip address and below that was my gateway followed by two rows of zeros. The second column started off with two rows of zeros followed by my ip address and my gateway. I am not sure if this is helpful or not but I can go and write it all down and put it on here if that is necessary. Thanks so much for your help. I am on aim under TacetQui if you would like to get in touch with me. Thank you again for your help!
 
Old 12-17-2007, 08:25 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Not sure where you are pinging that device from or if you are going through a router, but it could be the arp cache on the machine you are pinging from or the router you are going through has not updated it's cache to reflect the new machine..

arp -d 4.2.2.2 to delete the arp entry from a linux box you are pinging from..

C:\>netsh interface ip delete arpcache or if the client is a windows machine

clear arp-cache for your cisco router..


Just a thought
 
  


Reply


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
Switched bootloaders Frank Soranno Ubuntu 2 12-08-2006 11:22 PM
Switched to C jstephens84 Programming 10 11-18-2005 07:15 AM
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 12:23 PM
Apache 2.0.xx Has many of you switched from 1.3?? Noerr Linux - Software 10 05-30-2002 01:04 AM
Just switched LinuzRulz Linux - Distributions 0 05-12-2002 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 PM.

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