RE: MAC route with IP

Jakob Heitz <jakob.heitz@ericsson.com> Tue, 13 May 2014 16:49 UTC

Return-Path: <jakob.heitz@ericsson.com>
X-Original-To: l2vpn@ietfa.amsl.com
Delivered-To: l2vpn@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 091C21A016A for <l2vpn@ietfa.amsl.com>; Tue, 13 May 2014 09:49:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 cMZkk1eubdD6 for <l2vpn@ietfa.amsl.com>; Tue, 13 May 2014 09:49:37 -0700 (PDT)
Received: from usevmg20.ericsson.net (usevmg20.ericsson.net [198.24.6.45]) by ietfa.amsl.com (Postfix) with ESMTP id B5C501A0173 for <l2vpn@ietf.org>; Tue, 13 May 2014 09:49:08 -0700 (PDT)
X-AuditID: c618062d-f79c96d000001cfc-b0-5371fdab12b6
Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 5B.C2.07420.BADF1735; Tue, 13 May 2014 13:10:35 +0200 (CEST)
Received: from EUSAAMB109.ericsson.se ([147.117.188.126]) by EUSAAHC001.ericsson.se ([147.117.188.75]) with mapi id 14.03.0174.001; Tue, 13 May 2014 12:49:01 -0400
From: Jakob Heitz <jakob.heitz@ericsson.com>
To: "Ali Sajassi (sajassi)" <sajassi@cisco.com>, Antoni Przygienda <antoni.przygienda@ericsson.com>, "l2vpn@ietf.org" <l2vpn@ietf.org>
Subject: RE: MAC route with IP
Thread-Topic: MAC route with IP
Thread-Index: Ac9tnTVAaQfHHQKqR0C1MGMVDrT48///65IA///deaCAACfogP//2UcQgALDCwCAAEC5AIAAd5lA//9X0YAACDNHcA==
Date: Tue, 13 May 2014 16:49:00 +0000
Message-ID: <2F3EBB88EC3A454AAB08915FBF0B8C7E03056030@eusaamb109.ericsson.se>
References: <2F3EBB88EC3A454AAB08915FBF0B8C7E03055F87@eusaamb109.ericsson.se> <CF9798C1.D39C0%sajassi@cisco.com>
In-Reply-To: <CF9798C1.D39C0%sajassi@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.10]
Content-Type: multipart/alternative; boundary="_000_2F3EBB88EC3A454AAB08915FBF0B8C7E03056030eusaamb109erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsUyuXSPt+7qv4XBBievqFo8/naI3eLd2WYW ByaPKb83snosWfKTKYApissmJTUnsyy1SN8ugSvj9Q6Ogn/nGSu2vXrN3sC4cxtjFyMnh4SA icScNWvYIWwxiQv31rN1MXJxCAkcZZQ4sf0bM4SznFFi5drTTCBVbAI6Et+ud4ElRAQ6GCWe vf7HDJIQFpCT+NxxFKxIREBeovHHWlYIO0ui4fttMJtFQFWic9YNsBpeAV+JZ4++g50hJFAk 0fvjDwuIzSmgL7H0aD/YSYxAJ30/tQasnllAXOLWk/lMEKcKSCzZc54ZwhaVePn4HyuErSQx aek5Voj6fIlPayBu4BUQlDg58wnLBEaRWUhGzUJSNgtJGURcR2LB7k9sELa2xLKFr5lh7DMH HjMhiy9gZF/FyFFanFqWm25ksIkRGEPHJNh0dzDueWl5iFGAg1GJh3fB7IJgIdbEsuLK3EOM 0hwsSuK8BV9ig4UE0hNLUrNTUwtSi+KLSnNSiw8xMnFwSjUwml03YNyTe+wvg1EgT3nuT9cr /CaftZhZDhzNKM5ZLMK05Mgnt2NRrdyS6ZwaIolMj574cH9+kumfsHRR8frpb+Wmplna60Rv DMm/xaC0e/IGJr/d8XYzWGUkgiRvTWzIOfx1XcQUzr8CDPevTAmbrcr1wWLTVOGUmIat83T2 /ZVxrTRctDNQiaU4I9FQi7moOBEAULOQbYICAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/l2vpn/Kxl7scfEpeCAK69cXmwNosCogLc
X-BeenThere: l2vpn@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Layer 2 Virtual Private Networks <l2vpn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/l2vpn/>
List-Post: <mailto:l2vpn@ietf.org>
List-Help: <mailto:l2vpn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 May 2014 16:49:42 -0000

Error handling for the error of receiving different labels: Treat-as-withdraw ?

Thanks,
Jakob.

From: Ali Sajassi (sajassi) [mailto:sajassi@cisco.com]
Sent: Tuesday, May 13, 2014 9:43 AM
To: Jakob Heitz; Antoni Przygienda; l2vpn@ietf.org
Subject: Re: MAC route with IP


The labels should all be the same. In case of EVI-based disposition, the label identifies the EVI and a MAC lookup is performed based on the MAC. Thus, the order of routes in which they are received, doesn't matter.

Cheers,
Ali

From: Jakob Heitz <jakob.heitz@ericsson.com<mailto:jakob.heitz@ericsson.com>>
Date: Tuesday, May 13, 2014 9:37 AM
To: Antoni Przygienda <antoni.przygienda@ericsson.com<mailto:antoni.przygienda@ericsson.com>>, Cisco Employee <sajassi@cisco.com<mailto:sajassi@cisco.com>>, "l2vpn@ietf.org<mailto:l2vpn@ietf.org>" <l2vpn@ietf.org<mailto:l2vpn@ietf.org>>
Subject: RE: MAC route with IP

How do we write code for the receiver if it receives different labels on the different MAC routes?
Say we receive, in order:
MAC1/IP1 Label1
MAC1/no-IP Label2
MAC1/IP2 Label1

The sender might have sent, in order:
MAC1/IP1 Label1
MAC1/IP2 Label1
MAC1/no-IP Label2

A route reflector can reflect routes in a different order than it received them.
Which label should the receiver program?

Thanks,
Jakob.


From: Antoni Przygienda
Sent: Tuesday, May 13, 2014 9:06 AM
To: Ali Sajassi (sajassi); Jakob Heitz; l2vpn@ietf.org<mailto:l2vpn@ietf.org>
Subject: RE: MAC route with IP

inline

From: Ali Sajassi (sajassi) [mailto:sajassi@cisco.com]
Sent: Tuesday, May 13, 2014 8:45 AM
To: Antoni Przygienda; Jakob Heitz; l2vpn@ietf.org<mailto:l2vpn@ietf.org>
Subject: Re: MAC route with IP

Antoni,

From: Antoni Przygienda <antoni.przygienda@ericsson.com<mailto:antoni.przygienda@ericsson.com>>
Date: Sunday, May 11, 2014 11:23 PM
To: Cisco Employee <sajassi@cisco.com<mailto:sajassi@cisco.com>>, Jakob Heitz <jakob.heitz@ericsson.com<mailto:jakob.heitz@ericsson.com>>, "l2vpn@ietf.org<mailto:l2vpn@ietf.org>" <l2vpn@ietf.org<mailto:l2vpn@ietf.org>>
Subject: RE: MAC route with IP

Ali,

there are at least two cases when receiving updates from peers which are tad hairy given the encoding:


1.       We receive a MAC/no-IP  & a set of MAC/IP routes & then someone just withdraws the MAC/no-IP.  It does not seem very logical that the MAC/IP routes are still valid to me or at least that could be emphasized in the draft that they do (i.e. all routes are truly independent).

MAC/IP routes will be independent from MAC-only route. If both are advertised, then withdrawing the MAC/IP route should clean up the ARP table but not remove the entry in the MAC-VRF.
[Tony said] ack, I understood that & the draft read carefully states that in ARP/ND procedures. I would mildly suggest to explicitly state what you write in the draft prominently since this question will come up persistently and misinterpretation of that clause will cause hard-to-track interop problems.


2.       Since we have mac based disposition there is nothing that prevents a neighbor to advertise multiple MAC/IP routes with different labels.  It should obviously not imply that we have to lookup the IP address on the packet (if we even have one) to decide which label is needed.  Should all this labels be considered pointing to the same MAC & equivalent ? Such a condition considered invalid transient and MAC labels for this MAC ignored completely ?  What if we get one route with the label & another without ? We use the label nevertheless for the same MAC ?

The label represents the MAC address in case of label per MAC advertisement. So, even when you advertise multiple IP addresses for the same MAC, they all should use the same label.
[Tony said] the 'should' will not help resolve the possible issue. I would suggest for the draft to clearly state a 'SHOULD' and specify desired behavior when this clause is violated, as in: SHOULD/MAY log an error and MAY use any of the advertised labels.

And my final interesting observation:

               A single primary/single backup case would be simple & easy, the way the protocol spec stands today, I don't think there is anything that prevents it from operating in  multiple-primaries, multiple-backup mode  (as in two guys clear the single-active bits & all other set them) [unless I misunderstood something massively].   Do we load balance the primaries until both fail & then either flood (multiple backups) or fail back on the secondary ?

For a given ES, all PEs should advertise the same redundancy group mode (either all-active or single-active mode) for that ES. Otherwise, an error should be logged.
[Tony said] Again, a 'SHOULD' in the draft would be good as well: "An error MUST be logged"  would be very desirable.

So, I agree with all you say, Ali, it's just I think this things deserve explicit statements in the draft due to potential of causing hard-to-track deployments bugs and therefore easing up the life of the operators chasing stuff like this (e.g. the last one could be a genuine hard-to-track misconfig).