Segment Routing for L2VPN?

2015-09-20 Thread Jason Lixfeld
Hello!

I've been doing some reading recently on Segment Routing.  By all accounts, it 
seems that the (only?) implementation for SR supports L3VPN.  Am I dumb and 
just missing the L2VPN bits, or is L3VPN simply the extent of the first 
generation?

Sent from my iPhone

Re: Segment Routing for L2VPN?

2015-09-20 Thread Mohan Nanduri
No, it works with L2VPNs also. Outer label is going to be SR label and
inner label is your L2VPN label.

Cheers,
-Mohan


On Sun, Sep 20, 2015 at 3:23 PM, Jason Lixfeld  wrote:
> Hello!
>
> I've been doing some reading recently on Segment Routing.  By all accounts, 
> it seems that the (only?) implementation for SR supports L3VPN.  Am I dumb 
> and just missing the L2VPN bits, or is L3VPN simply the extent of the first 
> generation?
>
> Sent from my iPhone


Re: Segment Routing for L2VPN?

2015-09-21 Thread Jeff Tantsura
Hi,

In most well designed IP routing stacks the way to get to a labeled
(tunneled) next hop is decoupled from a service, so if a service requires
such next hop it is upto (usually RIB) to return one (best, multiple might
exist) which would be used for forwarding. If it is a Segment Routed one
so it will then be used.

Cheers,
Jeff

-Original Message-
From: Mohan Nanduri 
Date: Sunday, September 20, 2015 at 12:59 PM
To: Jason Lixfeld 
Cc: "nanog@nanog.org" 
Subject: Re: Segment Routing for L2VPN?

>No, it works with L2VPNs also. Outer label is going to be SR label and
>inner label is your L2VPN label.
>
>Cheers,
>-Mohan
>
>
>On Sun, Sep 20, 2015 at 3:23 PM, Jason Lixfeld  wrote:
>> Hello!
>>
>> I've been doing some reading recently on Segment Routing.  By all
>>accounts, it seems that the (only?) implementation for SR supports
>>L3VPN.  Am I dumb and just missing the L2VPN bits, or is L3VPN simply
>>the extent of the first generation?
>>
>> Sent from my iPhone



Re: Segment Routing for L2VPN?

2015-09-23 Thread Anoop Ghanwani
It depends on what type of L2VPN we are talking about.

If we are talking about VPLS (where we learn from the data path) changes
are needed in order to make it work with segment routing.  Basically, the
VC label must be assigned and used in such a way that it indicates not only
the service for the packet, but also the PE from which it originated.  That
is because with SR, we would have lost the path (PW) that the packet used
to get to the destination PE.

If we are talking about BGP E-VPN where data path learning is not used,
then it should work with segment routing without any changes.

Anoop

On Mon, Sep 21, 2015 at 11:32 AM, Jeff Tantsura 
wrote:

> Hi,
>
> In most well designed IP routing stacks the way to get to a labeled
> (tunneled) next hop is decoupled from a service, so if a service requires
> such next hop it is upto (usually RIB) to return one (best, multiple might
> exist) which would be used for forwarding. If it is a Segment Routed one
> so it will then be used.
>
> Cheers,
> Jeff
>
> -Original Message-
> From: Mohan Nanduri 
> Date: Sunday, September 20, 2015 at 12:59 PM
> To: Jason Lixfeld 
> Cc: "nanog@nanog.org" 
> Subject: Re: Segment Routing for L2VPN?
>
> >No, it works with L2VPNs also. Outer label is going to be SR label and
> >inner label is your L2VPN label.
> >
> >Cheers,
> >-Mohan
> >
> >
> >On Sun, Sep 20, 2015 at 3:23 PM, Jason Lixfeld  wrote:
> >> Hello!
> >>
> >> I've been doing some reading recently on Segment Routing.  By all
> >>accounts, it seems that the (only?) implementation for SR supports
> >>L3VPN.  Am I dumb and just missing the L2VPN bits, or is L3VPN simply
> >>the extent of the first generation?
> >>
> >> Sent from my iPhone
>
>