[LARTC] help with config for multiple internet connections

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux