I have a question about network masks.
- Host A IP : 10.0.0.1/24
- Host B IP : 10.0.0.2/25
Why is PC1 able to ping PC2, but when PC2 tries to ping PC1, it times out? Can I get a detailed explanation?
Edit for clarification:
On PC1 we did
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/25 instead, and were able to ping PC1 to PC2, but not PC2 to PC1, which is what we wanted. Can someone explain why this is?