Re: [mif] Question to draft-ietf-mif-dhcpv6-route-option-05

Alexandru Petrescu <alexandru.petrescu@gmail.com> Fri, 26 October 2012 10:03 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: mif@ietfa.amsl.com
Delivered-To: mif@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E83221F8513 for <mif@ietfa.amsl.com>; Fri, 26 Oct 2012 03:03:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.092
X-Spam-Level:
X-Spam-Status: No, score=-10.092 tagged_above=-999 required=5 tests=[AWL=0.157, BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
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 Qdw+TU4qPZmb for <mif@ietfa.amsl.com>; Fri, 26 Oct 2012 03:03:21 -0700 (PDT)
Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.167.192.142]) by ietfa.amsl.com (Postfix) with ESMTP id EE63921F8502 for <mif@ietf.org>; Fri, 26 Oct 2012 03:03:20 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id q9QA3Jlj006335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <mif@ietf.org>; Fri, 26 Oct 2012 12:03:19 +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 q9QA3Jqd029085 for <mif@ietf.org>; Fri, 26 Oct 2012 12:03:19 +0200 (envelope-from alexandru.petrescu@gmail.com)
Received: from [127.0.0.1] (is010446-4.intra.cea.fr [10.8.33.116]) by muguet1.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id q9QA3FDj018803 for <mif@ietf.org>; Fri, 26 Oct 2012 12:03:19 +0200
Message-ID: <508A5FE3.3050407@gmail.com>
Date: Fri, 26 Oct 2012 12:03:15 +0200
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: mif@ietf.org
References: <39B5E4D390E9BD4890E2B3107900610101A1DC@ESESSMB301.ericsson.se>
In-Reply-To: <39B5E4D390E9BD4890E2B3107900610101A1DC@ESESSMB301.ericsson.se>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Subject: Re: [mif] Question to draft-ietf-mif-dhcpv6-route-option-05
X-BeenThere: mif@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiple Interface Discussion List <mif.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mif>, <mailto:mif-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mif>
List-Post: <mailto:mif@ietf.org>
List-Help: <mailto:mif-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mif>, <mailto:mif-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Oct 2012 10:03:22 -0000

Le 24/10/2012 14:34, Ivo Sedlacek a écrit :
> Hello,
>
> draft-ietf-mif-dhcpv6-route-option-05 states in section 7.1:
>
>     Metric field (available in previous version of this draft) has been
>
>     replaced with 2-bit preference field that is in line with RIO
>
>     information.
>
> Issue1:
>
> the section 4 states:
>
>     In terms of the high level operation of the solution defined in this
>
>     draft, a DHCPv6 client interested in obtaining routing information
>
>     request the route options using the DHCPv6 Option Request Option
>
>     (ORO) sent to a server.  A Server, when configured to do so, provides
>
>     the requested route information as part of a nested options structure
>
>     covering; the next-hop address; the destination prefix;_>>the route_
>
> _    metric<<;_  any additional options applicable to the destination or next-
>
>     hop.
>
> Given the statement in section 7.1, is "the route metric" above correct
> or is it an obsolete text?

I agree, I wonder the same thing as you.

In implementation, when inserting a routing entry in a routing table 
some times there is a need of a 'metric' field.  Often that is valued to 
1 or 0, when no dynamic routing protocol is used.

For default route configuration, this 'metric' field in routing table is 
not of utmost importance because often it is assumed as 1 (the next-hop 
is right next to it).

But whether or not the 'metric' field should be offered by DHCP 
Route-Option is debateable?

> Issue2:
>
> section 5.2 states:
>
> ....
>
>        0                   1                   2                   3
>
>        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |       OPTION_RT_PREFIX        |          option-len           |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |                         Route lifetime                        |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       | Prefix-Length |Resvd|Prf|Resvd|                               |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               |
>
>       |                            Prefix                             |
>
>       |                          (up to 16 octets)                    |
>
>       |                                                               |
>
>       |                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |                               |                               |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               |
>
>       .                                                               .
>
>       .                         RT_PREFIX sub-options                 .
>
>       .                                                               .
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
>                     Figure 3: Route Prefix Option Format
>
>
>
> ....
>
>     Metric:   Route Metric. 8-bit signed integer.  The Route Metric
>
>               indicates whether to prefer the next hop associated with
>
>               this prefix over others, when multiple identical prefixes
>
>               (for different next hops) have been received.
>
> ....
>
>
>
> There is no "Metric" field shown in the Figure 3.

I agree and I wonder the same as you?

Also, the meaning of the "metric" as suggested above - prefer a next-hop 
over another - is relatively debateable.  I thought about this metric as 
more of a hint to a dynamic routing protocol which may be in place to 
calculate shorter routes in terms of hopcount.

On another hand, that mentioned 'preference' signification of 'metric' 
is probably more of what RFC4191 calls also "preference", instead of 
'metric'.

I wonder about the authors' intention about this 'metric' field.

Alex

>
> Thanks for clarification.
>
> Kind regards
>
> Description: Description: line
>
> *IVO SEDLACEK *
>
>
> Ericsson
> Mobile +420 608 234 709
> ivo.sedlacek@ericsson.com
> www.ericsson.com
>
>
>
> Description: Description: http://www.ericsson.com/
> <http://www.ericsson.com/>
>
> This Communication is Confidential. We only send and receive email on
> the basis of the terms set out at www.ericsson.com/email_disclaimer
> <http://www.ericsson.com/email_disclaimer>
>
>
>
> _______________________________________________
> mif mailing list
> mif@ietf.org
> https://www.ietf.org/mailman/listinfo/mif
>