I had
a careful look in the list archives, bu did not find anything appropriate. In
case I have overseen something, redirects are
welcome.
On
our network there are two routers maintaining different internet connections.
The first uses a DSL connection, the second a satellite link (with incredible
high bandwith, but the latency is a
pain-in-the-a**).
The
goal is to use the DSL connection for all interactive tasks like ssh etc.,
and also for all outbound connections from the administrators workstation. All
other traffic should use the (high latency) satellite
link.
Let's
say the internal network would use 192.168.0.0/24. The default router is
192.168.0.254. This is a linux box with 2.4 kernel. The .254 address is bound to
eth2. eth0 is connected with the DSL modem (so it has no IP address, the DSL
connection uses ppp0). eth1 gets it's address by DHCP from the satellite modem.
The administrator's box has the address 192.168.0.2
Of
course the system has to use some kind of NAT for the connections between the
local network and the internet.
Someone told me that iptables/netfilter should be able to perform
the job. Unfortunately I have no clue how.
Any
kind of help will be greatly appreciated.
rm
