"gw 192.16.0.2", is this accurate or meant to be "gw 192.168.0.2".
In my experiences it'll need to be done one of a couple ways depending on scenario and versions.
first, make sure that your host (i'll call it 192.168.0.3) can route to your default gw (192.168.0.1) to the world. now, assuming that 192.168.0.2 is a system that has connection to 10.0.0/24 we'll want to use it as a gw for all of that traffic so you'll want to tell 0.3 host how to send 10. traffic with something like...
Code:
route add -net 10.0.0.0/24 gw 192.168.0.2 dev eth0
if this works, you can put it in a route-ethX file for your configuration in the format that
ip route understands.
/etc/sysconfig/network-scripts/route-eth0:
Code:
10.0.0.0/24 via 192.168.0.2 dev eth0
then it'll be added when the interface comes up and removed when it is downed.
hope this helps.
If I'm not even close, please provide more details about your network configuration to better understand your situation and see if we are not able to identify a better solution for you. ;-)