Re: [dhcwg] about v4configuration and co (1)

Francis Dupont <Francis.Dupont@fdupont.fr> Mon, 12 August 2013 15:45 UTC

Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F10ED21F9D28 for <dhcwg@ietfa.amsl.com>; Mon, 12 Aug 2013 08:45:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.419
X-Spam-Level:
X-Spam-Status: No, score=-2.419 tagged_above=-999 required=5 tests=[AWL=0.180, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z1mUYzt2zO9x for <dhcwg@ietfa.amsl.com>; Mon, 12 Aug 2013 08:45:18 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [IPv6:2001:41d0:1:6d55:211:5bff:fe98:d51e]) by ietfa.amsl.com (Postfix) with ESMTP id 8B53621F9D1F for <dhcwg@ietf.org>; Mon, 12 Aug 2013 07:38:04 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.14.3/8.14.3) with ESMTP id r7CEahC4056298; Mon, 12 Aug 2013 16:36:43 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <201308121436.r7CEahC4056298@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: Ole Troan <otroan@employees.org>
In-reply-to: Your message of Tue, 06 Aug 2013 13:21:56 +0200. <34B56CCB-04C1-46E5-9CE2-B588994B9645@employees.org>
Date: Mon, 12 Aug 2013 16:36:43 +0200
Sender: Francis.Dupont@fdupont.fr
Cc: dhcwg@ietf.org
Subject: Re: [dhcwg] about v4configuration and co (1)
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Aug 2013 15:45:19 -0000

 In your previous mail you wrote:

>  > First I am explaining my comment at the dhc/sunset4 meeting yesterday:
>  > "DHCPv4 is not really over UDP/IP"
>  > What I mean is no genuine IPv4 stack is able to send or receive
>  > a DISCOVER message from a booting device: this message has the
>  > format of an UDP/IPv4/ethernet-like packet but has only the format.
>  
>  can you explain what you mean by "DHCPv4 is not really over UDP/IP"?

=> I believe I explained what I mean by this statement?

>  > - DHCPv4 over softwire works well if all nodes already have IPv4
>  >  addresses.  If they have none one enters in difficulties which are
>  >  IMHO the direct consequence of the "DHCPv4 is not really over
>  >  UDP/IP".  So if the requirements include to asignment of IPv4
>  >  addresses to nodes without one (and they should include this) then
>  >  the DHCPv4 over softwire is not a good solution.
>  >  Another point is DHCPv4 over softwire can require a ALG (Application
>  >  Level Gateway) at the server exit point in order to provide the
>  >  IPv6 address (or any topological ID) to the DHCPv4 server.
>  
>  I tested DHCPv4 over a softwire with my favourite implementation and
>  that worked out of the box.

=> did you check your favourite implementation is really using the
IP stack? Usually DHCPv4 uses a link-layer access like BPF so relies
on the correct support in the link-layer for this specific usage
(so it can work with one implementation but not the other, if
you are unlucky the client and the server won't interoperate, and
you'll have nobody to blame because the case is not described in
the specs...).

>  DHCPv4 in that it uses broadcast requires a link-layer that supports
>  broadcast.
>  given that a softwire is a p2p link, it does support broadcast (and
>  multicast).

=> usually the issue with DHCPv4 and encapsulation is not the packet
format (there is a straightforward way for it) but the sanity checks
at the other (here DHCPv4 server) side: how the set the expected source
address without a little idea of what it is?
Note this doesn't make impossible to work, just it requires specific
support (and specifications if you want interoperability).

>  > To finish it is not hard to modify a DHCPv4+DHCPv6 server code
>  > to handle DHCPv4 over IPv6, i.e., DHCPv4 messages over IPv6
>  > or even both over IPv6 and IPv4. The idea is to plug the IPv6
>  > I/O subsystem to the DHCPv6 handler. IMHO it should not be
>  > significanly different (i.e., harder / easier) to support
>  > DHCPv6 over DHCPv4 (note this is for the server code).
>  
>  just to make my own views clear:
>  - coupling IPv6 and IPv4 provisioning together is a bad idea

=> I believe you mean provisioning at the server side (note no
supported solution requires such a coupling).

>  - I don't think requiring IPv4 specific configuration information
>  on a softwire is necessary, if you really have to do it I'd prefer
>  for the IPv4 provisioning protocol to run over the IPv4 data path
>  (aka the softwire). and the same solution could be used for Public
>  4over6, LW46, MAP, L2TP...

=> the problem is sbout the IPv4 provisioning: if it includes IPv4
address provisioning it should not run over the IPv4 data path.
BTW the I-D is not enough clear about this point to be a critical
requirement or not... (and I raised this concern in my review before
the slide about real (vs info only) DHCPv4 over softwire slide).

Thanks

Francis.Dupont@fdupont.fr