I am trying to setup a single sender, single bottleneck and single receiver network.
The router in the image is a computer that has ip_forwarding enabled. PC1 has the default gateway set to the IP address of PC2.
PC1 and PC2 are on the same subnetwork (10.32.20.*) and PC3 is on a different subnet(10.32.21.*).
Yet, only occasionally does data flow through PC2, the router. The data seems to be flowing directly between PC1 and PC3 via the switch.
My question is how to ensure that traffic flows through the router and doesn't flow directly at the switch.