• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

multi-homing

plur

[H]ard|Gawd
Joined
Jun 3, 2001
Messages
1,397
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?
 
draw me a picture, i think I have the idea but not sure.

can you ssh the "box 2" from the Lan? how are routes on all 3 machines set?
 
Back
Top