1. for temporary route execute the following command:

route add -net [network to reach in xxx.xxx.xxx.0 format] netmask 255.255.255.0 gw [gateway ip] dev eth0

eg. route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.68.2 dev eth0

2. for permanent route edit the '''/etc/network/interfaces''' file and add the following command to the interface definition:

post-up ip route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.68.2 dev eth0

Δες και τα πιο κάτω links:

Link1
Link2