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.

Sourav Dinda
2 min readJun 3, 2021

By default, Systems can ping to each other in the same network (LAN) if there are no rules specified in a security group.

Here, I set up the Environment in such a way as follows:

  • System A can ping to System B and System C
  • System B and System C ping to System A
  • System B can’t ping to System C and vice-versa

> Assigning manually IP to System A and then add in the routing table:-

# ifconfig enp0s3 192.168.43.1/24

# route add -net 192.168.43.0/30 enp0s3

>Similary, In-System B:-

# ifconfig enp0s8 192.168.43.2/24

# route add -net 192.168.43.0/31 enp0s8

>Similary, In-System C:-

# ifconfig enp0s8 192.168.43.3/24

# route add -net 192.168.43.0/31 enp0s8

>Here, System-B and System-C are pingable from System-A:

>System-B pinging to System-A but unreachable to connect to System-C:

>System-C pinging to System-A but unreachable to connect to System-B:

Now 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.

objective done ………………

Thank You

--

--

Sourav Dinda
Sourav Dinda

No responses yet