From: Adrian Chung <adrian@enfusion-group.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Policy routing missing default table?
Date: Tue, 05 Jun 2001 12:10:24 +0000 [thread overview]
Message-ID: <marc-lartc-99174307528803@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99168177623479@msgid-missing>
On Tue, Jun 05, 2001 at 02:04:01PM +0200, Juri Haberland wrote:
> > I was under the impression that my 3 main tables should have been
> > 'local', 'main', and 'default'. 'main' would contain routes to adjacent
> > networks, and 'default' would contain default routes. So I could have
> > solved my problem by just creating a table with precidence in between
> > main and default, and changed the default gateway for 192.62.100.0/24
> > without changing network routes too.
>
> Well, according to the "Linux 2.4 Advanced Routing HOWTO" the default
> table (or 253) should be empty and the default route should be in
> 'main'.
Hmm, that's strange. So in the situation I have, where the router is
connected to 3 adjacent networks physically, and I only want to alter
the default gateway for one subnet, without affecting the other local
network routes, how would I do it?
I'm assuming that if I insert a table before 'main', as I currently
do, I have to duplicate all the routes to other local networks.
If I add the table after 'main', the default route that's in main
overrides whatever default route I would put in the new table.
Is this logic sensible?
> > Does this make sense? And if so, does anyone know why I have a table
> > '253' with nothing in it, and no 'default'?
>
> Actually, I don't know why there isn't a default table but one named
> '253'. I have the same here on a RedHat 7.1 system running kernel 2.4.5
> with iproute2-ss000305.
Okay, at least I'm not alone. :)
--
Adrian Chung (adrian at enfusion-group dot com)
http://www.enfusion-group.com/~adrian
GPG Fingerprint: C620 C8EA 86BA 79CC 384C E7BE A10C 353B 919D 1A17
[toad.enfusion-group.com] up 2 days, 17:17, 9 users
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-06-05 12:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-04 19:08 [LARTC] Policy routing missing default table? Adrian Chung
2001-06-05 12:04 ` Juri Haberland
2001-06-05 12:10 ` Adrian Chung [this message]
2001-06-05 12:17 ` Juri Haberland
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-99174307528803@msgid-missing \
--to=adrian@enfusion-group.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox