Setting up 2 network cards with 2 gateways
I have 2 internet service providers and hence 2 public ip address. I have a server with 2 identical network cards. Its it possible to setup the server in such a way:
SERVER---eth0(192.168.0.6)----gateway1(192.168.0.1)-------------INTERNET
|------eth1(192.168.0.5)---gateway2(192.168.0.2)------------------|
I hope the server will be able to serve different request through different gateways such that the server is effectively more responsive. I tried this setup but the server does not work correctly. And only does so when i deactivated one of the cards.
Can someone shed some light on this issue?