Re: comments on draft-lynn-6man-6lobac-01 "IPv6 over MS/TP" (was: comments on ipv6-over-mstp)

Alexandru Petrescu <alexandru.petrescu@gmail.com> Thu, 04 August 2011 10:23 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C80F21F8A58 for <ipv6@ietfa.amsl.com>; Thu, 4 Aug 2011 03:23:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.479
X-Spam-Level:
X-Spam-Status: No, score=-2.479 tagged_above=-999 required=5 tests=[AWL=-0.230, BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G2vqP6GYKa0G for <ipv6@ietfa.amsl.com>; Thu, 4 Aug 2011 03:23:01 -0700 (PDT)
Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.167.192.144]) by ietfa.amsl.com (Postfix) with ESMTP id 28A0B21F87C9 for <ipv6@ietf.org>; Thu, 4 Aug 2011 03:23:00 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.2) with ESMTP id p74ANDmP014174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 4 Aug 2011 12:23:13 +0200
Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (8.14.4/8.14.4) with ESMTP id p74ANCA0021305; Thu, 4 Aug 2011 12:23:13 +0200 (envelope-from alexandru.petrescu@gmail.com)
Received: from [132.166.133.178] (is010183.intra.cea.fr [132.166.133.178]) by muguet1.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.1) with ESMTP id p74ANCac006263; Thu, 4 Aug 2011 12:23:12 +0200
Message-ID: <4E3A7310.7090001@gmail.com>
Date: Thu, 04 Aug 2011 12:23:12 +0200
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Ipv <ipv6@ietf.org>
Subject: Re: comments on draft-lynn-6man-6lobac-01 "IPv6 over MS/TP" (was: comments on ipv6-over-mstp)
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 10:23:02 -0000

Hello Kerry,

Sorry for late reply.

I do agree with your comments and my comments below are non-blocking on
the advancement of this draft.  I support advancement of this
draft.

> On Tue, Jul 26, 2011 at 6:03 PM, Alexandru Petrescu
> <alexandru.petrescu at gmail.com> wrote:
>>
>> Comments on draft  draft-lynn-6man-6lobac-00:
>>
>> - needs a section on multicast address mapping; it may not be
>> straightforward: it may need to _not_ send all ip-multicasted
>> messages to 255 link-layer address: the solicited-node multicast
>> address includes the octet address (as opposed to eg ethernet
>> 6octets) hence it could send it to that octet address (not 255).
>
> The current version is -01; see section 9

Yes, I mistakenly looked at -00 because that's how it was announced by
the url in the meeting agenda - I just clicked on it.  -01 addresses my
initial comment of needing a multicast section.

> It is a non-goal (perhaps this should be stated explicitly in the
> I-D) to modify the current MS/TP state machines (other than the
> extension for larger data frames already proposed in BACnet).

I agree, it sounds difficult to modify the MS/TP state machines and I do
not suggest that.  I suggest modifications to the IP stack, instead.

> The only currently available option is 255 (all-nodes).  We *could*
> look at MS/TP as a multicast challenged data link and support
> functions like NS via RFC 4861 extensions as discussed in IPv6 ND
> Optimization for Energy-aware Devices.

sure, one could.

> Plan B would be to look at using the 128-254 address range for
> multicast mapping, but then we diverge from co-existence and
> possibly need to modify state machines.

Right, no, I don't suggest modify state machines below IP, but modify IP
stack to better support broadcast of MS/TP yes.

When the IP stack sends an NS to the solicited node multicast address it
puts the last byte of the dst field of the IP header as a value 1..127.
  Then it builds the MAC header.  What should be the dst address in that
MAC header? (it is the IP stack who sets this field).  Then

draft-lynn-6man-6lobac-01 says:
> MS/TP does not support multicast, therefore IPv6-level multicast
> packets MUST be carried as link-layer broadcast frames in MS/TP
> networks.

This means that the dst field of the MAC header is 255 to answer the
question.

I think this unnecessarily sends a IP-multicast packet to everyone else
on the link (255).  This is probably not necessary.  The IP stack knows
the link-layer address (that one octet) and it should use it rather than
255 as the dst field of the MAC header.

Typically NS with a sol-node IP dst address is used during DAD: try to
see whether somebody else uses IP same address.  For Ethernet, only 3
out of 6 bytes of the mac address are present in the IP sol-node
address, hence it is necessary on Ethernet to have dst of the MAC header
to be the multicast MAC address (or sometimes broadcast on Ethernet).

But for MS/TP it seems only one octet is the unicast address, and that
does fit in the IP sol-node address, and hence could be reused to be put
in the dst address of the MAC header.

Finally, this is just to make things smart, not necessarily a blocking
point.

>> - 1 Poll for Master - sounds as RS, why not mapping one into
>> another? 2 Reply to Poll for Master sounds as RA, same.
>
> These are MAC control frames that are part of token generation (or
> recovery from a lost token).  Again, modification of the MS/TP MAC
> is a non-goal.  See section 2 for MS/TP MAC requirements.

I agree modifying MS/TP MAC is a non-goal.

Making a stack work ok on some link involves often address mapping but
sometimes also message mapping, i.e. send an RS, and send "Poll for
Master" at the same time.  This is what some implementations (not MS/TP,
other link) do, and this is what implementer needs to know.

Message sending mapping is a rule like this:

"Send RS MUST trigger Send "Poll for Master"."

>> - MLD mapping could be as well useful.
>
>
>
> Can you say more about this?

MLD is Multicast Listener Discovery protocol used typically to make
multicast work on links, and sometimes on links not supporting
link-layer multicast.  Multicast to work ok is absolutely necessary for ND.

In a similar vein as "send RS trigger send PFM", one could write rules
like "send MLD REPORT to joing group of MASTERS prior to send PFM".

These last two comments on message mapping and MLD are again just
comments, non blocking.

I look forward to advancement of this draft.

Alex


>
> Thanks, -K-