Mailinglist Archive: opensuse (1597 mails)

< Previous Next >
[opensuse] Re: How do I route traffic through different interfaces
  • From: Joachim Schrod <jschrod@xxxxxxx>
  • Date: Thu, 29 Oct 2009 14:39:08 +0100
  • Message-id: <hcc5ts$4gb$1@xxxxxxxxxxxxx>
Dave Plater wrote:
Hi, I have a normal adsl ip account setup on eth0, I also have a local
only account setup as a tunnel through dsl0. The dsl0 account cannot
access anything outside of South Africa and if I enable it everything
tries to use it. What can I use to only route local
(41.0.0.1/41.95.255.255 and 196.0.0.1/196.255.255.255) through dsl0 and
anything else through eth0?

It seems that your tunnel establishes a default route. This must be
stopped. Since I don't know how the tunnel is established, I can't
comment on this.

You can see the default route by using the command "ip route ls".

After you stopped establishing that default route, add

41.0.0.1 - 41.95.255.255 dsl0
196.0.0.1 - 196.255.255.255 dsl0

to /etc/sysconfig/network/routes.

Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages