Use specific interface for outbound connections (Ubuntu 9.04)
Solution 1:
You should only have one default gateway. If you remove the gateway line from eth1, it'll all just work (after networking is restarted).
Solution 2:
Remove gateway from eth1 in /etc/network/interfaces and add it as a static route:
route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1
With this, 10.0.0.1 will be your default gateway and eth1 will be used only to connect to 192.168.2.0 network