VLAN assign to Port Vlan to layer2 switch

samee87 used Ask the Experts™
Here is the scenario,
Layer 3 switch has fiber ops that connect layer 2 switch.
Layer 2 switch is getting vlan 1 by default and native Vlan is 1 also.
If I change the native vlan from 1 to 26 of one of the port from layer 2 switch, then the device will connected to that port will get ip from vlan 26 (DHCP previuosly set up from server ) right????
Is it posible. I am using cisco network assistant to change the configuration.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
John MeggersNetwork Architect

Where is the DHCP server, and is it responding to requests from that VLAN?  The uplink from the L2 switch must be a trunk if you need it to pass both VLAN 1 and VLAN 26 up to the L3 switch, which will route between VLANs.  If the DHCP server is in VLAN 26, then routing is not needed, but generally you don't have a DHCP server in each VLAN, you have one that responds to requests from different parts of the network and assigns IP addresses appropriately.


Layer 2 switch is a trunk.DHCP server is on Main domain controller It is on different VLANs it is on vlan 20. It is responding the request from that vlan (I mean 26 and 1). Layer 3 switch is configure to support multiple vlans. In this case VLAN(1-30). My question is what is native vlan means? Can I change the native vlan for single port of the layer 2 switch.
Network Architect
"Native VLAN" basically means it's assumed unless there's VLAN tagging that indicates a frame is from a different VLAN, and it's only used on trunks.  Packets from the native VLAN are not tagged while other packets are tagged so the configurations must agree on both ends of the trunk, otherwise there will be confusion between the two switches regarding packets that aren't specifically tagged with a VLAN.

In your case, it sounds like what you're talking about is not really native VLAN, it's really the access VLAN configured on a single port.  As long as the trunk up to the L3 switch is configured to pass VLAN 26 (it will be by default, unless you restrict the permitted VLANs on the trunk), then the DHCP request should get to the server.  If it's not already there, you will need a helper address on the L3 switch to point to where the DHCP server is located.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial