cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
582
Views
0
Helpful
1
Replies

Unable to ping Gateway until IP change

malmgren
Level 1
Level 1

I know what you're thinking... IP conflict, right?   Not exactly....

So we have this CentOS 6.5 linux server plugged into a 2960G access switch trunked to a 3750 as the core LAN router in our DC.   The linux server was working until just recently.  The problem is that it can't ping it's local gateway (the core switch) or anything beyond it, however it can ping other hosts on the same subnet.   Tried re-kicking machine with same IP stack information, tried clearing arp on the upstream switches, flapping ports on the upstream ports.  Nothing changed the fact that this host just seemed to lose it's routing functionality.

Now, as a hunch, I changed the hosts IP address from 10.1.1.126 to 10.1.1.196 and VOILA!  The host suddenly started pinging the GW and past the gateway now.   I still can't ping the old IP (.126) or see any traces of it in any of the switches.  No IP or MAC remnants exist on any of the other switches.

I then tried to change the IP back to .126 and it stopped working again.  Changed back to .196 and started working again.   These are /21 subnets (don't ask - this was setup before my time.)  The first two /24 in each are pretty used, the rest is empty IPs. 

What gives?  Has anyone seen anything like this before?   My gut tells me it's something with the server NIC, but I'm not positive.

We may try sniffing off the access switch and see what the ARP looks like.  We do see the core and the access switches with the correct IP and MAC information.

 

 

 

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

There is lots that we do not know that might help us understand this. What is the IP address and mask and gateway of the Linux server? (do not depend on what it should be or what it used to be but check the device now and tell us the current settings) 

 

Is there any kind of route configured on the 2960G or the 3750 for the 10.1.1.126 address?

 

Would you post the output on both the 2960 and the 3750 of show arp | inc 10.1.1.126

 

Would you post the output on both the 2960 and the 3750 of show ip route 10.1.1.126

 

HTH

 

Rick

HTH

Rick