Create a Network Topology Setup in such a way so that System A can ping to two Systems System B and System C but both these systems should not be pinging each other without using any security rule e.g. firewall etc.

Sheetal Agarwal
3 min readJun 8, 2021

❗️ Task Description❗️

🔰 14.1 Create a network Topology Setup in such a way so that System A can ping to two Systems System B and System C but both these systems should not be pinging each other without using any security rule e.g. firewall etc.

Step 1: Create 3 systems and the find the IP addresses of the 3 systems.

In my case -

System_A IP=192.168.43.180

System_B IP=192.168.43.159

System_C IP=192.168.43.60

Step 2: First of all change the IP address of the system A and add a Manual IP as 192.168.43.1.

ifconfig enp0s3
ifconfig enp0s3 192.168.43.1/24

Now check the IP address of System_A.

ifconfig enp0s3

Step 3: Now add the Manual IP to the routing table in System_A.

route  -n 
route add -net 192.168.43.0/30 enp0s3

Step 4: Now add Manual IP to the System_B as 192.168.43.2.

ifconfig enp0s3
ifconfig enp0s3 192.168.43.2/24

Now Check the IP address of System_B.

Step 5: Now add the Manual IP to the routing table in System_B.

route  -n 
route add -net 192.168.43.0/31 enp0s3

Step 6: Now add the Manual IP to the System_C as 192.168.43.3.

ifconfig enp0s3
ifconfig enp0s3 192.168.43.3/24

Now Check the IP address of System_C.

Step 7: Now add the Manual IP to the routing table in System_C.

route  -n 
route add -net 192.168.43.0/31 enp0s3

Step 8: Now ping the System_A to System_B and System_C.

Here, we can see that System_A is pinging to both System_B and System_C.

Step 9: Now Ping the System_B to System_A and System_C.

Here, we can see that System_B is pinging to System_A and not pinging to System_C.

Step 10: Now ping the System_C to System_A and System_C to System_B.

Here, we can see that System_C is pinging to System_A and not pinging to System_B.

That’s it. Task Completed !!

Thank You for Reading the Article !!

--

--