Your network device configuration tool probably has a gateway entry field.
You can manually add a route using the "route" or the "ip" command.
For example, if the router at 192.1.9.4 is for the 10.0.0.0/8 network, and the router at 192.1.9.254 is the default gateway, you could use:
route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.1.9.4 dev eth0
route add default gw 192.1.9.254 dev eth0
Also look at the man page for the "routes" configuration file. You can enter routes there.
Indicating which distribution you are using might be helpful.
|