Results 1 to 2 of 2
Thread: Ping problem in the test setup
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2009
Ping problem in the test setup
I have 3systems in the lab, each has two ethernet cards set. While
Card A-System1 : 192.168.24.1/255.255.255.0
Card B-System1 : 192.168.25.1/255.255.255.0
Card A-System2 : 192.168.24.11/255.255.255.0
Card B-System2 : 192.168.25.11/255.255.255.0
Card A-System3 : 192.168.24.21/255.255.255.0
Card B-System3 : 192.168.25.21/255.255.255.0
Now I have two switches where all the CardA's are connected to one switch and CardB's are connected to another Switch. Both the switches are not interconnected. This setup is made out of LAN.
We made this setup to test different solutions of redundant ethernet network methods. I have selected bonding in linux kernel.
Before going for the bonding method, now I have removed the CardB-System1 from switch-1 and starting to ping the 192.168.25.21(CardB-System3). But the ping is failing. To make it work I have changed all the subnet masks to 255.255.254.0. Now the ping started to work.
Can you please correct the reason of the ping failure. According to my understanding the CardA-System1 is find for the 25 series IP, which is of different network, acquired from the subnet mask. Now when I changed the subnet mask all became the same network and started pinging.
Please anyone clarify whether my understanding is correct or not.
If you dont understand I will send the labsetup as an image.
Thanks in advance
These are two distinct subnets:
These are one distinct subnet:
Read about subnet masks and how the subnet bitmask impacts routing decisions.