01-12-2016 04:35 AM - edited 03-08-2019 03:22 AM
Hi,
Hope that someone can help me out, i want to be sure on something
When configuring a trunk between a switch and a router and you are not routing the native vlan in your network. Do you still need to configure the native vlan (physical interface or subinterface with the "native" command ) on the router side of the trunk. If not, is de router then simply dropping the untagged frames.
Edwin
Solved! Go to Solution.
01-12-2016 04:45 AM
Hi Edwin,
When configuring a trunk between a switch and a router and you are not routing the native vlan in your network. Do you still need to configure the native vlan (physical interface or subinterface with the "native" command )
If you are not using the native VLAN in your network, then no - you do not need to configure the physical interface or the subinterface with the encapsulation dot1q vlan-id native command. The only thing you obviously need to do is no shutdown on the physical interface.
If not, is de router then simply dropping the untagged frames.
That is correct.
Best regards,
Peter
01-12-2016 04:45 AM
Hi Edwin,
When configuring a trunk between a switch and a router and you are not routing the native vlan in your network. Do you still need to configure the native vlan (physical interface or subinterface with the "native" command )
If you are not using the native VLAN in your network, then no - you do not need to configure the physical interface or the subinterface with the encapsulation dot1q vlan-id native command. The only thing you obviously need to do is no shutdown on the physical interface.
If not, is de router then simply dropping the untagged frames.
That is correct.
Best regards,
Peter
01-12-2016 05:04 AM
Thanks all
01-12-2016 04:47 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
On a router, the main interface is the "native", and if you don't define an IP for it, it wouldn't accept IP packets. (Basically the same behavior when there's no tagged frames at all.)
01-12-2016 04:51 AM
Okay, going to take a shot at explaining the native VLAN to you and maybe it will clear things up, if not ask away and I'll do my best.
Native VLAN is for untagged VLAN traffic so lets say you have a host that is on VLAN 20 and your native VLAN was set to 10. Anything that was not tagged for VLAN 20 will be assumed to be on native VLAN10.
As to your question, when you configure a trunk remember that it carries all VLAN traffic unless you tell it otherwise. In our case since we changed the native VLAN to 10 (default is 1) we would need to set both sides of the trunk to native VLAN 10, otherwise you will get syslog messages saying that there is a native VLAN mismatch.
HTH
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide