Creating a Network Topology Setup in such a way that System A can ping to Two Systems=>System B and System C But both these Systems should not be Pinging with Each Other!!
Hello Folks!!In this Blog we’re gonna discuss about how you can create a Network Topology Setup in such a way that System A can ping to Two Systems=>System B and System C but both these Systems should not be Pinging with Each Other. So, let’s get going!!
Is there any Pre-requisites?
1. 3 VM’s (Virtual Machine).
So, let’s implement the practical →
Step 1: Grabbing the IP Addresses of the Systems.
Step 2: Checking the Connectivity between all the Three Systems.
So, all the Three of the Systems are Pingable.
Now, we’re good to go…
As, our requirement is that System A should Ping to both System B and System C but these two Systems won’t able to get pinged with each other. So, what we can do is that we can delete all the IP Addresses from all the OS Routing tables. Then we can add the System A IP in System B and System C Routing Table. After that we can add System B and System C IP Addresses in System A Routing Table.
Step 3: Deleting all the Rules from all the three Systems.
To delete the Routing Table Rule use the below given command:
route del -net <IP_Address> gw <Gateway_Address> netmask <netmask_address> <NIC Card> Example : route del -net 192.168.56.0 gw 192.168.0.0 netmask 255.255.255.0 enp0s3
Similarly, we want to delete the Routing rule from System B as well as System C.
Step 4: Adding the IP Address of System A in both System B and System C
route add -net <IP_Address> gw <Gateway_Address> netmask <netmask_address> <NIC Card> Example : route add -net 192.168.0.111 gw 0.0.0.0 netmask 255.255.255.255 enp0s3
Adding the Rule in System B and System C…
Step 5: Adding System B and System C IP Address in the System A Routing Table.
Now, adding the Routing rule to the System A’s Routing Table…
Now, everything is set so let’s ping the Systems.
Step 6: Pinging the Systems.
That’s great, System A is Pingable to Both System B and System C and vice-versa.
Now, let’s check the connectivity between System B and System C.
Voila!! We’ve successfully reached our Goal. All the Requirements are satisfied!!
Hope you find this Blog easy🤞!!
Happy Reading!!😊
Do like Share and Follow me
Thank you !!