ARTH TASK 14.1

ARTH TASK 14.1

OBJECTIVE:

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.

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

No alt text provided for this image

>Similary, In-System B:-

# ifconfig enp0s8 192.168.43.2/24

# route add -net 192.168.43.0/31 enp0s8

No alt text provided for this image

>Similary, In-System C:-

# ifconfig enp0s8 192.168.43.3/24

# route add -net 192.168.43.0/31 enp0s8

No alt text provided for this image

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

No alt text provided for this image

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

No alt text provided for this image

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

No alt text provided for this image

This is it...

THANK YOU!



To view or add a comment, sign in

More articles by Mayank Varshney

Explore content categories