Ubuntu 12.04 and dual nics question

view story

http://ubuntuforums.org – Here's my scenario... I have two nics in a server. Eth0 has a static routable IP and connected to the Internet. Eth1 has a static private IP and is connected to a private network internally. I've read several blog posts about doing post-up route adds and deletes and nothing seems to work... consistently. Here's my /etc/network/interfaces file: auto eth0 iface eth0 inet static address x.x.x.40 netmask network x.x.x.0 broadcast x.x.x.255 gateway x.x.x.1 dns-nameservers x.x.x.2 post-up route add default gw x.x.x.1 (Hardware)