Diego Salvador | 13 Jun 2007 17:38
Picon
Favicon

Questions regarding L2TP tunnel switching

To Whom It May Concerned:

Hi! I need to ask some questions regarding L2TP tunnel switching draft reference http://www.ietf.org/internet-drafts/draft-ietf-l2tpext-tunnel-switching-08.txt.

1. Based on Figure 1, when the LAC established the first tunnel to the TSA (LNS) and the first session will be further tunneled to another tunnel from the TSA (LAC) to be terminated to the destined LNS, what would be the activity between the LNS (TSA) and LAC (TSA) during the process of forwarding the PPP session? It has been described that there is stripping of L2TP headers and PPP frames are encapsulated to the second L2TP tunnel, so in this case is it only the L2TP session is used in passing the PPP frames from TSA (LNS) to the TSA (LAC)? Does it include any AVPs for this particular session? If it does, what should be the AVPs involved?

2. If further L2TP tunnel will be done from a TSA (LAC) to a terminated LNS then is it also allowed to pass L2TP sessions on existing L2TP tunnels? Becasue what I have understand from this document, is that when forwarding sessions from the outgoing TSA (LAC) to an LNS, new L2TP tunnels will be created to pass these sessions.

3. The document also mentioned about negotiated paramenters when the first session is established from the beginning and the TSA will use it as the basis for the second session. Is these negotiated parameters pertaining to control connection messages or AVPs involved?

4. How should TSA manages another TSA in a more aggregated L2TP scenario? Let say for example, a conventional LCCE (LAC) tunneled to at least 4 TSA to terminate tunnels and sessions to a destined LCCE (LNS)? Is there a case like this in real deployment?

5. What does the term "hop" means ? Is this pertaining to LAC-to-LNS(TSA) or LNS(TSA)-to-LAC(TSA)?

6. What is the difference between static and dynamic PPP session establishment?

7. How does PPP frames forwarded from the terminating LAC to the TSA-LNS? From TSA-LNS to TSA-LAC? TSA-LAC to TSA-LNS? RFC 2661 section 5.3 on Forwarding PPP Frames?

Thank you.

Sincerely Yours,

Diego Salvador

Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
_______________________________________________
L2tpext mailing list
L2tpext <at> ietf.org
https://www1.ietf.org/mailman/listinfo/l2tpext
Ignacio Goyret | 20 Jun 2007 21:39
Favicon

ppp draft issues - offset padding field

Hi all,
On the PPP draft for L2TPv3, there is an optional offset
padding field that can be requested by the receiver to be
inserted by the sender. As the draft is currently written,
this insertion is not negotiable: if the receiver asks for
it, the sender MUST insert it, even if doing so would be at
a performance cost. This is unacceptably unfair, as it shifts
the problems of a poor receiver design to the sender.

In my opinion, the offset padding field is (and has always been)
unnecessary since we are transporting PPP packets. If the receiver
needs to have an specific alignment, it is very likely that it
will need to move the packet at some point or another to deal
with things like ACFC, PFC, compression, MP headers, etc.

I would like to propose one of the following two alternatives:

1) eliminate the offset padding field altogether.
   This is my preferred choice.

2) if we decide to keep the offset padding field, it should be
   somehow negotiated with the sender side.

If option #2 was preferred, the negotiation could be done the
same way that it is done in RFC3573: each side tells the other
how far they are willing to go.

A new AVP would be sent on the ICRQ/ICRP/OCRQ/OCRP to indicate
the willingness of the message sender's side to insert an offset
and how long that offset might be. If the AVP is not included,
it means the message sender will not insert any offset (regardless
of any received Offset Size AVP).

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
Ignacio Goyret | 20 Jun 2007 22:48
Favicon

ppp draft issues - ff03 or no ff03

Hi all,
Another detail on the PPP draft for L2TPv3:

In section 4.3, the current draft requires each end to remove
the ff03 (ACF) from the PPP packet before sending it through
the tunnel; with the receiving end restoring (or inserting)
the ff03 if needed downstream from it.

This text creates a problem for a LAC interfacing to a link
that can use ACFC: unless the LAC snoops the LCP negotiation,
it has no way to know whether ACFC is in effect and so it would
not know for certain whether the ff03 should be inserted on
packets going to the client.

Since snooping LCP is a dangerous business for a number of
reasons, that should be off our list of options.

We have a few alternatives:
1) Neither end adds nor removes any bytes.
   In other words, the packet on the tunnel is identical
   to the packet on the wire to/from the client.

   The disadvantage here is that the LNS needs to know the
   requirements of the link from the LAC (eg, if it is ATM,
   the ACF field should be eliminated, etc).
   I do not advocate this alternative.

2) ACF MUST be eliminated before sending the packet on the
   tunnel.

   In this case, the LAC needs to know whether the ACF must be
   reinserted on output to the client. For this, we should
   require implementation of RFC 3437 so the LAC can learn
   the negotiated ACFC setting.

   Note that for robustness reasons, the receiver SHOULD be
   able to handle incoming packets that have ff03 or not.

   This alternative seems more reasonable to me.

Note that RFC2661 did not mandate this ff03 elimination, so
keeping this would be a departure from that RFC and a fairly
obscure interop difference.

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
Carlos Pignataro | 26 Jun 2007 22:33
X-Face
Picon
Favicon

Re: ppp draft issues - offset padding field

Hi Ignacio,

Thank you for sending this. Please find my comments inline.

On 6/20/2007 3:39 PM, Ignacio Goyret said the following:
> Hi all,
> On the PPP draft for L2TPv3, there is an optional offset
> padding field that can be requested by the receiver to be
> inserted by the sender. As the draft is currently written,
> this insertion is not negotiable: if the receiver asks for
> it, the sender MUST insert it, even if doing so would be at
> a performance cost. This is unacceptably unfair, as it shifts
> the problems of a poor receiver design to the sender.

Please note that the motivation was to continue with the L2TPv3-base
downstream-control of other dataplane characteristics such as the L2SS
presence and value, Session ID, Cookie size and value, etc.
I agree that the current text can be improved though, see below.

> 
> In my opinion, the offset padding field is (and has always been)
> unnecessary since we are transporting PPP packets. If the receiver
> needs to have an specific alignment, it is very likely that it
> will need to move the packet at some point or another to deal
> with things like ACFC, PFC, compression, MP headers, etc.
> 
> I would like to propose one of the following two alternatives:
> 
> 1) eliminate the offset padding field altogether.
>    This is my preferred choice.
> 
> 2) if we decide to keep the offset padding field, it should be
>    somehow negotiated with the sender side.
> 
> 
> If option #2 was preferred, the negotiation could be done the
> same way that it is done in RFC3573: each side tells the other
> how far they are willing to go.
> 
> A new AVP would be sent on the ICRQ/ICRP/OCRQ/OCRP to indicate
> the willingness of the message sender's side to insert an offset
> and how long that offset might be. If the AVP is not included,
> it means the message sender will not insert any offset (regardless
> of any received Offset Size AVP).

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.

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 <at> ietf.org
> https://www1.ietf.org/mailman/listinfo/l2tpext
> 

--

-- 
--Carlos Pignataro.
Escalation RTP - cisco Systems
Carlos Pignataro | 26 Jun 2007 22:41
X-Face
Picon
Favicon

Re: ppp draft issues - ff03 or no ff03


On 6/20/2007 4:48 PM, Ignacio Goyret said the following:
> Hi all,
> Another detail on the PPP draft for L2TPv3:
> 
> In section 4.3, the current draft requires each end to remove
> the ff03 (ACF) from the PPP packet before sending it through
> the tunnel; with the receiving end restoring (or inserting)
> the ff03 if needed downstream from it.
> 
> This text creates a problem for a LAC interfacing to a link
> that can use ACFC: unless the LAC snoops the LCP negotiation,
> it has no way to know whether ACFC is in effect and so it would
> not know for certain whether the ff03 should be inserted on
> packets going to the client.
> 
> Since snooping LCP is a dangerous business for a number of
> reasons, that should be off our list of options.
> 
> We have a few alternatives:
> 1) Neither end adds nor removes any bytes.
>    In other words, the packet on the tunnel is identical
>    to the packet on the wire to/from the client.
> 
>    The disadvantage here is that the LNS needs to know the
>    requirements of the link from the LAC (eg, if it is ATM,
>    the ACF field should be eliminated, etc).
>    I do not advocate this alternative.
> 
> 2) ACF MUST be eliminated before sending the packet on the
>    tunnel.
> 
>    In this case, the LAC needs to know whether the ACF must be
>    reinserted on output to the client. For this, we should
>    require implementation of RFC 3437 so the LAC can learn
>    the negotiated ACFC setting.
> 
>    Note that for robustness reasons, the receiver SHOULD be
>    able to handle incoming packets that have ff03 or not.
> 
>    This alternative seems more reasonable to me.

I agree with this alternative. This would require removing ACF (as
currently described in the document). The new text would need to say
that if the LNS supports ACFC, it MUST support Section 2.3 of rfc3437.
In addition, I think that the 4th paragraph of Section 4.3 of the PPP
draft needs to swap MUST <-> SHOULD, such that "SHOULD NOT" include ACF
on encapsulation, and "MUST" allow incoming packets with ACF on reception.

List, any other thoughts?

Thanks,

--Carlos (as editor).

> 
> 
> Note that RFC2661 did not mandate this ff03 elimination, so
> keeping this would be a departure from that RFC and a fairly
> obscure interop difference.
> 
> 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 <at> ietf.org
> https://www1.ietf.org/mailman/listinfo/l2tpext
> 

--

-- 
--Carlos Pignataro.
Escalation RTP - cisco Systems
Ignacio Goyret | 26 Jun 2007 22:47
Favicon

Re: ppp draft issues - offset padding field

At 04:33 PM 6/26/2007 -0400, Carlos Pignataro wrote:
>> I would like to propose one of the following two alternatives:
>> 
>> 1) eliminate the offset padding field altogether.
>>    This is my preferred choice.
>> 
>> 2) if we decide to keep the offset padding field, it should be
>>    somehow negotiated with the sender side.
>> 
>> 
>> If option #2 was preferred, the negotiation could be done the
>> same way that it is done in RFC3573: each side tells the other
>> how far they are willing to go.
>> 
>> A new AVP would be sent on the ICRQ/ICRP/OCRQ/OCRP to indicate
>> the willingness of the message sender's side to insert an offset
>> and how long that offset might be. If the AVP is not included,
>> it means the message sender will not insert any offset (regardless
>> of any received Offset Size AVP).
>
>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.

Sure, session-level or tunnel-level is fine by me.

I would still like to make this feature disappear though and go
for the simpler solution of just removing something that has
questionable value.

>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.

I think it will be better if it is a new AVP.
It is cleaner and it makes parsing and displaying much easier.
I don't think there is any AVP that has more than personality and
I think it is better to keep it that way.

Cheers,
-Ignacio
Carlos Pignataro | 26 Jun 2007 23:04
X-Face
Picon
Favicon

Re: ppp draft issues - offset padding field


On 6/26/2007 4:47 PM, Ignacio Goyret said the following:
> At 04:33 PM 6/26/2007 -0400, Carlos Pignataro wrote:
>>> I would like to propose one of the following two alternatives:
>>>
>>> 1) eliminate the offset padding field altogether.
>>>    This is my preferred choice.
>>>
>>> 2) if we decide to keep the offset padding field, it should be
>>>    somehow negotiated with the sender side.
>>>
>>>
>>> If option #2 was preferred, the negotiation could be done the
>>> same way that it is done in RFC3573: each side tells the other
>>> how far they are willing to go.
>>>
>>> A new AVP would be sent on the ICRQ/ICRP/OCRQ/OCRP to indicate
>>> the willingness of the message sender's side to insert an offset
>>> and how long that offset might be. If the AVP is not included,
>>> it means the message sender will not insert any offset (regardless
>>> of any received Offset Size AVP).
>> 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.
> 
> 
> Sure, session-level or tunnel-level is fine by me.
> 
> I would still like to make this feature disappear though and go
> for the simpler solution of just removing something that has
> questionable value.
> 
> 
>> 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.
> 
> I think it will be better if it is a new AVP.

Yes, I agree.

> It is cleaner and it makes parsing and displaying much easier.
> I don't think there is any AVP that has more than personality and
> I think it is better to keep it that way.

There is one, from RFC3931:

      The Control Connection Tie Breaker AVP, Attribute Type 5,
...
      Note that in [RFC2661], this AVP is referred to as the "Tie
      Breaker AVP" and is applicable only to a control connection.  In
      L2TPv3, the AVP serves the same purpose of tie breaking, but is
      applicable to a control connection or a session.  The Control
      Connection Tie Breaker AVP (present only in Control Connection
      messages) and Session Tie Breaker AVP (present only in Session
      messages), are described separately in this document, but share
      the same Attribute type of 5.
...
      The Session Tie Breaker AVP, Attribute Type 5, is used to break

But I agree that having separate AVPs is cleaner. Also, I think the
potential flexibility in leaving it is the safer path, and setting the
"Offset Capability" to zero effectively makes this feature disappear if
desired by an implementation.

Thanks,

--Carlos (as editor).

> 
> Cheers,
> -Ignacio
> 

--

-- 
--Carlos Pignataro.
Escalation RTP - cisco Systems
Y Prasad | 27 Jun 2007 10:25
Favicon

RE: ppp draft issues - offset padding field


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?
Common offset size for all the different types of sessions may not
benefit all the sessions.

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

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.
- Else sending this AVP is a nop to sender/receiver.

My $.02 :), of course.

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 <at> ietf.org
> https://www1.ietf.org/mailman/listinfo/l2tpext
> 

--

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

_______________________________________________
L2tpext mailing list
L2tpext <at> ietf.org
https://www1.ietf.org/mailman/listinfo/l2tpext
Carlos Pignataro | 27 Jun 2007 23:02
X-Face
Picon
Favicon

Re: 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.

> 
> 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 <at> ietf.org
>> https://www1.ietf.org/mailman/listinfo/l2tpext
>>
> 

--

-- 
--Carlos Pignataro.
Escalation RTP - cisco Systems
Y Prasad | 28 Jun 2007 01:31
Favicon

RE: ppp draft issues - offset padding field

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

-----Original Message-----
From: Carlos Pignataro [mailto:cpignata <at> cisco.com] 
Sent: Thursday, June 28, 2007 2:32 AM
To: Y Prasad
Cc: Ignacio Goyret; l2tpext <at> 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 <at> ietf.org
>> https://www1.ietf.org/mailman/listinfo/l2tpext
>>
> 

--

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

Gmane