Hello I have the following szenario:
I have 2 ISPs behind seperate routers, and one web/ssh-server with 2 ethernet cards.
I want the webserver to be reachable from both isp. I have forwarderd each router's port 80 to the local ip, but it seems that the server is only able to listen to 1 ip from outside. port-forwarding is fine, it must be a server issue (i changed ip to another webserver that worked)
If i access http://192.168.4.101 or http://192.168.2.101 from one of the networks it works just fine, but from outside one of the 2 nics seems to be unreachable.
More details:
#/etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.4.101
netmask 255.255.255.0
network 192.168.4.0
broadcast 192.168.4.255
gateway 192.168.4.1
auto eth1
iface eth1 inet static
address 192.168.2.101
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
Any ideas? I think i have to adjust some internal routes on t