Re: [Autoconf] Subnet definition

Emmanuel Baccelli <Emmanuel.Baccelli@inria.fr> Thu, 20 November 2008 16:30 UTC

Return-Path: <autoconf-bounces@ietf.org>
X-Original-To: autoconf-archive@megatron.ietf.org
Delivered-To: ietfarch-autoconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F8993A6806; Thu, 20 Nov 2008 08:30:21 -0800 (PST)
X-Original-To: autoconf@core3.amsl.com
Delivered-To: autoconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DDCD23A6806 for <autoconf@core3.amsl.com>; Thu, 20 Nov 2008 08:30:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level:
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXL3rKiutytk for <autoconf@core3.amsl.com>; Thu, 20 Nov 2008 08:30:20 -0800 (PST)
Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by core3.amsl.com (Postfix) with ESMTP id 98D353A67B5 for <autoconf@ietf.org>; Thu, 20 Nov 2008 08:30:19 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.33,639,1220220000"; d="scan'208";a="17424561"
Received: from unknown (HELO BoolfightMaN-Laptop.local) ([130.129.29.95]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Nov 2008 17:30:16 +0100
Message-ID: <49259096.7080709@inria.fr>
Date: Thu, 20 Nov 2008 17:30:14 +0100
From: Emmanuel Baccelli <Emmanuel.Baccelli@inria.fr>
User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914)
MIME-Version: 1.0
To: autoconf@ietf.org
X-Enigmail-Version: 0.95.7
Subject: Re: [Autoconf] Subnet definition
X-BeenThere: autoconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Ad-Hoc Network Autoconfiguration WG discussion list <autoconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/autoconf>, <mailto:autoconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/autoconf>
List-Post: <mailto:autoconf@ietf.org>
List-Help: <mailto:autoconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/autoconf>, <mailto:autoconf-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: autoconf-bounces@ietf.org
Errors-To: autoconf-bounces@ietf.org

Maybe we are hitting the heart of the misunderstanding. I think we
should indeed distinguish prefix and subnet terms, and stick to
something like:

- a prefix is a contiguous range of IP addresses.
- a subnet is a set of IP addresses (that may or may not be a prefix)
that are on the same link. All these addresses are then on-link with
respect to this link.
- a link is what L2 provides, which reaches everything within TTL 1
beyond a given interface.

If we stick to these definitions, we will indeed save ourselves lots of
trouble. Do you agree?
Emmanuel





On Thu, Nov 20, 2008 at 3:39 PM, Thomas Narten <narten@us.ibm.com> wrote:
I agree that we need a clean definition of subnet. The term is
overloaded and different people have different meanings associated
with it. That has contributed to confusion in the discussions...

Note also that I think Erik's observation about "on-link" being a key
issue to also be clear about is correct.

"Charles E. Perkins" <charles.perkins@earthlink.net> writes:

> A "subnet" is a contiguous range of IP addresses that
> admits a routing prefix.

I'd change that as follows (to highlight the properties that are
important to us):

A "subnet" is the range of IP addresses that are covered by a
prefix. All that a subnet defines is which addresses are considered to
be on the subnet and which are not.

In many cases (in IPv4) there is a one-to-one mapping between a subnet
and a link. I.e., on an Ethernet, you assign a subnet to the ethernet
link.  All the addresses covered by the prefix are assumed to reside
on that Ethernet, and are neighbors of each other. Using IPv6
terminology, we would say "link" rather than subnet and we would say
all the addresses covered by the subnet are "on link". (But note that
in IPv6, you can have links with addresses assigned to it, but for
which there is no prefix that is considered "on link".)

But if one talks to routing folk, a subnet is an abstraction that is
not tied to a physical link. For example, IBM has been assigned net
9.0.0.0. So, to BGP, 9.0.0.0/8 is a "subnet", even though the actual
network is a huge cloud of thousands of individual networks.

And, within IBM, talking about 9.0.0.0/8 as a "subnet" makes little
sense, because we see the individual links that have been subnetted
and given individual subnet numbers. We talk about 9.2.27.0/24 and the
like.

Thus, when talking about a subnet, we also have to consider the
on-link properties (if any), as differing assumptions on that point
can lead to very different ideas about how things do (or don't) work.

Back to the simple Ethernet, all the addresses covered by the prefix
are typically considered on-link.

When talking about MANETs, and talking about subnets (or prefixes) we
also have to talk about the on-link properties (or lack thereof).

For example, going back to chart 37 of ThomasC's presentation, it may
well make sense to consider the entire cloud of routers to be part of
one subnet, but it does not make sense (I assume) to consider that
same subnet to be "on-link" anywhere within that cloud. Within the
cloud, the subnet is further subdivided into smaller subnets. Each of
those individual (smaller) subnets may well have on-link properties
for small portions of the overall cloud.

Thomas
_______________________________________________
Autoconf mailing list
Autoconf@ietf.org
https://www.ietf.org/mailman/listinfo/autoconf
_______________________________________________
Autoconf mailing list
Autoconf@ietf.org
https://www.ietf.org/mailman/listinfo/autoconf