leblanc
asked on
ip dhcp relay
This is my setup:
DHCP server<-->core switch (L3) <--> sw1 (L2) <-->sw2 (L2) <---> PC1
PC1 is using dhcp. But it could not get the DHCP from the server. If I configure it with a static IP address, everything works. Somebody suggested enabling dhcp relay on sw1. But I disagree because from my understanding, the dhcp relay is used to forward DHCP traffic between 2 different subnets. Furthermore, I don't think the layer 2 switch can do dhcp relay. Any thoughts would be greatly appreciated. Thx
DHCP server<-->core switch (L3) <--> sw1 (L2) <-->sw2 (L2) <---> PC1
PC1 is using dhcp. But it could not get the DHCP from the server. If I configure it with a static IP address, everything works. Somebody suggested enabling dhcp relay on sw1. But I disagree because from my understanding, the dhcp relay is used to forward DHCP traffic between 2 different subnets. Furthermore, I don't think the layer 2 switch can do dhcp relay. Any thoughts would be greatly appreciated. Thx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am not using PVLAN. I will check the trunk configuration.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes dhcp server and the client are in the same subnet and same vlan.
OK, so you don't need DHCP relay.
You must make sure that broadcast packets are handled correctly from end-to-end
You must make sure that broadcast packets are handled correctly from end-to-end
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i found out that the dhcp sever was no configured correctly
If the DHCP server is in the same VLAN of your PC1, and supposing you are not using PVLANs, you should look for trunk misconfiguration in all trunk configurations in sw1, sw2 and core switch (is that VLAN allowed in all trunk interfaces?) and/or if that VLAN exists in all switches.
Hope it helps.
jopelo