I wanted to know how to configure linux boxes to route packets among themselves.

Like for example if I have 2 desktops and 2 laptops, a packet send from one desktop to the other must pass through the laptops to reach the desktop.

The laptops are not on the same subnet as the desktops.

This is for a course project I am doing.


- Akshay