Link to home
Start Free TrialLog in
Avatar of tajinderpal
tajinderpal

asked on

Windows server unable to ping Linux server

I am unable to ping a Linux Server on the same network from a windows server.

I can ping other Linux servers but not this particular one, and I cannot see anything different.

Please can someone advise on what to look at?
Avatar of Brian McDonald
Brian McDonald
Flag of United States of America image

I'd check the firewall on the linux box. It is possible ping is not allowed. It might be a simple fix of just checking firewall rules on the linux machine.

check this out

https://www.cyberciti.biz/tips/linux-iptables-9-allow-icmp-ping.html
Avatar of tajinderpal
tajinderpal

ASKER

Okay I added the IP Address and Hostname on the Linux Server Host file and restarted the network card.

I was able to ping the Linux Server from the Windows Server Fine.

However after approx. 5mins ping stopped working again?

What could be causing this?
I'f you restart the network on the linux box does it work again? Maybe there is a rule within iptables that shuts off traffic that keeps hitting the box.
Yes when we restart the network card on the Linux box it starts working.

We also noticed on the windows server, when we run the arp -a command we can see an entry for the Linux server.

When ping stops working, and we run the command again, we cannot see the entry for the Linux Server.
Avatar of arnold
ping ...

are you able to ssh/connect to the linux box?
Are you able to access the linux server on the console while this situation comes up and see whether it still has network access.
Are you able to check the switch to which the linux system is connected and to check whether there are errors on the switch PORT.

Possible issue is that you linux network is set to a fixed 1000/full duplex, but the switch is set to auto. this could eventually lead to the switch turning off the port for excessive errors.

When you have issues accessing any system remotely, you shold always test the condition/situation on that system during such an event.
When it stops working, can you do the reverse? Can you ping the windows server (or any other Linux server) from that Linux box?
Because it's sounding like the problem may be with the hardware, network or software on that Linux box...
Are the Linux servers showing up in your internal DNS? But also, are your servers physical or virtual?
"I am unable to ping a Linux Server on the same network from a windows server."
When this is the case, can you ping that Linux Server from other Linux Servers on the same network?
ASKER CERTIFIED SOLUTION
Avatar of tajinderpal
tajinderpal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So you keep losing ARP entries. What type of switch is in place? Have you checked there too? Or are the servers connected directly to the firewall?
This was what I had to do to get it to work.