I have just set up two nics in my ubuntu 12.04 server. I have eth0 and eth1 both configured to use DHCP.
eth0 is connected to my router and the router has access to the internet. eth1 is connected directly to the internet (I set it up because I am going on vacation and my router goes down sometimes, and I still need access to the server)
When I bring up eth1 with ifup, my local internet connection on the server is lost, and I cannot connect to it externall from my routers address.Aalthough I can connect to it through the other address pointing at eth1.
Any idea how to allow access to the internet from the server, (ping google.com) while still allowing external access to the server from both addresses? (router address/other address)