From: "Artūras Šlajus" <x11@h2o.pieva.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Multihomed router problems
Date: Thu, 08 Jan 2004 15:32:05 +0000 [thread overview]
Message-ID: <3FFD77F5.20201@h2o.pieva.net> (raw)
In-Reply-To: <200401081507.26233.rabs@dimension-virtual.com>
Raúl Alexis Betancort Santana wrote:
> Hi all, i'm new at LARTC, and after reading the docs I found no solution to my
> problem ...
>
> On one side I have eth0 conected to the LAN, on the other side I have eth1
> conected to a switch and to 3 DSL routers with 3 diferent providers, and also
> eth2 conected to a cisco 2600 conected to a LDMS line.
>
> I have readed the larct docs about multihomed conections to internet, but I'm
> been unable to setup the routes with iproute2. I have setup a default
> multihop route, but if I receive a ssh conection throught one of the DSL
> lines it get not answered by the same line, it's answered throught the
> default route, How could I change this? I want to begin by answering the
> traffic by the line it is coming in.
Well. this should be done automatically otherwise it would break TCP/ip. I think you messed
up your config.
Mine setup with 2 ip's:
rasnet:/etc/blootbot# ip rule
0: from all lookup local
32760: from all to 213.226.172.0/24 lookup parabole
32761: from all to 213.252.224.0/24 lookup parabole
32763: from all to 213.226.161.0/24 lookup parabole
32764: from all to 213.226.147.0/24 lookup parabole
32765: from all to 213.226.146.0/24 lookup parabole
32766: from all lookup main
32767: from all lookup default
rasnet:/etc/blootbot# ip route
192.168.20.0/24 dev eth1 proto kernel scope link src 192.168.20.59
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.1
81.0.0.0/8 dev eth0 proto kernel scope link src 81.7.84.36
default via 81.7.84.1 dev eth0 src 81.7.84.36
rasnet:/etc/blootbot# ip route ls table parabole
default via 192.168.20.1 dev eth1
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2004-01-08 15:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 15:07 [LARTC] Multihomed router problems Raúl Alexis Betancort Santana
2004-01-08 15:32 ` Artūras Šlajus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FFD77F5.20201@h2o.pieva.net \
--to=x11@h2o.pieva.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.