Last updated on December 23, 2018
I have a question about network masks.
- Host A IP : 10.0.0.1/24
- Host B IP : 10.0.0.2/25
ping -c2 10.0.0.2, and we did get a reply successfully from PC2. On PC2 we did
ping -c2 10.0.0.1, and we did not get a reply successfully from PC1. We want to know why this happened? Update: We used
10.0.0.200/25instead, and were able to ping PC1 to PC2, but not PC2 to PC1, which is what we wanted. Can someone explain why this is?