I've got 2 nics in a server, one with a public IP eth0 and one private eth1. I've got routes setup so that private IP ranges are accessed via eth1 and everything else via eth0.
My problem is that when I connect to our backup server via the private lan, the backup server sees the connection as comming from the public IP address so traffic from the backup server to the hosting server that should be going via the private nic's on eth1 is actually going out via the private nic and back in via the public nic.
Anyone know what I've missed? Running RedHat 7.2 btw.
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.10.0 * 255.255.255.0 U 0 0 0 eth1
220.127.116.11 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default router1 0.0.0.0.0 UG 0 0 0 eth0