Adding a route manually can be necessary sometimes. When on Linux, I know the command by head:

sudo route add -net gw

On the Mac the command is similar, but a bit different 🙂 Just as a note to myself and anyone else interested:

sudo route -n add -net

This sets up a route to the net through gateway First one on Linux, second one on Mac OSX.