RE: [dhcwg] Question to DHCPv6 Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-requirements

Vasilenko Eduard <vasilenko.eduard@huawei.com> Fri, 09 October 2020 09:57 UTC

Return-Path: <vasilenko.eduard@huawei.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35E153A0E31; Fri, 9 Oct 2020 02:57:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 3GoomeKFAMLb; Fri, 9 Oct 2020 02:57:28 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9DF6A3A0DD6; Fri, 9 Oct 2020 02:57:28 -0700 (PDT)
Received: from lhreml713-chm.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 264F0410555E5A7260D2; Fri, 9 Oct 2020 10:57:27 +0100 (IST)
Received: from msceml704-chm.china.huawei.com (10.219.141.143) by lhreml713-chm.china.huawei.com (10.201.108.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Fri, 9 Oct 2020 10:57:26 +0100
Received: from msceml703-chm.china.huawei.com (10.219.141.161) by msceml704-chm.china.huawei.com (10.219.141.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Fri, 9 Oct 2020 12:57:26 +0300
Received: from msceml703-chm.china.huawei.com ([10.219.141.161]) by msceml703-chm.china.huawei.com ([10.219.141.161]) with mapi id 15.01.1913.007; Fri, 9 Oct 2020 12:57:26 +0300
From: Vasilenko Eduard <vasilenko.eduard@huawei.com>
To: "ianfarrer@gmx.com" <ianfarrer@gmx.com>
CC: dhcwg <dhcwg@ietf.org>, v6ops list <v6ops@ietf.org>, 6man <ipv6@ietf.org>
Subject: RE: [dhcwg] Question to DHCPv6 Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-requirements
Thread-Topic: [dhcwg] Question to DHCPv6 Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-requirements
Thread-Index: AQHWnRHqdjfsc/ji5E+iSV9wwVVFbKmPA3rQ
Date: Fri, 09 Oct 2020 09:57:26 +0000
Message-ID: <e6a27b2d0b5649bda13ee513f6a3a2e2@huawei.com>
References: <5F6947F2-F7DF-4907-8DD5-28C2B20A91DE@gmx.com> <CAFU7BAT87uhUKZM-G9MjCgtmGbdCwXorP3SfMJm7_Ax7pvwDjg@mail.gmail.com>
In-Reply-To: <CAFU7BAT87uhUKZM-G9MjCgtmGbdCwXorP3SfMJm7_Ax7pvwDjg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.194.210]
Content-Type: text/plain; charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/AB0cKRW3u4Sb1amkrRytUQysHlk>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Oct 2020 09:57:30 -0000

Hi all,
I believe that the current text behind requirement "R-4" is not accurate.
it is not possible to install the route to just multi-access interface (Ethernet). Any vendor software would refuse to do it for the good reason.
In that case, it should be not interface, but "next hop" (MAC address should be included).
IMHO: requirement should be improved: "Interface" should be replaced by "next-hop"

Then it would be the real challenge to check that traffic has been received from specific MAC.
It is not uRPF check, because RFP is about IP addresses only.
Moreover, filtering should be done on the "destination IP" & "source MAC" (logical "AND")
I did google a little - I have found no vendors implemented RPF check at MAC layer.
Hence, this requirement is the strong new feature request.
Probably, it would be ignored by vendors anyway.
IMHO: if you could correct it to "nex-hop" then you would keep this "good wish" in the document. Just change "MUST" to "MAY".

PS: Yea, DHCP is not routing protocol:-(
Eduard
> -----Original Message-----
> From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Jen Linkova
> Sent: 8 октября 2020 г. 4:25
> To: ianfarrer@gmx.com
> Cc: dhcwg <dhcwg@ietf.org>; v6ops list <v6ops@ietf.org>; 6man
> <ipv6@ietf.org>
> Subject: Re: [dhcwg] Question to DHCPv6 Relay Implementors regarding draft-
> ietf-dhc-dhcpv6-pd-relay-requirements
> 
> On Wed, Oct 7, 2020 at 9:25 PM <ianfarrer@gmx.com> wrote:
> > We are currently finishing WGLC for this draft. It describes
> > requirements for a 'DHCPv6 Delegating Relay' - this is a router functioning as
> the L3 edge and DHCPv6 relay (only) with prefix delegation. This is a common
> deployment scenario, but RFC3633/8415 only really describes PD using a
> Delegating Router - i.e the L3 edge also functions as a DHCPv6 server with no
> relay. When the relay and server functions are performed by separate devices a
> number of problems with how relays behave have been observed, so this
> document addresses them.
> >
> > During WGLC for this, Ole raised a comment related to one of the routing
> requirements:
> >
> > R-4:    If the relay has learned a route for a delegated prefix via a
> >            given interface, and receives traffic on this interface with
> >            a destination address within the delegated prefix (that is
> >            not an on-link prefix for the relay), then it MUST be
> >            dropped.  This is to prevent routing loops.  An ICMPv6 Type
> >            1, Code 6 (Destination Unreachable, reject route to
> >            destination) error message MAY be sent back to the client.
> >            The ICMP policy SHOULD be configurable.
> >
> > The problem that this is trying to solve is:
> >
> > 3.5.  Forwarding Loops between Client and Relay
> 
> I might be missing smth but...
> Let's say I have a relay and it's 'south' (client-facing) interface is connected to a
> switch. The client AND second device (another router or a host) are connected
> to the same segment.
> The client gets a prefix, the relay 'learned' (or shall we call it
> 'install'?) the route for the delegated prefix pointing to its 'south'
> interface with the client address as a next-hop.
> What would happen if the *second* device sends traffic towards the delegated
> prefix? As that device is usig the relay as its default gateway, the traffic would
> be sent there.
> If I read the draft correctly, instead of forwarding the traffic and maybe sending
> the redirect, the relay is expected to drop it?
> 
> --
> SY, Jen Linkova aka Furry
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------