Re: [Idr] Questions on draft-scudder-idr-optional-transitive-01

Mach Chen <mach@huawei.com> Wed, 15 April 2009 04:58 UTC

Return-Path: <mach@huawei.com>
X-Original-To: idr@core3.amsl.com
Delivered-To: idr@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71F403A6891 for <idr@core3.amsl.com>; Tue, 14 Apr 2009 21:58:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.068
X-Spam-Level: ***
X-Spam-Status: No, score=3.068 tagged_above=-999 required=5 tests=[AWL=1.763, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_33=0.6, J_CHICKENPOX_34=0.6, J_CHICKENPOX_83=0.6, RDNS_NONE=0.1]
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 ybq-stRRQnvK for <idr@core3.amsl.com>; Tue, 14 Apr 2009 21:58:31 -0700 (PDT)
Received: from szxga04-in.huawei.com (unknown [119.145.14.67]) by core3.amsl.com (Postfix) with ESMTP id 2C6FE3A6896 for <idr@ietf.org>; Tue, 14 Apr 2009 21:58:31 -0700 (PDT)
Received: from huawei.com (szxga04-in [172.24.2.12]) by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0KI400398LV6OH@szxga04-in.huawei.com> for idr@ietf.org; Wed, 15 Apr 2009 12:59:30 +0800 (CST)
Received: from m55527c ([10.111.12.135]) by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0KI400B0ILV5RX@szxga04-in.huawei.com> for idr@ietf.org; Wed, 15 Apr 2009 12:59:30 +0800 (CST)
Date: Wed, 15 Apr 2009 12:59:28 +0800
From: Mach Chen <mach@huawei.com>
In-reply-to: <613C4A5B-3A8B-47F5-BE0B-D918BCA4543E@juniper.net>
To: "John G. Scudder" <jgs@juniper.net>, Robert Raszuk <robert@raszuk.net>, Dong Jie <dongjie_dj@huawei.com>
Message-id: <C3C852CE458A46BF91A4159352793C57@m55527c>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V14.0.8064.206
X-Mailer: Microsoft Windows Live Mail 14.0.8064.206
Content-type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="response"
Content-transfer-encoding: 7bit
Importance: Normal
X-Priority: 3
X-MSMail-priority: Normal
References: <004201c9b8c8$ff727170$610c6f0a@china.huawei.com> <CD181C1F-1576-469E-962D-DE92921011CE@juniper.net> <D70EC6FCB7DD408EAFA7A76F80F4401D@m55527c> <49E4CEE0.8020607@raszuk.net> <613C4A5B-3A8B-47F5-BE0B-D918BCA4543E@juniper.net>
Cc: idr List <idr@ietf.org>
Subject: Re: [Idr] Questions on draft-scudder-idr-optional-transitive-01
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 15 Apr 2009 04:58:32 -0000

Hi John,

> Folks,
> 
> I think Robert expresses it well when he points out that an important  
> goal of the draft is to be deployable in current networks.  It is  
> important that it not rely on the collaboration of peers in order to  
> be deployed, thus the current flags and their semantics are a given.

I got it.

> 
> IMO it would be a fine idea to start a separate conversation on the  
> suggestion to change the semantics of Partial or standardize a new flag.

OK.


Best regards,

Mach

> 
> Regards,
> 
> --John
> 
> P.S.:  It could also be early to wish a Happy Easter if you're  
> following the Orthodox calendar. :-)
> 
> On Apr 14, 2009, at 1:58 PM, Robert Raszuk wrote:
> 
>> Hi Mach & Dong,
>>
>> I think your suggestion for better way to determine the router at  
>> fault is very valuable and would indeed be very helpful.
>>
>> But in my opinion what this draft focuses on is the least expensive  
>> and as safe as possible while in the same time actually doable way  
>> to address issue in existing networks deployed today. In those we  
>> can not rely on the fact that all of my peers and peers of my peers  
>> will migrate and deploy either new semantics for partial bit setting  
>> and treatment or introduce some other form of malformation signaling.
>>
>> So I would suggest to continue the draft as is and in the same time  
>> start the work on exploring possibilities on better way to signal  
>> the peer if I am at fault or some box few routers down. The real  
>> issue (and perhaps only one) is that the content of the opaque  
>> transitive attribute is unknown to the router not supporting it.  
>> Therefor unless it contains some form of well known per transitive  
>> attribute based checksum it may be difficult to set any flag based  
>> on it's content.
>>
>> Cheers,
>> R.
>>
>>
>>> Hi John and others,
>>> Happy Easter! maybe a little bit late:)
>>> Pls see inline...
>>> --------------------------------------------------
>>> From: "John G. Scudder" <jgs@juniper.net>
>>> Sent: Thursday, April 09, 2009 11:11 PM
>>> To: "Dong Jie" <dongjie_dj@huawei.com>
>>> Cc: "'idr List'" <idr@ietf.org>
>>> Subject: Re: [Idr] Questions on draft-scudder-idr-optional- 
>>> transitive-01
>>>> You're right in your analysis of exactly what the Partial bit  
>>>> communicates, and we'll revise the next version of the draft to   
>>>> correct the inaccurate characterization.  It would have been more   
>>>> accurate to note that if the Partial bit is *not* set, then the  
>>>> fault  *can* be imputed to the direct neighbor.  A set Partial bit  
>>>> means that  we don't know -- and when we don't know, we have to  
>>>> assume innocence  on the part of the direct neighbor.
>>> But sometime(for whatever reason), if it happens to the direct  
>>> neighbor at fault, then we will mistake to assume that the direct  
>>> neighbour is innocence, and hence to result in route inconsistent  
>>> or any other underlying aftereffects no matter what we drop or  
>>> accept the update with malformed transitive optional attribute.
>>>>
>>>> The unfortunate fact is that there is no certain way with optional  
>>>> transitive attributes of determining whether the "at fault"  
>>>> speaker is the direct neighbor or not,
>>> Actually, without a dedicated flag for judging whether the direct  
>>> neighbor is innocence is the key point. Using the Partial bit for  
>>> judging is somtimes a better than none choice, but as I said above,  
>>> it will bring side effects.
>>> So, since we want to resolve this malformed transitive optional  
>>> attribute issue, why don't we think out a more downright method?
>>> IMO, Dong's suggestion in another email may be a good idea, that is  
>>> if the Partial bit has not any essential usage (I have not seen any  
>>> application of it, or someone please educate me), we may change the  
>>> usage of Partial bit to indicate whether a BGP speaker recognizes  
>>> the transitive optional attribute attached on a route, if we can't  
>>> change the usage of the Partial bit, we could assign a new bit(may  
>>> called Check bit)from the reserved bits of attribute for such  
>>> purpose.
>>>> thus I don't think there should be any  other change to the draft  
>>>> --  Partial is admittedly an imperfect  heuristic, but it's the  
>>>> best one we have available.  The only other  supportable  
>>>> alternative I can see is to apply the procedures of the  draft to  
>>>> all optional transitives, whether Partial is set or not --  but  
>>>> that option seems even less desirable.
>>>>
>>>> Regards,
>>>>
>>>> --John
>>> Best regards,
>>> Mach Chen
>>>>
>>>> On Apr 9, 2009, at 12:09 AM, Dong Jie wrote:
>>>>
>>>>> This draft said that optional transitive attributes with Partial  
>>>>> bit  set
>>>>> "have been propagated without being checked by intermediate  
>>>>> routers  that do
>>>>> not recognize the attribute", so if error-handling rules of  
>>>>> RFC4271  is used,
>>>>> the session that is reset is not associated with the router that  
>>>>> is at
>>>>> fault.
>>>>>
>>>>> But the rules of setting Partial bit are complex and sometimes  
>>>>> may  not meet
>>>>> the condition the draft based on.
>>>>>
>>>>> Section 5 of RFC4271 specifies the rules of Partial bit in optional
>>>>> transitive attributes:
>>>>>
>>>>> -"If a path with an unrecognized transitive optional attribute is  
>>>>> accepted
>>>>> and passed to other BGP peers, then the unrecognized transitive   
>>>>> optional
>>>>> attribute of that path MUST be passed, along with the path, to  
>>>>> other  BGP
>>>>> peers with the Partial bit in the Attribute Flags octet set to  
>>>>> 1.   If a path
>>>>> with a recognized, transitive optional attribute is accepted and   
>>>>> passed
>>>>> along to other BGP peers and the Partial bit in the Attribute  
>>>>> Flags octet is
>>>>> set to 1 by some previous AS, it MUST NOT be set back to 0 by the  
>>>>> current
>>>>> AS."
>>>>>
>>>>> -"New, transitive optional attributes MAY be attached to the path  
>>>>> by  the
>>>>> originator or by any other BGP speaker in the path.  If they are  
>>>>> not
>>>>> attached by the originator, the Partial bit in the Attribute  
>>>>> Flags  octet is
>>>>> set to 1."
>>>>>
>>>>> Based on these rules, receiving optional transitive attributes  
>>>>> with partial
>>>>> bit set does not mean the peering BGP speaker cannot recognize the
>>>>> attributes and does not check them, because Partial bit can be  
>>>>> set  by some
>>>>> previous BGP speakers, and it MUST NOT be set back to 0. In some   
>>>>> cases,
>>>>> Partial bit is set by some previous BGP speaker, but the fault  
>>>>> is  done by
>>>>> the peering BGP speaker, then the procedures of RFC4271 SHOULD be  
>>>>> followed.
>>>>>
>>>>> In some other cases, Partial bit is set because the attribute is  
>>>>> attached by
>>>>> some intermediate BGP speaker, and all of the BGP speakers along  
>>>>> the path
>>>>> can recognize it. Then the procedures of RFC4271 SHOULD also be  
>>>>> followed.
>>>>>
>>>>> IMO, Partial bit of optional transitive attribute is not fit for  
>>>>> identifying
>>>>> whether the fault is done by the peering BGP speaker. It only   
>>>>> indicates that
>>>>> the optional transitive attribute is *not recognized* or *not  
>>>>> seen*  by all
>>>>> the BGP speakers in the path.
>>>>>
>>>>> Best regards,
>>>>> Jie
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
> 
>