Re: [dhcwg] Comments - draft-ietf-dhc-l2ra-extensions-00

Bharat Joshi <bharat_joshi@infosys.com> Tue, 21 October 2008 09:12 UTC

Return-Path: <dhcwg-bounces@ietf.org>
X-Original-To: dhcwg-archive@megatron.ietf.org
Delivered-To: ietfarch-dhcwg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 08FD23A6A71; Tue, 21 Oct 2008 02:12:04 -0700 (PDT)
X-Original-To: dhcwg@core3.amsl.com
Delivered-To: dhcwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 350E13A6A71 for <dhcwg@core3.amsl.com>; Tue, 21 Oct 2008 02:12:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.481
X-Spam-Level:
X-Spam-Status: No, score=-0.481 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, RELAY_IS_220=2.118]
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 DO6O1w6cBNdF for <dhcwg@core3.amsl.com>; Tue, 21 Oct 2008 02:12:02 -0700 (PDT)
Received: from Kecgate03.infosys.com (kecgate03.progeon.com [220.227.179.21]) by core3.amsl.com (Postfix) with ESMTP id 79CF03A6869 for <dhcwg@ietf.org>; Tue, 21 Oct 2008 02:12:01 -0700 (PDT)
X-TM-IMSS-Message-ID: <064eab780001a052@infosys.com>
Received: from blrkechub02.ad.infosys.com ([10.66.236.42]) by infosys.com ([220.227.179.21]) with ESMTP (TREND IMSS SMTP Service 7.0; TLS: TLSv1/SSLv3,128bits,RC4-MD5) id 064eab780001a052 ; Tue, 21 Oct 2008 14:42:45 +0530
Received: from BLRKECMBX02.ad.infosys.com ([10.66.236.22]) by blrkechub02.ad.infosys.com ([10.66.236.42]) with mapi; Tue, 21 Oct 2008 14:43:11 +0530
From: Bharat Joshi <bharat_joshi@infosys.com>
To: "David W. Hankins" <David_Hankins@isc.org>, DHC WG <dhcwg@ietf.org>
Date: Tue, 21 Oct 2008 14:43:09 +0530
Thread-Topic: [dhcwg] Comments - draft-ietf-dhc-l2ra-extensions-00
Thread-Index: AckwjJnc5DQ9xjFJTjy7s2C8dDfdLgCzs+Dw
Message-ID: <31D55C4D55BEED48A4459EB64567589A0CB9657125@BLRKECMBX02.ad.infosys.com>
References: <D9872168DBD43A41BD71FFC4713274D405C71EFD@xmb-ams-33b.emea.cisco.com> <D9872168DBD43A41BD71FFC4713274D403E86140@xmb-ams-33b.emea.cisco.com> <7221E17E68B1A944ADCE8A83364DBEE615D5B4BE8F@BLRKECMBX01.ad.infosys.com> <20081017191426.GD5157@isc.org>
In-Reply-To: <20081017191426.GD5157@isc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
MIME-Version: 1.0
Subject: Re: [dhcwg] Comments - draft-ietf-dhc-l2ra-extensions-00
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: dhcwg-bounces@ietf.org
Errors-To: dhcwg-bounces@ietf.org

David,

   Please see my response in line.

Regards,
Bharat

> > Pavan> This problem can be solved in 2 ways. 1) Obsolte the broadcast
> flag 2) Use unicast option
>
> Maybe I am confused; the unicast option is a DHCPv6 feature, the
> broadcast flag is a DHCPv4 (bootp header) feature?

Pavan meant the unicast hardware sub-option we have proposed in layer 2 Relay Agent extension draft.

> > To do option 1 we have to formally obsolte the same. Option 2 is a
> cleaner solution for RA to pick up the address given in the option and
> unicast it back. Either way, it has to come through a draft and get WG
> approval. Ignoring broadcast flag otherwise is not DHCP standard
> compliant.
>
>
> Presuming DHCPv4 contextually; DHCPv4 agents may, at their ability,
> unicast or broadcast.  The only thing that is certain is that if the
> broadcast flag is set, they MUST broadcast.  With the broadcast flag
> cleared (indicating desire to unicast), they may still broadcast if
> they cannot unicast-without-arp (for example).
>
> Modern day networks realistically have software support for unicast.
> It is very rare to find instances where broadcast replies are
> actually used, excepting of course now that Vista sets the broadcast
> flag.  Even where DHCP server software is running on 'odd' server
> hardware (lacking sufficient raw packet support), a modern relay agent
> can be used to bridge the gap.
>
> So this is a condition that I think "IETF DHCP Extensions" must
> formally support, even if it hopefully has very little, if any,
> actual use.  Replies may be broadcast to the L2RA no matter what
> we do.

Ok.

> An area where L2RA can and should extend this featureset is in a
> missing indication between the DHCP Agent and the L2RA.
>
> The broadcast flag properly indicates the client's needs, meaning
> between the L2RA and the client.  The DHCPv4 protocol is missing a
> field that hints at the path between the server-side DHCP agent and
> L2RA.
>
> This could be solved with a relay agent information option scoped
> broadcast-request flag (perhaps extending the 'flags' option).
>
> The DHCP agent would use the relay agent information flags option
> contents to deliver the packet to the L2RA, which would use the
> bootp header flag to deliver to the client (limiting the broadcast
> to their specific port).

This is a very good idea. Let me rephrase it and let me know if my understanding of what you are proposing is correct.

L2 RA sets a flag [other than the broadcast flag] if it wants the reply to be unicast to him. DHCP server [if there is no layer 3 relay agent] or Layer 3 Relay Agent always looks at this flag and if the flag is clear, it unicast the message to the L2 RA. L2 RA looks at the broadcast flag and broadcast/unicast DHCP reply accordingly. This looks good.

One question remains. Is it enough if L3 RA [or DHCP server if L3 RA is not there] unicast the DHCP reply to hardware address available from the DHCP message's chadd field? Or we need some mechanism where L2 RA tells L3 RA [or DHCP server] as to what hardware address to use to unicast a DHCP reply message to him?

> > Woj> Unless we have a good reason for it to cache, I'd say it should go.
>
> Now that I consider it, I think there is a lease-time associated with
> active assignments, and no expiration time associated with inactive
> assignments.  To these ends, caching negative replies is probably
> actively harmful; it could be assigned at any moment, including the
> next nanosecond.

Yes. We completely agree. This was one of the reasons why we removed it from 'query-by-remote-id' draft. We will remove it from this draft as well.

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www.ietf.org/mailman/listinfo/dhcwg