All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] one dude about rt_tables
Date: Wed, 27 Nov 2002 16:05:32 +0000	[thread overview]
Message-ID: <marc-lartc-103841341816359@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103840884709970@msgid-missing>

 : >/etc/iproute2/rt_tables contains a mapping of human names to routing table
 : >numbers.  I call them table identifiers to table ids.  This file does not
 : >contain routes.
 : So, if I understand all correctly, I don't need that file to use multiple 
 : route tables, do I?

You are correct.  It simply maps names to numbers so that you can use
something like this if you want:

# ip route add default via 10.0.0.1 table dsl-link
# ip route add default via 10.0.0.2 table t1-link

Where the rt_tables file contains:

1       dsl-link
2       t1-link

If you do not have the file /etc/iproute2/rt_tables, you can use the 
following syntax .

# ip route add default via 10.0.0.1 table 1
# ip route add default via 10.0.0.2 table 2

 : I found a solution here:
 : http://www.samag.com/documents/s\x1824/sam0201h/0201h.htm

I've not seen this before and will have to read this article.  Thanks for
the link.

I do have some general documentation on the use of "ip route" and "ip 
rule" in the appendices of my documentation available here: 

  http://plorf.net/linux-ip/

Let me know if you find any flaws, areas for improvement, or missing 
content.

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-11-27 16:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-27 14:52 [LARTC] one dude about rt_tables Luis Miguel Cruz Miranda
2002-11-27 15:02 ` Martin A. Brown
2002-11-27 15:07 ` Luis Miguel Cruz Miranda
2002-11-27 16:05 ` Martin A. Brown [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-103841341816359@msgid-missing \
    --to=mabrown-lartc@securepipe.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 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.