Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, Please don't mind or ignore if I'm asking the question about the basics, but I want to get clarified from the forums. I have 3systems in the lab, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    85

    Unhappy Ping problem in the test setup


    Hi all, Please don't mind or ignore if I'm asking the question about the basics, but I want to get clarified from the forums.
    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

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    These are two distinct subnets:
    * 192.168.25.0/24
    * 192.168.24.0/24

    These are one distinct subnet:
    * 192.168.25.0/23
    * 192.168.24.0/23

    Namely:
    192.168.24.0/22

    Read about subnet masks and how the subnet bitmask impacts routing decisions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •