RE: [L2tpext] ppp draft issues - offset padding field

"Y Prasad" <yprasad@juniper.net> Wed, 27 June 2007 23:33 UTC

Return-path: <l2tpext-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1I3h0s-00010X-Ez; Wed, 27 Jun 2007 19:33:30 -0400
Received: from l2tpext by megatron.ietf.org with local (Exim 4.43) id 1I3h0r-00010M-IX for l2tpext-confirm+ok@megatron.ietf.org; Wed, 27 Jun 2007 19:33:29 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1I3h0r-00010E-73 for l2tpext@ietf.org; Wed, 27 Jun 2007 19:33:29 -0400
Received: from smtpa.juniper.net ([207.17.137.120]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1I3h0q-0005NB-Oj for l2tpext@ietf.org; Wed, 27 Jun 2007 19:33:29 -0400
Received: from unknown (HELO beta.jnpr.net) ([172.24.18.109]) by smtpa.juniper.net with ESMTP; 27 Jun 2007 16:33:20 -0700
X-IronPort-AV: i="4.16,468,1175497200"; d="scan'208"; a="26485431:sNHT56244252"
Received: from gaugeboson.jnpr.net ([10.209.194.17]) by beta.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Wed, 27 Jun 2007 16:33:19 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [L2tpext] ppp draft issues - offset padding field
Date: Thu, 28 Jun 2007 05:01:01 +0530
Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A028E2D81@gaugeboson.jnpr.net>
In-Reply-To: <4682D04C.7080105@cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [L2tpext] ppp draft issues - offset padding field
Thread-Index: Ace4/p5mC9X5shcoThaiARVJ0b4jdAAEGjgQ
From: Y Prasad <yprasad@juniper.net>
To: Carlos Pignataro <cpignata@cisco.com>
X-OriginalArrivalTime: 27 Jun 2007 23:33:19.0814 (UTC) FILETIME=[8B6E7E60:01C7B913]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0ff9c467ad7f19c2a6d058acd7faaec8
Cc: Ignacio Goyret <igoyret@alcatel-lucent.com>, l2tpext@ietf.org
X-BeenThere: l2tpext@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Layer Two Tunneling Protocol Extensions <l2tpext.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/l2tpext>, <mailto:l2tpext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/l2tpext>
List-Post: <mailto:l2tpext@ietf.org>
List-Help: <mailto:l2tpext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/l2tpext>, <mailto:l2tpext-request@ietf.org?subject=subscribe>
Errors-To: l2tpext-bounces@ietf.org

Thanks Carlos for explaining difference between offset size and offset
capability. Please see a comment below.


-----Original Message-----
From: Carlos Pignataro [mailto:cpignata@cisco.com] 
Sent: Thursday, June 28, 2007 2:32 AM
To: Y Prasad
Cc: Ignacio Goyret; l2tpext@ietf.org
Subject: Re: [L2tpext] ppp draft issues - offset padding field


Thank you for the comments, please see inline.

On 6/27/2007 4:25 AM, Y Prasad said the following:
> 
>  
> Hi Carlos,
> 
> Please see at <yp>
> 
> Rather than a session-level negotiation, how about a tunnel-level
> SCCRQ/SCCRP capability advertisement, much like the "Pseudowire
> Capabilities List" or the "Modem On-Hold Capable AVP" from Section 4.1
> of RFC3573. A "Offset Capability" AVP can indicate how big of an
offset
> the sender is willing to insert, if requested at session-level.
> 
> <yp> In v3 case tunnel can potentially carry non-ppp sessions. Do you
> think offset size useful/needed across all non-ppp sessions as well?

This is a good point. Even though v3 supports other PW Types, the Offset
Size is only applicable to PPP sessions. Other companion documents
(i.e., other PW Types) do not specify it, and the PPP document specifies
other AVPs that are also only applicable to PPP.

> Common offset size for all the different types of sessions may not
> benefit all the sessions.

Note that there's not necessarily a common offset size for all PPP
sessions. The Offset Size is a Session Management AVP (per-session).
More below.

> 
> May be we are better off to keep it as session negotiated AVP?

The "OFfset Size" is a Session-requested AVP. The "Offset Capability"
only conditions/caps the maximum Offset Size that can be requested on
sessions belonging to a given tunnel.

<yp> wondering what will be the behavior in the following case:
session may get initiated/configured long after the tunnel is up. So if
a ppp session that requires offset and the tunnel had not negotiated
offset capability, then we will bring down tunnel to negotiate offset
capability?

(IMHO)why not we just mention offset size avp as "ackable" session AVP
and avoid offset capability need. I think its ok to define a new avp
type behavior.

Regards
yp

> 
> May be we can have this rule?
> 
> - If receiver of this AVP decides to support this feature he should
ack
> the same so that sender knows for sure he can expect alignment that he
> needs.

Note also that both directions could request a different offset size,
much like requesting (or not) and L2SS, or requesting (or not) different
Cookie size (and value).

> - Else sending this AVP is a nop to sender/receiver.
> 

I think that per-tunnel capability and per-session request is simpler,
and (more importantly) aligned with how other AVPs/capabilities are
currently signaled: Tunnel-level capabilities (from example from RFC3573
that Ignacio cited, and all the "xxx Capabilities" AVPs) and at the
session-level, the downstream (receiver, decap) requests what he wants
sent to it (L2SS, Cookie, Session ID, etc).

> My $.02 :), of course.

Much appreciated. What do you think?

Thanks,

--Carlos.

> 
> Regards
> yp
> 
> 
> The "Offset Capability" AVP can have the same syntax as the "Offset
> Size" with different semantics. It could even be the same AVP number
> (with semantics depending on the type of message in which the AVP is
> in), or (my preference) a new AVP.
> 
> That would allow the sender to have control via capability, and would
> default to #1 if the "Offset Capability" is missing or it has a zero
> value. Would that be an acceptable solution?
> 
> Thanks,
> 
> --Carlos (as editor).
> 
>> The received value of this new AVP, together with the sent Offset
>> Size AVP will tell the receiver what to expect in terms of the
>> offset padding field: if the sender said it is willing to insert
>> up to 4 bytes and the receiver asked (or was going to ask) for 6,
>> only 4 bytes will be inserted by the sender. If the sender said up
>> to 8 bytes and the receiver asked for 6, the sender will insert
>> 6 bytes. If the sender said no offset will be inserted, nothing
>> will be inserted.
>>
>> Again, my preference is #1 as that would eliminate a significant
>> protocol complexity that adds no benefit (IMHO).
>>
>> Opinions, please?
>>
>> -Ignacio
>>
>> PS: This draft expired recently but a new one is in the works.
>> In the meantime, you can look here for the last version:
>> http://tools.ietf.org/html/draft-ietf-l2tpext-l2tp-ppp-05
>>
>>
>>
>> _______________________________________________
>> L2tpext mailing list
>> L2tpext@ietf.org
>> https://www1.ietf.org/mailman/listinfo/l2tpext
>>
> 

-- 
--Carlos Pignataro.
Escalation RTP - cisco Systems


_______________________________________________
L2tpext mailing list
L2tpext@ietf.org
https://www1.ietf.org/mailman/listinfo/l2tpext