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 ping 👨🏻💻
Task Description📄
🔰 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 .
LET'S START
Prerequisites
- Install Virtual Box
- Any virtual machine installed
Let's Start
- For this task we require three virtual machines .
- In each vm go to the Network setting and use "Host-only Adapter" in the "Attached to" field and save the settings.
3. Start the 3 vm's.
Ip address of the 3 vm's System A ip address: 192.168.1.2 System B ip address: 192.168.1.1 System C ip address: 192.168.1.4
4. Below are the pictures showing the ip address and the netmask of System A, B, C respectively.
We configure the system A with "/29" as the CIDR.
Output of the ifconfig command
For System B
We configure it with "/30" as CIDR
Output of the "ifconfig" command
For System C
We configure the system C with /30 as CIDR
Output of the ifconfig command
Now we have to add the rules in the routing table
- For System A
- Routing table rule
- Rule created in the routing table
2. For System B
- Routing table rule
- Rule created in the routing table
3. For System C
- Routing table rule
- Rule created in the routing table
5. Now we have created the environment let's ping now.
- From system A ping to B
- Now ping from system A to C
In the above pictures we can see System A is able to ping to System B and System C.
- Now try to ping to System C from System B
We see that it's not able to ping to System C.
- Now try to ping to System B from System C
We can see that the "Destination Host Unreachable" is coming up. This shows that the System C is not able to ping to System B.
Thank you.
Student at rkps
4ynice
🛑 ATSE at Red Hat 🛑 | 🔸TCW Intern at GeeksForGeeks || ☁☁Aspiring Cloud Engineer || 🔶️ HCIA-AI Certified || 🔶️ Nptel Certified in Cloud Computing || 🔶️ Core Team Member at GDSC - MIET
4yWell Done bro!!