Re: [dhcwg] Ben Campbell's Discuss on draft-ietf-dhc-relay-port-08: (with DISCUSS and COMMENT)

"Naiming Shen (naiming)" <naiming@cisco.com> Thu, 30 November 2017 05:36 UTC

Return-Path: <naiming@cisco.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 E06FE1271DF; Wed, 29 Nov 2017 21:36:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.519
X-Spam-Level:
X-Spam-Status: No, score=-14.519 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 R0TpuYX1Rbbp; Wed, 29 Nov 2017 21:36:47 -0800 (PST)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBC59124207; Wed, 29 Nov 2017 21:36:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11494; q=dns/txt; s=iport; t=1512020207; x=1513229807; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=66dhhx5QpOi2Kdal64gjCfQtA6LP+Ggg8Cgga50JGPY=; b=aopWo9Sl2QX28KV8tcCSbQ1SAWJZ5ociK+No0E87LGN8p6VZ7uRe9pjN 6Ngfg1MkWcFgdxU9in1Jj8suYJEZwEl34qsRlaq5yVGupSGnkCdEf5Rsd 5YcpRuPksGw5jYKpspD+5nQNsdVe0hNY2Uh8LLjp2ypEJPsUxTOXSSVOa Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CMAgA2mB9a/4wNJK1bGQEBAQEBAQEBAQEBAQcBAQEBAYJKRC6BVCcHg3iZEZMohUuCEQqFOwIahHtAFwEBAQEBAQEBAWsohSAGI1YQAgEIPwMCAgIwFBECBA4FiT5kpzCCJ4plAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYNBggmDaIMChQqDKzGCMgWZLYkmApUOk1KWFQIRGQGBOQEgATeBUW8VZAGBfoMHgU53iHOBFAEBAQ
X-IronPort-AV: E=Sophos; i="5.45,340,1508803200"; d="scan'208,217"; a="38241883"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Nov 2017 05:36:45 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by alln-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id vAU5ajWd004292 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 30 Nov 2017 05:36:45 GMT
Received: from xch-rcd-004.cisco.com (173.37.102.14) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 29 Nov 2017 23:36:44 -0600
Received: from xch-rcd-004.cisco.com ([173.37.102.14]) by XCH-RCD-004.cisco.com ([173.37.102.14]) with mapi id 15.00.1320.000; Wed, 29 Nov 2017 23:36:44 -0600
From: "Naiming Shen (naiming)" <naiming@cisco.com>
To: Ben Campbell <ben@nostrum.com>
CC: Ted Lemon <mellon@fugue.com>, The IESG <iesg@ietf.org>, "draft-ietf-dhc-relay-port@ietf.org" <draft-ietf-dhc-relay-port@ietf.org>, dhcwg <dhcwg@ietf.org>, "dhc-chairs@ietf.org" <dhc-chairs@ietf.org>
Thread-Topic: [dhcwg] Ben Campbell's Discuss on draft-ietf-dhc-relay-port-08: (with DISCUSS and COMMENT)
Thread-Index: AQHTaVYtuZUuArhG2US4SOjv69UZUKMsQUWAgAAxPACAAAdOgIAADIKAgAADyICAAAYPAIAABGSAgAABhACAAAJIAIAACGyAgAARWQCAABozAA==
Date: Thu, 30 Nov 2017 05:36:44 +0000
Message-ID: <D3EEEC74-416D-40C9-8CBC-DE8D30385A1C@cisco.com>
References: <151198969282.31355.16877065112899804068.idtracker@ietfa.amsl.com> <200CE2CC-D6D1-40BA-843A-1193DFFDEE74@fugue.com> <4364B55F-0BC5-42B9-965D-FEF9D9AED9C5@nostrum.com> <1F317916-E0C1-4EF5-A9C8-448FF02D3525@fugue.com> <001E840F-75A6-4D68-B029-B3665B066A45@cisco.com> <8563F7DE-86CC-45D9-BF2B-6CCB0AC292B8@fugue.com> <026179B8-61B6-4430-AA5C-A8B1ADA2CED5@cisco.com> <EC108FCE-E299-49EC-BBEF-8E3928036F39@fugue.com> <C03BD668-FD36-4F32-B129-11CFFAB3FD79@cisco.com> <FC542504-04F9-4600-93DA-5EA1E4BAD737@nostrum.com> <6D4FEA3C-F966-415A-903C-F3FB6C69386F@cisco.com> <1DEBFAC1-0E43-4E41-99B1-D01EE85005B5@nostrum.com>
In-Reply-To: <1DEBFAC1-0E43-4E41-99B1-D01EE85005B5@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.39.58]
Content-Type: multipart/alternative; boundary="_000_D3EEEC74416D40C98CBCDE8D30385A1Cciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/oEgj43UeyGseL0G1anRfAUay-k8>
Subject: Re: [dhcwg] Ben Campbell's Discuss on draft-ietf-dhc-relay-port-08: (with DISCUSS and COMMENT)
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 30 Nov 2017 05:36:49 -0000

Ha, I missed that. This paragraph I took from AD review suggested text, and
it just means the implementation can have configuration knob to either enable
this feature by specifying a non-DHCP port number or disable that and leave
the port number to be at default:-)

I’ll modify the text so that is more readable. thanks.

- Naiming

On Nov 29, 2017, at 8:02 PM, Ben Campbell <ben@nostrum.com<mailto:ben@nostrum.com>> wrote:



On Nov 29, 2017, at 9:00 PM, Naiming Shen (naiming) <naiming@cisco.com<mailto:naiming@cisco.com>> wrote:


Hi Ben,


On Nov 29, 2017, at 6:30 PM, Ben Campbell <ben@nostrum.com<mailto:ben@nostrum.com>> wrote:

Thanks for the updates.

In 5.4, you added advice to the first paragraph that one shouldn’t turn this on unless the upstream devices support it. That’s good. But I still wonder about the intent of the second paragraph. Is the intent that the relay listens for messages on _both_ ports? Or that it could be configure to listen on either? If a message arrives on the standard port in as a result of one from a non-standard port, is it valid?

I think it's up to implementation. It is possible to listen on both ports, especially in ipv4 DHCP,
it has to listen on port 67 for client DHCP messages. For an implementation, if it configures
the relay-port feature and but receives the server relay-reply message on port 67, should it
drop or should it just log an error and keep handling this? either way is fine I think.

But from the large scale relay box implementation case, say there are three relay processes handling
the DHCP relay on the same box, there can be a default/central DHCP process just to receive on the
port 67, then dispatch the work to one of the relay-agents in round-robin fashion. In such a setup, if the
server does not support this feature, and it sends back on port 67, this central DHCP process may not
have information on which relay-agent to give it to. If it does, then that defeats the purpose of multiple
relay-agents on this box.

So to your question, it depends on the implementation and operational needs.

Thanks, and that seems reasonable. But I’m still unclear on the intent of that paragraph. Can you elaborate?

Ben.