Here is a basic overview of the network configuration for one of our servers:
[Datacenter]
[Internet Connection #1] >> [Firewall 1 (xx.xx.xx.1)] >> [Server (xx.xx.xx.10)]
>> [Firewall 2 (xx.xx.xx.2)] >> [Server (xx.xx.xx.10)]
[Internet Connection #2] >> [Firewall 1 (xx.xx.xx.1)] >> [Server (xx.xx.xx.10)]
>> [Firewall 2 (xx.xx.xx.2)] >> [Server (xx.xx.xx.10)]
The server is a hypervisor and the ubuntu machine i'm having trouble with is a VM.
The VM has 2 network interfaces (one on each network) and the IP addresses etc is all configured by DHCP running on the firewalls.
So here's where we're at:
eth0
Gets a DHCP lease and is assigned IP address: xx.xx.xx.143
eth1
Gets a DHCP lease and is assigned IP address: xx.xx.xx.243
However i am unsure where to go from here.
The problem is when I:
ping google.com
It hangs and times out, this can be resolved by disconnecting a NIC.
I am pretty sure this is an issue with routing.
I have seen a few tutorials on advanced routing and "the waters a bit deep for me!"
Can anyone provide me descriptive steps on how to configure this?
I should also note that the ubuntu server should use xx.xx.xx.1 as the default gate way and by default all traffic should happen on eth0, but if the firewall goes down should use xx.xx.xx.2 and eth1 instead.