I would like to use the internal DHCP Server provided by PowerConnect 5524. Activation and configration of the DHCP Server is documented but there is nothing about how to make it work
I have configured 2 vlan (lets call them VLAN2 : IP = 192.168.2.1 and VLAN3 = 192.168.3.1). I have configured the DHCP Server to serve IP in two pools: one on the 192.168.2.0 subnet and another on the 192.168.3.0 subnet.
The question is :
How do i affect DHCP service to each VLAN so VLAN2 is served with the pool "192.168.2" and VLAN3 is served with the pool "192.168.3"?
Thanks in advance for your precious help!
The DHCP client built into the PowerConnect is very basic and only provides service to the default VLAN. In order to provide IP addresses to different VLANs you will need a DHCP server with scopes for each VLAN, and a switch with DHCP relay/ IP helper enabled on it.
Get Support on Twitter @DellCaresPro
Download the Dell Quick Resource Locator app today to access PowerEdge support content on your mobile device! (iOS, Android, Windows)
Thank you very much for your quick reply. Do you think i could configure relaying on my VLAN 2 & 3 to forward request to the integrated DHCP Server on VLAN1 or is the function too basic?
Otherwise, i will try to ask for a feature request :) (but will use an external DHCP Server !)
Theoretically you could setup the relay to send the requests to the built in DHCP client. But once the DHCP client receives the request, it will not be able to do anything with it, because the DHCP client does not have the ability to add scopes for those VLANs that the requests are coming from.
Ok! My latests question :) :
What is the point of allowing to configure several pools with different subnets if we can't use them ?
You know what, I really don’t have an answer for that. In doing some research I found where someone with a cisco was able to get a similar setup working.
On the cisco it looks like you can assign IP addresses to specific interfaces, while on the PowerConnect we can only assign to the VLAN interface. I say this would be worth looking into and who knows, you may even be able to get it to work. But I have not seen a configuration like this.
1. Enable the DHCP client and create the pools you want. Example
Pool 1= 192.168.10.2-20
Pool 2= 192.168.20.2-20
Pool 3= 192.168.30.2-20
2. Create VLANs and assign IP address to the VLANs, that corresponds with the Pools.
3. Place client interfaces into access mode for the VLAN you want it to receive and IP address from. Example would be, workstation you want to have an IP address from pool 3, would go into access mode for VLAN 3.
Console(config)# interface gigabitethernet 1/0/1
Console(config-if)# switchport access vlan 3
4. Enable DHCP relay.
Console(config)# ip dhcp relay enable
Console(config)# ip dhcp relay address 18.104.22.168(change to whatever the DHCP server address is)
You can also configure this for each VLAN also.
Console(config)# interface vlan 2
Console(config-if)# ip dhcp relay address 22.214.171.124
Once configured we can also use this show command to ensure it is enabled.
Console> show ip dhcp relay
Once this is set I would then test and see if DHCP is working for the different VLANs.
Keep us updated on the outcome of this.
Will try to :)
I have a similar situation where I try to assign different address pools to different VLANS.
I tried the settings written up there and I found out something when trying to enable the dhcp relay.
Console(config)# ip dhcp relay enable
"Cannot enable DHCP relay when server is enabled"
Which means that the 5524 cannot play roles of both server and relay.
Does it mean that for sure this setup is not possible?
Thanks for the extra information. If it wont let us enable the DHCP relay, then the DHCP request wont be able to make it from the other VLANs to the DHCP server address.
If there is another switch on the network that supports DHCP relay, you could see about enabling it on the other switch.
It would also be worth a shot to look into IP helper address, but im not sure it will get the job done.
(Page 246 of user guide)
console (config)# ip helper-address all 172.16.9.9 49 53
We succeeded in making it work ! :) thanks to your suggestions.
1st after dhcp server configuration, activate relaying for the VLAN1 address :
ip dhcp relay address X.X.X.X
Then for each VLAN where you want relaying :
interface vlan Z
ip address Z.Z.Z.Z SUBNET (corresponding to the subnet you defined for the given pool of this vlan)
ip dhcp relay enable
interface vlan Y
ip address Y.Y.Y.Y SUBNET (corresponding to the subnet you defined for the given pool of this vlan)
sle75 & vxp
Awesome! that is great to hear, thanks for keeping us updated.