[Gllug] routing via a second external IP

Paul Cupis paul at cupis.co.uk
Thu Aug 7 10:37:39 UTC 2008


t.clarke wrote:
> I am currently in the process of installing another ADSL circuit in our
> offices (regrettably due to the apallingly low speed available on ADSL at
> our physical location  - 600Kbs if we are lucky!).  The idea is to use this
> connection purely for telnet connection in from certain specific users/IP
> addresses; to avoid bottlenecks at certain times when the 'nromal' ADSL line
> is 'swamped' with websurfing traffic.
> 
> It would seem a pity to use another Linux box to accomplish this if I can
> simply do the following:
> 
> 1)install another interface card in the existing Linux box, connected to the
> new adsl circuit and router
> 2)set up specific routes to the IP addresses concerned within the linux-box
> routing table, so that outgoing packets do not go our via the default route
> 
> Any reason why this should not work ??

This should just work. All you should need to do is add some static 
routes on the Linux box to send traffic to certain destination IPs via 
the second gateway (ADSL).

# ip route add x.x.x.x/x via y.y.y.y

Regards,
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list