Re: [v6ops] Routers are hosts too!

Joe Touch <touch@isi.edu> Sat, 09 January 2016 16:20 UTC

Return-Path: <touch@isi.edu>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E70301A888A for <v6ops@ietfa.amsl.com>; Sat, 9 Jan 2016 08:20:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.31
X-Spam-Level:
X-Spam-Status: No, score=-6.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ngDVQass-kGW for <v6ops@ietfa.amsl.com>; Sat, 9 Jan 2016 08:20:18 -0800 (PST)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5CA11A8887 for <v6ops@ietf.org>; Sat, 9 Jan 2016 08:20:18 -0800 (PST)
Received: from [10.213.221.183] (mobile-166-170-051-011.mycingular.net [166.170.51.11] (may be forged)) (authenticated bits=0) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id u09GJq4R003521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 9 Jan 2016 08:20:03 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@isi.edu>
X-Mailer: iPhone Mail (13C75)
In-Reply-To: <03a301d14ade$57cb6e40$4001a8c0@gateway.2wire.net>
Date: Sat, 09 Jan 2016 08:19:52 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <A9C4B79F-3365-47AF-9C16-3393DEFF2543@isi.edu>
References: <568E6552.9030008@gmail.com> <568EACE4.2070408@isi.edu> <568F8F37.3050708@gmail.com> <20160108.121015.74737501.sthaug@nethelp.no> <67D93E4D-714A-4566-A308-D9EFBB71C43B@puck.nether.net> <568FC62B.2040109@gmail.com> <18838.74.139.119.34.1452263734.iglou@webmail.iglou.com> <568FD4BF.5080608@gmail.com> <4129.74.139.119.34.1452267772.iglou@webmail.iglou.com> <568FDE34.1060003@gmail.com> <5690A82F.5020007@isi.edu> <03a301d14ade$57cb6e40$4001a8c0@gateway.2wire.net>
To: "t.petch" <ietfc@btconnect.com>
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/_SINcXrnYRMbSyzPW93xDK-3isM>
Cc: v6ops@ietf.org
Subject: Re: [v6ops] Routers are hosts too!
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jan 2016 16:20:20 -0000


> On Jan 9, 2016, at 5:04 AM, t.petch <ietfc@btconnect.com> wrote:
> 
> ----- Original Message -----
> From: "Joe Touch" <touch@isi.edu>
> To: "Alexandre Petrescu" <alexandre.petrescu@gmail.com>;
> <v6ops@ietf.org>
> Sent: Saturday, January 09, 2016 6:26 AM
> 
>>> On 1/8/2016 8:05 AM, Alexandre Petrescu wrote:
>>> RFC1122 "Reqs for Internet Hosts -- Communication Layers" does not
>>> mention longest-prefix match.
>> 
>> Section 3.3.2.3 (source address selection) refers to Section 3.3.1,
>> which includes a set of mechanisms in Section 3.3.1.2 for selecting
>> among multiple gateways.
>> 
>> Note that this algorithm involves using a route cache with ICMP
>> redirects that help the system learn the "best" (quote from the RFC)
>> next-hop. Those entries are described in terms of host routes, but
> there
>> is a discussion about aggregating those entries in 3.3.1.3.
>> 
>> The net result of that aggregation is effectively longest-prefix
> matching.
>> 
>> So you're strictly correct - RFC1122 does not require longest prefix,
>> but a large number of entries in the route cache is more effectively
>> handled as such.
> 
> But then RFC1122 does not mention classless addressing or Variable
> Length Subnet Masks -

That was introduced 200 RFCs later.  

> as I recall, they did not exist at that time.
> Rather, RFC1122 deals with 32 bit Host addresses and Classful Networks,
> ie 8 or 16 or 24 bit addresses, so while you might have more than one
> entry in the cache for a given destination, they will all be the same
> length so the concept of longest-prefix (and of course, the term prefix
> has no meaning at that date) match does not come into consideration.

You can still do longest match for classful routing.  

Where the gist aggregates these route chache entries and how is up to them, but the alternative is a nonscalable set of host routes 

Joe

> 
> Tom Petch
> 
>> Joe
>>