Fun with networking concepts!!

Today we will be exploring some concepts of subnetting and routing table in a playful manner. When it comes to networking people think of complex calculations and Linux commands to set it up. Usually, they avoid such topics because they feel it’s very tedious and disinterested work but it’s very interesting to know how actually our systems are connected and communicate. If we know the right concepts, we can enjoy playing with them. So, let’s start with today's fun activity. In this article, you will come to know about how can we set up a network topology where system A can ping to system B & C but B & C cannot ping to each other despite being in the same network range. Isn’t this fun!! Let’s begin.
Step1: Configuring system A
To make all three systems in one network we need to make their IP belong to the same network range. To do so we will change the IP and subnet mask using the ifconfig command in Linux. Then we have to change the route in the routing table for configuring system A to connect to B & C, for doing so we will use the route command in Linux.



Here, we need to focus on the range we provide. It’s /30 which means only 4 IP in the range. This range covers 192.168.0.2 and 192.168.0.3, hence we will use this IP for systems B and C.
Step2: Configuring system B

Here, we have the range /31 because this range is used for point-to-point communication. This was the game-changer for this fun activity. Now, this range means we can only communicate to one system in the network range. This system will be a 192.168.0.1 system. We need to do this same setup with system C. Hence, systems B and C won’t be able to communicate even tho they are on the same network but they are communicating with system A.
Step3: Configuring system C

Step4: Check our architecture


