static_route

OK so you have your nice new box and you want to configure static routes. As far as I can tell many systems leave you to write your own scripts, or SuSE forgets to let you add metrics to the config file, or they use something convoluted like linuxconf. Anyway I have a nice simple script and config file for static routes. It is written for debian GNU/Linux, but feel free to modify it for your needs.

static_route
route.conf

Since people come to this page multiple times a day. I will note that currently in Debian the correct way to add a static route is in /etc/network/interfaces as an up command.

auto eth0
iface eth0 inet static
	address 192.168.1.20
	netmask 255.255.255.0
	gateway 65.5.53.1
	up "/sbin/route add -net 192.168.200.0 netmask 255.255.255.0 gw 192.168.1.5 metric 1"
	down "/sbin/route del -net 192.168.200.0 netmask 255.255.255.0 gw 192.168.1.5 metric 1"
other random stuff usefull for people using linux can be found here.