I have 3 computers running CentOS: A, B, C. They have addresses 192.168.3.1, 192.168.3.2, 192.168.3.3. I cannot use a switch for this setup. B has two network cards connected to the others.

ie. A ----- B ----- C

A can ping B, and B can ping C. **How do I set it up such that A can ping C?**

On B, I've tried enabling IP forwarding using `echo 1 > /proc/sys/net/ipv4/ip_forward` as well as adding a route. But I haven't had luck. Could someone please help?

Thanks,
Fidel