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

Rahulkant
2 min readMar 28, 2021
Ping

Prerequisite

  • 3 VM(Virtual Machine).

Let’s see the IP of different systems:

System A : 192.168.29.58

System B : 192.168.29.21

System C : 192.168.29.122

Solutions

First, we need to delete all the IP addresses from all the OS routing tables. after that add the System A Ip in System B and System C routing table, and at last add the System B and System C Ip in System A routing table.

Step 1 :- Delete All rule of route tables form the Systems.

route del -net <<IP_ADDRESS>> gw <<GATEWAY>> netmask <<NETMASK>> <<NIC Card>>

Deleting from System B and System C
Deleting Global route from System A

Step-2 :- Adding IP address of System A in System B and System C routing table

route del -net <<IP_ADDRESS>> netmask <<NETMASK>> <<NIC_Card>>

Adding route in System B and System C

Output

System Ping to System B and System C
System B Ping to System C
System C ping to System B
  • That’s great it’s working .

Thanks

--

--