Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two PCs connected to a single switch. Default gateway is not configured for both.


IP Address - Subnet Mask -


IP Address - Subnet Mask -

Will they communicate (PING) with each other? As per my understanding, PC1 can ping PC2 successfully while PC2 cannot ping PC1 because PC1 is on a different network. Is it true?

regards, Abhilash

share|improve this question

For a ping to work both hosts need to be able to send and receive packets from each other. One sends an echo request to the second host, which the second host upon receiving transforms into an echo response that it sends to the original host. Two packets, one in each direction.

At the very least you will see some odd behaviors in this setup anyway as, unless you've specified otherwise the two hosts will have different ideas of what the broadcast address is. I'd steer well clear of anything crazy like this, even if "it works".

It doesn't provide any security at all (if that was the intention) and it will lead to odd, hard to diagnose problems in the future.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.