Network Topology Use-Case
Topology where A can Ping to B and C both , But B & C not Able to ping each other
Objective:- 🔰 14.1 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.
For this we need to have 3 O.S. with proper network connectivity .
here We are using 3 Amazon linux os over AWS cloud .
for me IPs of systems
- A-> 172.31.6.95
- B-> 172.31.2.141
- C-> 172.31.14.153
Here our systems are able to connect to each other .
Now we want that B and C should not be able to ping to each other .
For this we have 2 Methods Either we can remove all route rules from all the os and just add particular ips of os we want to ping . Or we can just make a change in B or C OS of declining(rejecting ) ping .
Here I’m going for second one. What we need to do is , we need to run this command in 2nd os
route add -host 172.31.14.153 reject
now try to ping Both A and C from this os . It will Decline to c but ping to A
A has proper connectivity to both of other os
And C also able to ping A but not to B.
That’s all with this article. I hope you found this post informative .Feel Free to provide Suggestions in comment section or LinkedIn .