VLAN assign to Port Vlan to layer2 switch

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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

John MeggersNetwork ArchitectCommented:
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.
samee87Author Commented:
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.
John MeggersNetwork ArchitectCommented:
"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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.