ARTH — Task 14 👨🏻‍💻

Task Description📄

🔰 14.1 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 implement this setup without using any security rule or firewall. Recommended to use networking tricks i.e. by manipulating IP & Netmask.

TASK BEGINS…

STEP:1: Check Ip’s of the 3 os [a,b,c]…

cmd: ifconfig enp0s3
IP OF OS1 [A]
IP OF OS2,OS3 [B,C]

STEP:2: Change the ip of all the three os …

cmd: ifconfig enp0s3 <custom_ip>/24
os 1 [a]
os2 [b], os3 [c]

STEP:3: Update in Route table…

cmd 1: route -n - to check route table
cmd 2: route del -net 0.0.0.0 - delete the default ip
cmd 3: route add -net ...... - add to route table
os1 [a]
os2 [b]
os3 [c]

STEP:4: Ping the systems…

cmd: ping <ip>
A[192.168.43.1] IS PINGING TO B,C

Here, A is pinging to both B and C

B[192.168.43.2] IS PINGING TO A,C

Here, B is pinging only to A, not to C

C[192.168.43.3] IS PINGING TO A,B

Here, C is pinging only to A, not to B

Thus,

TASK ENDS…