Re: [Idr] Question on forwarding behavior in draft-ietf-idr-flowspec-redirect

"Simpson, Adam (Adam)" <adam.simpson@alcatel-lucent.com> Thu, 08 August 2013 18:45 UTC

Return-Path: <adam.simpson@alcatel-lucent.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2B0D11E8214 for <idr@ietfa.amsl.com>; Thu, 8 Aug 2013 11:45:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 zJdfK1vZgljb for <idr@ietfa.amsl.com>; Thu, 8 Aug 2013 11:45:34 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id B7FBC11E8150 for <idr@ietf.org>; Thu, 8 Aug 2013 11:45:32 -0700 (PDT)
Received: from us70uusmtp3.zam.alcatel-lucent.com (h135-5-2-65.lucent.com [135.5.2.65]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r78IjV4F013495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 8 Aug 2013 13:45:31 -0500 (CDT)
Received: from US70UWXCHHUB01.zam.alcatel-lucent.com (us70uwxchhub01.zam.alcatel-lucent.com [135.5.2.48]) by us70uusmtp3.zam.alcatel-lucent.com (GMO) with ESMTP id r78IjUrv004662 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 8 Aug 2013 14:45:31 -0400
Received: from US70TWXCHMBA09.zam.alcatel-lucent.com ([169.254.3.100]) by US70UWXCHHUB01.zam.alcatel-lucent.com ([135.5.2.48]) with mapi id 14.02.0247.003; Thu, 8 Aug 2013 14:45:31 -0400
From: "Simpson, Adam (Adam)" <adam.simpson@alcatel-lucent.com>
To: Robert Raszuk <robert@raszuk.net>
Thread-Topic: [Idr] Question on forwarding behavior in draft-ietf-idr-flowspec-redirect
Thread-Index: AQHOlGd1cAe6HDXXbUqplfVCm2LmAw==
Date: Thu, 08 Aug 2013 18:45:30 +0000
Message-ID: <CE295DC1.2C8FA%adam.simpson@alcatel-lucent.com>
In-Reply-To: <CA+b+ERkUps3V3K_hz4jr7uJgGHZt+_krejTbtFuqUapCoJSnSw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.3.6.130613
x-originating-ip: [135.5.27.16]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <F34A4FA292CA8B408107D6434013B0A5@exchange.lucent.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Cc: "idr@ietf.org" <idr@ietf.org>
Subject: Re: [Idr] Question on forwarding behavior in draft-ietf-idr-flowspec-redirect
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Aug 2013 18:45:39 -0000

Hi Robert,

Thanks for the pointer to the BGP vector routing draft. I agree it could
be complementary (but not a complete alternative) to the solution we are
proposing. Let me discuss this with the other authors.

-Adam

On 2013-08-07 11:02 AM, "Robert Raszuk" <robert@raszuk.net> wrote:

>And for the draft-simpson-idr-flowspec-redirect during last IETF there
>were number of corridor discussions that there are scenarios where
>flowspec could highly benefit if we would attach BGP Vector Node Path
>Attribute as described in draft-patel-raszuk-bgp-vector-routing-00.
>
>Hence it would be perhaps beneficial to talk to authors of
>draft-simpson-idr-flowspec-redirect in consideration of using more
>general solution to the problem they expressed and replaced proposed
>ext community with BGP Vector Node attribute.
>
>Best regards,
>R.
>
>
>> On Wed, Aug 7, 2013 at 4:54 PM, Robert Raszuk <robert@raszuk.net> wrote:
>> Hi Jeff & Adam,
>>
>> Reading via your mails I am a bit confused if you are talking about
>> "match" or "actions".
>>
>> "Redirect" is an action and 5575 just specifies redirect to a VRF
>> based on the RT. Such VRF can have any AFI/SAFI enabled and in
>> particular can be a start of encap (of any form) to some external
>> device (very often traffic deep inspection/screening).
>>
>> While we are discussing some other forms of actions but so far this is
>> out of scope of proposed documents.
>>
>> Reg "match" the MP_REACH next hop field is of the length zero.
>>
>> Rgs,
>> R.
>>
>>> On Wed, Aug 7, 2013 at 3:46 AM, Simpson, Adam (Adam)
>>><adam.simpson@alcatel-
>>> lucent.com> wrote:
>>> Hi Jeff,
>>>
>>> Somehow your email escaped our notice and we neglected to respond.
>>> Apologies for that..
>>>
>>> Your observation is valid. The way we have chosen to encode the
>>>redirect
>>> destination means that if we want to send IPv6 traffic over an IPv4
>>>tunnel
>>> we need to express the IPv4 tunnel destination in a special way (e.g.
>>>an
>>> IPv4-mapped IPv6 address) and vice versa; if that is our intent it
>>>should
>>> of course be defined in the draft and we will certainly look into that
>>>for
>>> the next revision. The alternative is to encode the tunnel destination
>>> (and possibly associated tunnel parameters) using an entirely new path
>>> attribute but we thought that was overkill for the main use cases we
>>>were
>>> targeting.
>>>
>>> Regards,
>>> Adam
>>>
>>>
>>> On 2013-06-18 3:51 PM, "Jeffrey Haas" <jhaas@pfrc.org> wrote:
>>>
>>>>Authors,
>>>>
>>>>:   When a BGP speaker receives an UPDATE message with the redirect-to-
>>>>:   IP extended community it is expected to create a traffic filtering
>>>>:   rule for every flow-spec NLRI in the message that has this path as
>>>>:   its best path. The filter entry matches the IP packets described in
>>>>:   the NLRI field and redirects them (C=0) or copies them (C=1)
>>>>towards
>>>>:   the IPv4 or IPv6 address specified in the 'Network Address of Next-
>>>>:   Hop' field of the associated MP_REACH_NLRI. More specifically: if
>>>>an
>>>>:   IPv4 [or IPv6] packet with destination address D that is normally
>>>>:   forwarded to a next-hop A matches a filter entry of the type
>>>>:   described above it MUST instead be redirected (C=0) or mirrored
>>>>:   (C=1) to next-hop B, where B is found by FIB lookup of the IPv4 [or
>>>>:   IPv6] address contained in the MP_REACH_NLRI next-hop field (i.e. a
>>>>:   longest-prefix-match lookup). Signaling and applying constraints
>>>>:   beyond longest-prefix-match on the types of interfaces or tunnels
>>>>:   that can be used as the redirection next-hop B are not precluded by
>>>>:   this specification but are nevertheless outside its scope.
>>>>
>>>>The text above raises some question with regard to mixed-address family
>>>>behavior.  To illustrate, we have four examples of IP-based forwarding:
>>>>
>>>>*IPv4 traffic over IPv4 forwarding
>>>> IPv6 traffic over IPv4 forwarding
>>>> IPv4 traffic over IPv6 forwarding
>>>>*IPv6 traffic over IPv6 forwarding
>>>>
>>>>The cases noted with an asterisk aren't exciting - you'd expect them to
>>>>just
>>>>work regardless of whether the nexthop sent in the flowspec route is
>>>>either
>>>>an adjacent IP system or a tunnel covering the same address family.
>>>>
>>>>The other two cases are the interesting ones.
>>>>
>>>>One normally wouldn't expect IPv6 traffic to be IP forwarded to an IPv4
>>>>nexthop, or vice-versa.  When the nexthop actually maps to a tunnel
>>>>(e.g.
>>>>MPLS), the case is perhaps a bit more ambiguous: Does the egress of the
>>>>tunnel inspect the traffic to determine the proper ethertype for the
>>>>traffic?
>>>>
>>>>This is admittedly not an immediate problem today.  5575 and the
>>>>matching
>>>>extension to do IPv6 currently expect the address family of the
>>>>flowspec
>>>>route to have an appropriate same-family MP-NEXTHOP.
>>>>
>>>>Put a somewhat different way, if the expected behavior is that you'll
>>>>always
>>>>have a nexthop for redirect that is of the same address family as the
>>>>flowspec route, we're perhaps done.
>>>>
>>>>Until we decide we want to do flowspec for something besides plain IP.
>>>>
>>>>But that is perhaps a different problem to worry about later.
>>>>
>>>>-- Jeff
>>>>_______________________________________________
>>>>Idr mailing list
>>>>Idr@ietf.org
>>>>https://www.ietf.org/mailman/listinfo/idr
>>>
>>> _______________________________________________
>>> Idr mailing list
>>> Idr@ietf.org
>>> https://www.ietf.org/mailman/listinfo/idr