All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew andrewd@uccsda.org
To: lartc@vger.kernel.org
Subject: [LARTC] A complicated routing scenario (for me at least)
Date: Tue, 14 Nov 2000 20:15:47 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216917@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938216914@msgid-missing>

<PRE>Thanks for the reply, Here are a few more questions

&gt;<i> &gt;                                  LAN
</I>&gt;<i> &gt;                                   | (172...)
</I>&gt;<i> &gt;                                   |  (eth1)
</I>&gt;<i> &gt;          _/\__/\_             +---+----+            _/\__/\_
</I>&gt;<i> &gt;         /        \   (63...)  |        | (204...)  /        \
</I>&gt;<i> &gt;        ( Internet )-----------+ Router +----------( Internet )
</I>&gt;<i> &gt;         \_  __  _/    (eth0)  |        |  (eth2)   \_  __  _/
</I>&gt;<i> &gt;           \/  \/              +----+---+             \/  \/
</I>&gt;<i> &gt;                              (eth3)| 63..
</I>&gt;<i> &gt;                                    | 204..
</I>&gt;<i> &gt;                                    |
</I>&gt;<i> &gt;                  --+---------------+----------+--  &lt;---single physical
</I>&gt;<i> &gt; net
</I>&gt;<i> &gt;                    |                          |        (i.e. one hub)
</I>&gt;<i> &gt;                    |                          |
</I>&gt;<i> &gt;                +---+---+ 63..1            +---+---+ 63..2
</I>&gt;<i> &gt;                | Linux | 63..4            | Linux | 63..3
</I>&gt;<i> &gt;                +-------+ 204..1           +-------+ 204..2
</I>&gt;<i> &gt;                          204..4                     204..3
</I>&gt;<i> a. There are examples for these files in /usr/doc/iproute-2.2.4/iproute2/ on
</I>&gt;<i>    RedHat 6.2 systems with iproute2 installed and in
</I>&gt;<i>    /usr/share/doc/iproute-2.2.4/iproute2/ on RedHat 7.0 systems.
</I>&gt;<i>    These files all have names starting with rt_, and should also be in
</I>&gt;<i>    the iproute2 tarball, but I'm too lazy to check :).
</I>&gt;<i> b. The directory can contain the files rt_dsfield, rt_protos, rt_realms,
</I>&gt;<i>    rt_scopes and rt_tables. Most of the values in these files are user
</I>&gt;<i>    settable, and will be read when the files exist. If they do not exist you
</I>&gt;<i>    do not get nice names and have to deal with the raw numbers. Note: they
</I>&gt;<i>    are *not* necessary for operation, just useful from a user's point of
</I>&gt;<i>    view.
</I>
OK.. someplace else to look. Are the examples the only thing available
in the way of file syntax? Also could someone help me understand how
these files are read at startup if they exist. (what code/script is
responsible for doing it, and what happens if there are syntax errors. I
have a redhat 6.2 system.)

&gt;<i> Well, an ASCII-gram such as the one above and step by step explanations of
</I>&gt;<i> your setup and *why* you've taken those steps would be great. ;)
</I>
If/When I get this written up, is this mailing list the place to post
it? Would there be any value in puting it into a separate (mini)-HOWTO?

Based on what everyone's said, here is what I'm contemplating (this
still assumes that
that packets are answered on the same interface they come in on. I'm
getting conflicting information for this. Someone said they do, and
someone else said they don't. I suppose if they don't I could use an
explicit source address hint in a routing table entry.):

Packets coming in on eth0,1, and 2 would be marked with
different TOS values based on what interface they came in on using
ipchains, and routed through the proper address on eth3 using the
advanced routing.

Since the TOS field doesn't change (an assumption, is this true?) I
would know which interface to route the packet back through while at the
same time being able to reset the TOS field back to zero for routing on
the internet.

Comments? Suggestions?

Thanks,

-Andrew
<A HREF="mailto:depaan@bibleinfo.com">depaan@bibleinfo.com</A>


</PRE>

  parent reply	other threads:[~2000-11-14 20:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-13 22:58 [LARTC] A complicated routing scenario (for me at least) Andrew
2000-11-14 14:34 ` Arthur
2000-11-14 14:44 ` Wingtung.Leung
2000-11-14 20:15 ` Andrew [this message]
2000-11-14 21:47 ` Whit
2000-11-14 23:10 ` Wingtung.Leung
2000-11-15 10:49 ` Arthur
2000-11-15 11:27 ` Arthur
2000-11-15 14:57 ` Warren
2000-11-15 19:20 ` Andrew
2000-11-15 19:30 ` Arthur
2000-11-15 20:11 ` Andrew
2000-11-17  1:07 ` Andrew
2000-11-17 12:11 ` Mike
2000-11-17 12:24 ` Mike
2000-11-17 13:00 ` Arthur
2000-11-17 21:25 ` Mike
2000-11-18 16:28 ` Warren

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-98373938216917@msgid-missing \
    --to=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.