cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
442
Views
0
Helpful
4
Replies

vxlan package is layer 3 or 2

Leftz
Level 4
Level 4

Hi please see the below two picture of vxlan structures. Based on my understanding, one is considered as layer 3 package and second one is layer 2. In different travel phase, it show different structure, Is this correct? 

Leftz_0-1703091026071.png

 

Leftz_1-1703091060141.png

 

 

 

2 Accepted Solutions

Accepted Solutions

M02@rt37
VIP
VIP

Hello @Leftz 

Same ! The two answer to that definition :

VxLAN is a L2 overlay technology that utilizes UDP to encapsulate L2 Ethernet frames within L3 packets, allowing for the creation of virtualized networks that can extend across L3 networks.

In VxLAN, when a packet reaches the VTEP, the outer MAC header is indeed removed. VxLAN encapsulation involves adding an outer UDP header along with a VxLAN header to the original Ethernet frame.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

it can be, the outer header is remove to routing the frame. (when routing frame the MAC is change)
but both are same. 
MHM

View solution in original post

4 Replies 4

both are same,  except one have Outer MAC header and other not Have 

Leftz_0-1703091026071.png

 

MHM

Leftz
Level 4
Level 4

thanks for your reply. but the top one does not have outer mac header. maybe the outer mac header is already removed when it is at vtep, right? 

it can be, the outer header is remove to routing the frame. (when routing frame the MAC is change)
but both are same. 
MHM

M02@rt37
VIP
VIP

Hello @Leftz 

Same ! The two answer to that definition :

VxLAN is a L2 overlay technology that utilizes UDP to encapsulate L2 Ethernet frames within L3 packets, allowing for the creation of virtualized networks that can extend across L3 networks.

In VxLAN, when a packet reaches the VTEP, the outer MAC header is indeed removed. VxLAN encapsulation involves adding an outer UDP header along with a VxLAN header to the original Ethernet frame.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
Review Cisco Networking for a $25 gift card