View Full Version : [ubuntu] 2 NICs, server won't respond to requests but internet works

April 16th, 2010, 01:50 PM
Hey guys,

After searching for hours I am tired of looking for solutions.

I recently set up a new web/file server with 9.10 server x64 with 2 NICs and I am trying to configure eth0 to respond to my LAN for internal samba filesharing and eth1 to handle website/ftp requests on my static IP, but whenever eth0 is up the server is not accessible at 173.XX.165.65 for web or ftp but both work fine at When eth0 is down, public IP works fine. I have set /etc/network/interfaces like this:

# The primary network interface
auto eth0
iface eth0 inet static

# The secondary network interface
auto eth1
iface eth1 inet static
address 173.XXX.165.65
gateway 173.XXX.165.70route -n shows

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth1 U 0 0 0 eth0 UG 100 0 0 eth1
DNS servers are the same for both networks and are specified in resolv.conf

Any ideas?

Thanks everyone, I have spent too much time trying to figure this out.

April 16th, 2010, 02:50 PM