Re: [dhcwg] Regarding DHCP Discover with Dest Ip as subnet broadcast

Venkataratnam Naidu <ratnameee@gmail.com> Tue, 19 May 2020 14:55 UTC

Return-Path: <ratnameee@gmail.com>
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 6EF8E3A0852 for <dhcwg@ietfa.amsl.com>; Tue, 19 May 2020 07:55:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 LStgmWt67BcE for <dhcwg@ietfa.amsl.com>; Tue, 19 May 2020 07:55:25 -0700 (PDT)
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C15923A0824 for <dhcwg@ietf.org>; Tue, 19 May 2020 07:55:24 -0700 (PDT)
Received: by mail-wm1-x32a.google.com with SMTP id f134so3393432wmf.1 for <dhcwg@ietf.org>; Tue, 19 May 2020 07:55:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M4Tnzph70Zh2GPVx9cGvb+RRvkvbvyGHdErrYPw7jdk=; b=ML4wPTUemFXUyhNc0X0wCqAYDz/epO1ZEzo4IqAqqvTZku4hjtI59vYQBlIEM3FFST oEF1fbvKY4lqs67Yq1lscONcoNe8r7jVqBLxCUYvPvU/y1NPM3cpZQ+7bzU5nU4kUgsJ YKYDi5wTTALzjmLGJBozJ2sZSJfL32viBpeaR4A0FRHryiNfeXryu4RvJJ5Z+XHRe4SO zYz1iSba4wYjj9t9ISjdCt+LO4sKUiqj7cfvtuAAPlK+4Xk910FeKGYA/cAGAhwqPHSX oOKyt1iKkyqr0G/nFH5L97hZmhWQiGhxKkvad6jFv3jhvNp0XgOykcD9dspJz/b44Pqd lDBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M4Tnzph70Zh2GPVx9cGvb+RRvkvbvyGHdErrYPw7jdk=; b=mStOFeSQBg7n8Z+KapjbYK+okWhIHQTheRhnotrWMr+fpbWF4zb1oplft51a73Q2IW Wjo0mtyrOtSlDrkYOWlOGuIu5//gKnI5f0/RBp7HqJVMOid5DACAWRFuyzL3OUGjnI+1 oMo+kMO15xYwPqYNbHKRt6bPuBM3hwtQ06jrSdkDmlRyXZYR+3oA8goVFunzZgk5194W lJS/jewt+zH5Jo8iGO4qOpxCbNvCKpAQPhghB8xmT+XPSS8+h6QFqIdrTH2FQWS9jdB8 YhJefN1Z9iX6UUWrvtOm/soakOGCe8sJZt6Jcv1t0UnAmFoabc0DBWx0smX0hYRRT1L7 SF9g==
X-Gm-Message-State: AOAM530Gp/9z+MsItWW9xbwKHQdxg/6BZmyntsfiU/CwqgPkw6Wn/OSA 2Eww9TbJ+RU40ddyu2q+eL2em8hYDXK9YX/KmtEF
X-Google-Smtp-Source: ABdhPJxysc34ffAqqOSWMCtKuE5HQNPbsMYmQXVa0SIx0xHgVRAMOC/k41ISd+9BZbxNT5aStM+wjYwUqBcLZ2QGOnk=
X-Received: by 2002:a1c:5f08:: with SMTP id t8mr5795700wmb.67.1589900123084; Tue, 19 May 2020 07:55:23 -0700 (PDT)
MIME-Version: 1.0
References: <CANgMM_Dp+f6yhGpx-yGJ1K6+NPRCv=0Mi4NMHsen4fAPxNeAmQ@mail.gmail.com> <EFA18B49-FDBB-43C6-AB29-008C15C1F389@fugue.com> <CANgMM_BYjZZyMuPjJWcO32AK+VRWmACDCb-6KoTR6FbJbBtGaw@mail.gmail.com> <93D40BA5-EFED-4A36-B575-A3ABF537BFBE@fugue.com>
In-Reply-To: <93D40BA5-EFED-4A36-B575-A3ABF537BFBE@fugue.com>
From: Venkataratnam Naidu <ratnameee@gmail.com>
Date: Tue, 19 May 2020 20:25:11 +0530
Message-ID: <CANgMM_AdczM2THNbzLtmqat16LAjqZn+zm8mfZLOYJ8sadQpQQ@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: dhcwg@ietf.org
Content-Type: multipart/alternative; boundary="000000000000109ada05a60178ee"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/ZhDNJHQLQ0oSEc5xD4imV7umd8c>
Subject: Re: [dhcwg] Regarding DHCP Discover with Dest Ip as subnet broadcast
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 19 May 2020 14:55:27 -0000

Hi Ted Lemon,

Thank you for your valuable feedback.

Regards,
Venkat.

On Mon, May 18, 2020 at 10:16 PM Ted Lemon <mellon@fugue.com> wrote:

> On May 18, 2020, at 12:23 PM, Venkataratnam Naidu <ratnameee@gmail.com>
> wrote:
>
> Thank you for the reply.  Dhcp client using 255.255.255.255 always works.
> But wanted to know the dhcp server behavior when it receives
> Discover/Request with below. And also would like to know any dhcp-client
> implementations using the "subnet broadcast" as destination ip.
>
>
> If you don’t see the behavior called out explicitly in the spec, you
> should not count on there being any standard behavior.  No correctly
> implemented client will use the subnet broadcast address, because this will
> not work in all cases. Some client that isn’t able to use the link-local
> broadcast may use subnet broadcast and hope for the best, but you can
> assume that there will be cases where this definitely will not work. If the
> client tries to do anything other than DHCPINFORM this way, there is a good
> chance that the DHCP server will guess the wrong subnet and give an address
> that won’t work. Or it might work just fine. But using the 255.255.255.255
> broadcast is required for broadcast packets, not optional.
>
> The DHCP server is permitted to unicast its response, and a client with no
> address listening on 0.0.0.0 is expected to handle this correctly.
>
>