Hello everyone,
In this blog, we will be demonstrating the working of network topology.
In this demonstration I have 3 system:
- A -> with IP 192.168.0.105
- B -> with IP 192.168.0.104
- C -> with IP 192.168.0.106
Now let's check if A is able to ping to B and C
In order to ping use the command ping
Here you can see A is able to ping B and C.
Now let's check if B camping A and C
Here you can see B can ping A and C.
Now let's check if C can ping A and B
Here we can see C can ping A and B.
Now add the routing rule in B such that it will not be able to connect to C
In order to reject or block the C system, IP use the command route add -host reject
Here you can see we have blocked or rejected C system IP.
In the same way add the routing rule in C such that it can not connect to A system IP.
Here you can see we have rejected the IP of the B system
Now check if B is able to ping A and C
Here you can see B is able to ping to A but is not able to ping C, it gives output no route to host.
Now check if C is able to ping A and B
Here you can see C is able to ping to A but not to B
Now check for A is it able to ping B and C
Here you can see A can connect to both B and C
So that how we can create 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 .
Thank you!!❄
Top comments (0)