01-17-2013 02:04 PM - edited 03-07-2019 11:09 AM
Hello,
I have a L2 switch and L3 swithch trunked. There are multiple VLANs on these switches but I want the L3 switch to be able to give DHCP offers to all these VLANs in the L2 switch and L3. I have created the 5 DHCP scopes on the L3 switch, but the L2 switch doesn't get them.
For example I have VLAN 10 on both switches and have created a DHCP scope for 192.168.23.x/23 the PC's in VLAN 10 don't get an IP. Do I have to use relay on the trunks, how does VLAN 10 know it should be getting an IP address from that scope and not another?
THanks
01-17-2013 02:19 PM
Think I have it. I had to create L3 interface for the VLANs on the L3 switch.
01-17-2013 09:06 PM
If u have multiple vlans you need multiple vlan interfaces on L3 switch to act as a gateway for pcs/hosts. That way hosts on vlan3 will know which address to get based on their gateway
Sent from Cisco Technical Support iPhone App
01-17-2013 09:14 PM
Hi,
Few things to consider:
1. Check if the PC on right VLAN
2. Port between L2 switch and L3 switch need to be configured as a trunk and it need to allow these VLANs.
3. L3 switch with DHCP scope configured on it knows which scope select by gaddr field. On that field L3 switch puts it's VLAN IP address on which it received DHCP packet from PC.
Hope it will help.
Best regards,
Abzal
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