ARTH_TASK_14.1

TASK Description:

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.

so Lets start,

REQUIREMENT: A and B can connect to each other, A and C can connect to each other but B and C can’t connect to each other…

Where in my case : System A is — 190.168.0.111, System B is — 192.168.0.108 and System C is — 192.168.0.102

No need to configure anything in System A

SYSTEM B:

STEP 1:

Go to System B (192.168.0.108) and delete the 0.0.0.0 rule

STEP 2:

ADD System A’s IP in the routing table

where enp0s3 is my network card name and 192.168.0.1 is my gateway name

STEP 3:

DELETE the range of your System C’s IP

To view the route table use command → route -n

After running these commands your the route table would look something similar to this.

SYSTEM C:

Follow the same steps as System B

STEP1:

Go to System C(192.168.0.102) and delete the 0.0.0.0 rule

STEP 2:

ADD System A’s IP in the routing table

where enp0s3 is my network card name and 192.168.0.1 is my gateway name

STEP 3:

DELETE the range of your System B’s IP

To view the route table use command → route -n

After running these commands your the route table would look something similar to this.

Lets test our Setup.

System B to C and System B to A

Hurree….here we can see We can easily connect from B(.108) to AA(.111) whereas B to C(.102) is Unreachable.

System C to B and System C to A

Yess! C (.102) to B(.108) is unreachable whereas from C to A (.111) it’s pinging !!!

At last let’s check with System A also

Yes Both the System’s are pinging fine!!!!

Thus the Requirement wherein System A connects to both System B and System C but System B and C should not ping each other is satisfied! and task completed successfully!

ThankYou!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store