From: Arthur van Leeuwen <arthurvl@sci.kun.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] interaction between different tables' default routes
Date: Thu, 28 Feb 2002 11:14:19 +0000 [thread overview]
Message-ID: <marc-lartc-101489494524459@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101489337820656@msgid-missing>
On Thu, 28 Feb 2002, bert hubert wrote:
> On Wed, Feb 27, 2002 at 04:29:23PM +0530, suresh wrote:
>
> > to forward request from another lan network it works fine
> > but req from 172.16.1.0 does not work
> >
> > if i remove
> > ip route del default via w.x.y.z dev eth1
> >
> > its work well.
> >
> > Did i leaveout anything in configuration?
>
> I'm not sure about this. At one point I understood how this worked but I
> don't anymore. There is something in the HOWTO about fallback routes. I
> think there are people here who do understand the interaction between
> different tables' default routes.
Let's see if I can explain. First: suresh, your setup ought to work.
The point of having different routing tables is exactly that: having
different routing tables. Each table is technically independent. However, if
a particular table does not come op with a route for a packet to take, the
next rule is investigated, and if it matches the packet, a route is searched
in the table looked up from that rule. For most rulesets one would end up
using the routes in table main...
In your case I don't see how that can occur, as you have a default route in
table isp1. However, what *does* occur is somewhat of a mistery to me.
Could you show us your full routing tables (ip route show table all)
as well as the routing cache (ip route show table cache) with and without
the default route via w.x.y.z dev eth1? (You may want to run a
ip route flush table cache first... this will make the route cache
somewhat more palpable.)
Doei, Arthur.
--
/\ / | arthurvl@sci.kun.nl | Work like you don't need the money
/__\ / | A friend is someone with whom | Love like you have never been hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody watching
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2002-02-28 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-28 10:48 [LARTC] interaction between different tables' default routes bert hubert
2002-02-28 11:14 ` Arthur van Leeuwen [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=marc-lartc-101489494524459@msgid-missing \
--to=arthurvl@sci.kun.nl \
--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.