Re: [mpls-tp] Discrepencies in FEC Validation procedure in RFC 4379
Babu Subramani <sbabufss@gmail.com> Fri, 18 June 2010 08:11 UTC
Return-Path: <sbabufss@gmail.com>
X-Original-To: mpls-tp@core3.amsl.com
Delivered-To: mpls-tp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
with ESMTP id 52CE63A6A09; Fri, 18 Jun 2010 01:11:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.069
X-Spam-Level:
X-Spam-Status: No, score=-1.069 tagged_above=-999 required=5 tests=[AWL=-0.771,
BAYES_00=-2.599, HTML_MESSAGE=0.001, MANGLED_TOOL=2.3]
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 ae59KYmaeBXr;
Fri, 18 Jun 2010 01:11:28 -0700 (PDT)
Received: from mail-yw0-f194.google.com (mail-yw0-f194.google.com
[209.85.211.194]) by core3.amsl.com (Postfix) with ESMTP id BF5DF3A6A04;
Fri, 18 Jun 2010 01:11:27 -0700 (PDT)
Received: by ywh32 with SMTP id 32so629053ywh.5 for <multiple recipients>;
Fri, 18 Jun 2010 01:11:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:received:in-reply-to
:references:date:message-id:subject:from:to:content-type;
bh=VlUcS4DEAlaTELC3or7/CSUEZebG/+JYvyQFcMZgJX0=;
b=APjDd1Xu7Q6B36pTTpO7ZoEdEWwNx+8FJcemX11hs6hTS5aKtOH0VhHEC9cGR7uwza
2BgDUVviHE4RsixYSsqjQo45gUDzKV+N/ZILZgN4If1oLJwJ4glcIVGk9jluKMdBXssS
4NxJgKd6nt1tDJTBaqR2cvfVyXXr0EoT0Ntuc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
b=xOcKj/1BIM0WmVB6UrBEtyvgXUzt6mHZ/4QwmubLIKH74zVgjnqpK+8Omt4opqnfcK
mfPvUdgwCiNOF6SAjqKkzmZldCq4Z+tebumkB7j/+MSysz79cjedQzJKnj5qP8AIPVEW
L6Jjeo9Q06SeX7NFNkQOwSkWYgRRpuk6EJ6Vs=
MIME-Version: 1.0
Received: by 10.229.91.66 with SMTP id l2mr297078qcm.273.1276848690179;
Fri, 18 Jun 2010 01:11:30 -0700 (PDT)
Received: by 10.229.70.200 with HTTP; Fri, 18 Jun 2010 01:11:29 -0700 (PDT)
In-Reply-To: <05542EC42316164383B5180707A489EE1D66F18FA7@EMBX02-HQ.jnpr.net>
References: <AANLkTimhFiuAgCaZASkpm9JcWDsDdbPB5NQe2Z_0GkjF@mail.gmail.com>
<05542EC42316164383B5180707A489EE1D66F18FA7@EMBX02-HQ.jnpr.net>
Date: Fri, 18 Jun 2010 13:41:29 +0530
Message-ID: <AANLkTim6hLE4ParJzE4JnyApbSfSnnL6vnc0_WL-e-W1@mail.gmail.com>
From: Babu Subramani <sbabufss@gmail.com>
To: Nitin Bahadur <nitinb@juniper.net>, George Swallow <swallow@cisco.com>,
mpls@ietf.org, kireeti@juniper.net, mpls-tp@ietf.org
Content-Type: multipart/alternative; boundary=0016363b82de9c2fdc048949802a
Subject: Re: [mpls-tp] Discrepencies in FEC Validation procedure in RFC 4379
X-BeenThere: mpls-tp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: MPLS-TP Mailing list <mpls-tp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mpls-tp>,
<mailto:mpls-tp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mpls-tp>
List-Post: <mailto:mpls-tp@ietf.org>
List-Help: <mailto:mpls-tp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls-tp>,
<mailto:mpls-tp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jun 2010 08:11:29 -0000
Hi George/Kireeti, Could you please clarify these discrepencies in RFC 4379? Thanks Babu On Fri, Jun 18, 2010 at 6:10 AM, Nitin Bahadur <nitinb@juniper.net> wrote: > Hi Babu, > > See NB> below for answer to question # 3... > For 1) & 2).....a cursory look at the RFC indicates potential procedural > issues. George or someone else can > comment on that. IMO, the procedures outlined are a guidance for an > implementation to do the right > thing. I think you already know what the right thing to do is. > > Thanks > Nitin > > Does the FEC Validation algorithm given in RFC 4379 work only for PHP > case? If the answer is 'No', then how the below > step of the algorithm will work for the given scenario in case 1? > > The fourth step in section 4.4.1 (FEC Validation) in the RFC 4379 is given > below, > > *“If the label mapping for FEC is Implicit Null, set FEC-status to 2 and > proceed to step 5. > Otherwise, if the label mapping for FEC is Label-L, proceed to step 5. > Otherwise, set FEC-return-code to 10 ("Mapping for this FEC is not the > given label at stack-depth"), > set FEC-status to 1, and return.”* > > > 1) PHP is disabled, the egress router receives the complete label stack > As per the above algorithm, When performing FEC Validation at egress > router, label mapping for the FEC > will not match with Implicit Null. Hence it will go to else condition which > also will not match since the Label-L > is always initialized to Implicit Null when Label stack depth becomes zero > at step 3 (Label Validation) in section 4.4. > > In this case, it will always send the echo reply with return code set to 10 > (“Mapping for this FEC is not the given label > at stack-depth”) which is not valid. > > 2) On successful verification of protocol in section 4.4.1 (FEC > validation), FEC-return-code > is not set but in Egress FEC validation procedure the Best-return-code is > getting overwritten by > value in FEC-return-code (which was initialized to zero in 4.4.1). Hence > the echo reply will always > be sent with the return code set to 0. Is this correct? > > > 3) In trace route mode if the interface to the Downstream LSR is unnumbered > then the Downstream > Mapping TLV is filled as per the below procedure given in RFC 4379. > > *“If the interface to the downstream LSR is unnumbered, the Address > Type MUST be IPv4 Unnumbered or IPv6 Unnumbered, the Downstream IP > Address MUST be the downstream LSR’s Router ID, and the Downstream > Interface Address MUST be set to the index assigned by the > upstream LSR to the interface.”* > > As the Downstream Interface address in the received packet is interface > index assigned by the > upstream LSR for that interface, how does the Interface validation > performed in the Downstream LSR? > > NB> In a subsequent paragraph..... > > If an LSR does not know the IP address of its neighbor, then it > MUST set the Address Type to either IPv4 Unnumbered or IPv6 > Unnumbered. For IPv4, it must set the Downstream IP Address to > 127.0.0.1; for IPv6 the address is set to 0::1. > > If an LSR receives an Echo Request packet with either of these > addresses in the Downstream IP > Address field, this indicates that it MUST bypass interface > verification but continue with label validation. > >
- Re: [mpls-tp] Discrepencies in FEC Validation pro… Babu Subramani