cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
0
Helpful
1
Replies

ROAS Layer 2 point of view

igoksadze
Level 1
Level 1

Hi, have anyone tested what does router do with layer 2 header of one packet arrived on one subinterface destined to another subinterface. I wonder if it can change source field with its corresponding subinterface mac address or with its physical interface?

And second question:

 

int g0/0.1

encapsulation dot1q 2 native

ip add y.y.y.y /24

 

int g0/0.2

encapsulation dot1q 4

ip add x.x.x.x/24

 

when router receives packet from switch tagged with vlan 4, destined to vlan 2 what router must do with tagging while sending  packet via g0/0.1. ? 

 

As i understand (correct if i'm not right) router must send packet without tag information.  

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

 

Not tested it but my understanding is the router just uses it's physical mac address because it can use the vlan tag to route the traffic correctly. 

 

The native vlan is always untagged so you are correct 

 

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card