Force internet gateway - 2 nics
Been using Ubuntu 5.10 for a few weeks, I wouldn't say i'm a n00b when it comes to linux, but definitely not a guru. So that sets the stage.
I have my ubuntu box, I have a connection to my eth0 card in my box, that goes to the house router that distributes dhcp and internet. It is on a 255.255.0.0 subnet and distributes 192.168.1.* ip's.
I have my eth1 nic pulling from my personal router in my house that pushes 255.255.255.0 subnet, with a 192.168.0.* ip convention being distributed by dhcp.
My eth0 card again is supposed to be my internet and internet gateway card. It works great when it is the only card enabled. When I go in and enable eth1, and go to Connect to Server... and connect to my windows server here in my room, my internet gateway switches from eth0 to eth1. Again, it works fine when I am not connecting to my server.
I was wondering what I can do to force my box to use eth0 as my default internet gateway...? Independently the connections work great, but together, the eth1 takes over the eth0's internet gateway priorities, which causes me to lose internet access until I disable eth1's card, and reboot.