I use Ubuntu since 8.10 version and today I'm using Ubuntu 12.04 Server.
I am with difficult in to keep static routes on booting.
I usually put the route commands
/sbin/route add -net <IP>/<MASK> <GW> dev <ethX>
in /etc/rc.local or I create a file (named routes) inside directory /etc/network/if-up/, but I notice that on Ubuntu 12.04 it isn't working.
If I type the commands on shell, they work, but the same commands don't work when they are on my file.
I already tried to change the file name to other names thinking that my file name (routes) could be reserverd words from Ubuntu 12.04, but also not worked.
I notice also that command /sbin/ifconfig works, less the /sbin/route.
What changed on network set-up?
How can I to define routes on Ubuntu 12.04?

your_command > stderr.txt 2>&1) and inspect its output... – Salem Jul 25 '12 at 16:59ip addandip route. One command to rule the net. :) – Anders Jul 26 '12 at 0:37