Network Topology Setup
System A can ping to System B and System C but both (System B & C) should not be pinging each other.
using Routing Table Concept
All setup is done inside RedHat 8 Linux OS.
System A
Change IP
ifconfig enp0s3 192.168.43.1
Add routing table rule.
route add -net 192.168.43.0 netmask 255.255.255.0 gw 192.168.43.1 enp0s3
System B
Change IP
ifconfig enp0s3 192.168.43.5
Add routing table rule.
route add -net 192.168.43.0 netmask 255.255.255.252 gw 192.168.43.5 enp0s3
System C
Change IP
ifconfig enp0s3 192.168.43.9
Add routing table rule.
route add -net 192.168.43.0 netmask 255.255.255.252 gw 192.168.43.9 enp0s3
