All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pekka Savola <pekkas@netcore.fi>
To: kuznet@ms2.inr.ac.ru
Cc: davem@redhat.com, <jmorris@redhat.com>, <netdev@oss.sgi.com>
Subject: Re: Fw: [PATCH] IPv6: Allow 6to4 routes with SIT
Date: Tue, 15 Jul 2003 22:26:21 +0300 (EEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0307152029580.14070-100000@netcore.fi> (raw)
In-Reply-To: <200307151428.SAA08491@dub.inr.ac.ru>

On Tue, 15 Jul 2003 kuznet@ms2.inr.ac.ru wrote:
> >  1) modify /sbin/ip and /sbin/route (and the rest if any) so that they'll
> > parse global next-hop information and resolve it for the kernel, and
> > report the resolved information to the kernel (see the other thread)
> 
> No, really. It is problem of user to supply reasonable values.

Such addresses are link-locals, of link local scope only.  A link-local 
IPv6 address is awfully difficult to remember and type for all of your 
possible links.

The only reasonable value user could supply is a global address.  If the 
user doesn't have to supply anything .. that's another thing.

> Listen, tunnel needs an _IPv4_ address for destiantion of tunnel.
> Because our routing does not permit to use different address family
> as nexthop, we did trick presenting it as an IPv4-compat address.
> We could do this differently, f.e. to use FFFF:EEEE:IPv4-addr:CCCC:DDDD
> with the same success or any other randomly chosen encapsulation.
> 
> And this silly combination is still _better_ than 6to4 address, which
> contains redundant information, which can be mixed up with real _IPv6_
> 6to4 addresses and whihc contains IPv4 address in some place which
> used to be identification of a network prefix.

Note that what is redundant information in certain scenarios for the
*kernel* may not be redundant information for the *user*.

Please describe what you mean by "real IPv6 6to4 addresses".

If the node processing those as a next-hop supports 6to4 and has the sit0
pseudointerface configured, the address will be but through the special
handling.

If the node doesn't support 6to4 or doesn't have the sit0 pseudointerface 
configured, the address will be processed as normal, as any other IPv6 
nexthop.

Right?

I fail to see what's the fuss about redundant information.  

Redundant information can be ignored.  This is not computer science
theory, removing everything which is not directly relevant.  The use of
the same representation for the next-hop (2002:F00:BA::x) as an address
(2002:BA:F00:y) is the only logical, user-friendly way.

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

  reply	other threads:[~2003-07-15 19:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030713005345.1fea1092.davem@redhat.com>
2003-07-14 23:29 ` Fw: [PATCH] IPv6: Allow 6to4 routes with SIT kuznet
2003-07-15  6:28   ` Pekka Savola
2003-07-15 14:28     ` kuznet
2003-07-15 19:26       ` Pekka Savola [this message]
2003-07-15 23:32         ` kuznet
2003-07-16  6:12           ` Pekka Savola
2003-07-17  0:20             ` kuznet
2003-07-17  7:04               ` Pekka Savola
2003-07-17 11:16                 ` Mika Liljeberg
2003-07-17 11:54                   ` Mika Liljeberg
2003-07-17 13:55                     ` Pekka Savola
2003-07-17 14:35                       ` Mika Liljeberg
2003-07-16 22:28       ` Mika Liljeberg
2003-07-16 23:28         ` kuznet
2003-07-16 23:39           ` Mika Liljeberg
2003-07-16 23:58             ` kuznet

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=Pine.LNX.4.44.0307152029580.14070-100000@netcore.fi \
    --to=pekkas@netcore.fi \
    --cc=davem@redhat.com \
    --cc=jmorris@redhat.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@oss.sgi.com \
    /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.