2 Public IP to LAN server with different GW
Closed - This job posting has been filled and work has been completed.
As per attached diagramm we would like to access one of our internal Server through 2 public IPs of different ISPs
We would like to setup something on linux machine so that, if it is accessed through 202.x.x.7 IP(I.e 192.168.1.1 router) then the machine should send return traffic through 192.168.1.1 router only.
and if it is accessed through 175.x.x.7 IP(i.e. 192.168.1.2 router) then the machine should send return traffic through 192.168.1.2 router.
If we set only one gateway at a time it works fine. but with both Gateway setup it is not working as above.
We do not want this for Backup or Loadbalance purpose. We just need ability to access the LAN server with 2 different public IPs without changing Gateway address on server.
So, in short requirement is to use the same gateway for return traffic on which it is received.
If you are able to do the above, please reply...
Skills: lan, linux