Ubuntu Server – Two Interfaces Living Together (in perfect harmony)

ethernetinterfacenetworkingUbuntu

Our server has three ethernet interfaces. I have one plugged into the cable modem (for static ip), and one plugged into the router (for access to the rest of the work network). I'm pretty sure that I had both interfaces running simultaneously under Xubuntu, but under Ubuntu Server I can't seem to pull this off; if I connect to the work network, my static ip stops working. This kind of defeats the purpose of having more than one ethernet interface. How can I make these two interfaces live together happily?

route Output:
eth0 down

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
74.218.198.192  *               255.255.255.248 U     0      0        0 eth2
default         rrcs-74-218-198 0.0.0.0         UG    100    0        0 eth2

eth0 up (hangs after first two lines, so I used route -n)

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
74.218.198.192  0.0.0.0         255.255.255.248 U     0      0        0 eth2
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    100    0        0 eth0
0.0.0.0         74.218.198.193  0.0.0.0         UG    100    0        0 eth2

Best Answer

Do you have default gateways for both interfaces? If the answer is yes then disable default gateway in the configuration for eth0.