OK, I've not tried this before, so bare with me.
Odd gateway problem.
I have a small Redhat 9 server for messing about with.
I have two cables lines running into a student flat.
One linux box, eth0 (192.168.0.5) and eth0:0 (192.168.0.6) on the box. Each line has a router.
DNS has been added to the WAN ips of the cable lines. blah.domain.com (aka home1.cable.ntl.com) which points to the WAN IP of the first line and internally to .5 and rawr.domain.com which points to the WAN IP (home2.cable.ntl.com) of the second line, which points internally to .6
The linux box is using line 1's router as a gateway, but both routers AND the linux box are on the same internal switch.
The idea is, if line 1 goes down, SSH will be accessible via line 2.
Both routers are forwarding port 22 to the internal ips of the linux box
i.e. 192.168.0.5 and .06 respectively.
Problem: Cannot SSH from both wan ips
the only one which will work, is the one which the linux box is using as a gateway.
Both routers and the linux box are sitting on the same internal switch, so in theory, this should work, yet it does not.
Any ideas?
Odd gateway problem.
I have a small Redhat 9 server for messing about with.
I have two cables lines running into a student flat.
One linux box, eth0 (192.168.0.5) and eth0:0 (192.168.0.6) on the box. Each line has a router.
DNS has been added to the WAN ips of the cable lines. blah.domain.com (aka home1.cable.ntl.com) which points to the WAN IP of the first line and internally to .5 and rawr.domain.com which points to the WAN IP (home2.cable.ntl.com) of the second line, which points internally to .6
The linux box is using line 1's router as a gateway, but both routers AND the linux box are on the same internal switch.
The idea is, if line 1 goes down, SSH will be accessible via line 2.
Both routers are forwarding port 22 to the internal ips of the linux box
i.e. 192.168.0.5 and .06 respectively.
Problem: Cannot SSH from both wan ips
the only one which will work, is the one which the linux box is using as a gateway.
Both routers and the linux box are sitting on the same internal switch, so in theory, this should work, yet it does not.
Any ideas?