Skip to contentSkip to conversation

help with config for multiple internet connections

LARTC Mark Hagger 2 participants 2 messages Jan 22, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I have a machine with 2 internet connections (one is effectively the backup one).

I'm having some trouble getting this to work. What I want is to have one connection as the default gateway, and the other to also be live for incoming connections. The theory is that if the "first" connection dies then the "second" would work (one of the links is ADSL, hence the unreliability....).

I'm using a Mandrake8.1 installation, with a recent kernel. If I setup the network cards in the "usual way" I get a "route table" of the following:

10.252.0.64   0.0.0.0     255.255.255.240 U  0  0 0 eth0
62.188.57.139 0.0.0.0     255.255.255.248 U  0  0 0 eth1
127.0.0.0     0.0.0.0     255.0.0.0       U  0  0 0 lo
0.0.0.0      10.252.0.65    0.0.0.0       UG 0  0 0 eth0

unfortunately this doesn't work at all, connections to the external address that maps to 10.252.0.64 work fine, but incoming traffic to 62.188.57.139 apparently goes nowhere, probably not surprising as return traffic out of 62.188.57.139 should go via a gateway of .142. If I switch the default gateway to the .142 address then the eth1 network works and the eth0 doesn't.

I'm somewhat baffled as to what I'm supposed to do to have this working, all help and suggestions gratefully received.

Regards,

Mark Hagger

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#1 lore raw

Hello,

Quoted 5 lines · Mark Hagger

I have a machine with 2 internet connections (one is effectively the backup one).

I'm somewhat baffled as to what I'm supposed to do to have this working, all help and suggestions gratefully received.

You can start with some docs:

http://www.linuxvirtualserver.org/~julian/#routes
nano.txt, dgd-usage.txt, dgd.txt

Quoted 3 lines

Regards,

Mark Hagger

Regards

--
Julian Anastasov <[email protected]>

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/