Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

layer 2 connection

what does it mean for a customer to have a layer 2 connection?

3 ACCEPTED SOLUTIONS

Accepted Solutions
VIP Super Bronze

Re: layer 2 connection

ccnak1ing wrote:

Thanks Giuslar

how about where a mpls vpn is not being used so where there is no CE or SP?

Hi,

In that case than it is simply a vlan (layer-2) with no IP address on that link.

HTH

Reza

Re: layer 2 connection

As mentioned above a L2 connection could be as complex as involving MPLS, Frame-Relay, PPP, ATM, etc....

Or it can be as simple as a connection between two L2 switches.

For example, if you have two L2 switches connected directly to each other (either as trunk or acceses port, this is a L2 connection).

As well, if you have a computer connected to a port on a switch (unless is a L3 port), the connection is a L2 connection.

The difference between a L3 connection or a L2 connection is that a L3 connection involves routing, and a L2 connection just involves switching.

Federico.

Hall of Fame Super Blue

Re: layer 2 connection

ccnak1ing wrote:

what does it mean for a customer to have a layer 2 connection?

L2 uses L2 addressing to deliver packets to the destination address. The L2 addressing could be a DLCI with frame-relay, a VPI/VCI with ATM or a mac-address with ethernet.

L3 uses L3 address to deliver packets to the destination address. The L3 addressing is typically an IP address.

L3 is used to get the packet to correct network.

L2 is used to deliver the packet to the correct destination once the packet has got to the right network.

So a layer 2 connection means that on either end of the connection the same subnet/vlan exists. Note subnet/vlan are generally used interchangeably with ethernet because in the vast majority of cases there is a one-to-one correlation between the 2.

WAN connections can be either L2 or L3 depending on the customer requirements.

Jon

6 REPLIES
Hall of Fame Super Silver

Re: layer 2 connection

Hello Ccnak1ing,

a L2 connection service is a type of service where you not interact al Layer3 with SP nodes, like EoMPLS for example:

the CE device on siteA has as Layer3 neighbor your CE node on site B

The SP nodes transport ethernet frames or 802.1Q tagged frames between siteA and siteB.

In contrast with this a L3 service like MPLS VPN involves the service provider node that becomes the L3 neighbor of your CE node in siteA.

In this second case the SP node interacts with the CE node.

Hope to help

Giuseppe

New Member

Re: layer 2 connection

Thanks Giuslar

how about where a mpls vpn is not being used so where there is no CE or SP?

VIP Super Bronze

Re: layer 2 connection

ccnak1ing wrote:

Thanks Giuslar

how about where a mpls vpn is not being used so where there is no CE or SP?

Hi,

In that case than it is simply a vlan (layer-2) with no IP address on that link.

HTH

Reza

Re: layer 2 connection

As mentioned above a L2 connection could be as complex as involving MPLS, Frame-Relay, PPP, ATM, etc....

Or it can be as simple as a connection between two L2 switches.

For example, if you have two L2 switches connected directly to each other (either as trunk or acceses port, this is a L2 connection).

As well, if you have a computer connected to a port on a switch (unless is a L3 port), the connection is a L2 connection.

The difference between a L3 connection or a L2 connection is that a L3 connection involves routing, and a L2 connection just involves switching.

Federico.

Hall of Fame Super Blue

Re: layer 2 connection

ccnak1ing wrote:

what does it mean for a customer to have a layer 2 connection?

L2 uses L2 addressing to deliver packets to the destination address. The L2 addressing could be a DLCI with frame-relay, a VPI/VCI with ATM or a mac-address with ethernet.

L3 uses L3 address to deliver packets to the destination address. The L3 addressing is typically an IP address.

L3 is used to get the packet to correct network.

L2 is used to deliver the packet to the correct destination once the packet has got to the right network.

So a layer 2 connection means that on either end of the connection the same subnet/vlan exists. Note subnet/vlan are generally used interchangeably with ethernet because in the vast majority of cases there is a one-to-one correlation between the 2.

WAN connections can be either L2 or L3 depending on the customer requirements.

Jon

New Member

Re: layer 2 connection

Thanks to all contributions, as usual I have a better understanding of this concept now.

Rgds

7151
Views
0
Helpful
6
Replies