I have lately been working with Ruckus ICX switches and one feature I have been using is the DHCP server on the switches in the Lab. I would not design a production network using layer 3 switches as your DHCP server. I believe that role should be either a full layer3 device such as the gateway on the network (Firewall/Router) or a dedicated server such as Windows server.
But for some scenarios running DHCP on a switch can be very useful and quick to deploy.
In this little blog, I will list the commands needed to enable a DHCP server on Ruckus ICX switches. I will be doing this on 8.0.92 firmware. a newer version may change these commands.
Enable DHCP server by entering a command similar to the following.
device(config)# ip dhcp-server enable
Create a DHCP server address pool by entering a command similar to the following.
device(config)# ip dhcp-server pool cabo
Configure the DHCP server address pool by entering commands similar to the following.
device(config-dhcp-cabo)# network 172.16.1.0/24
device(config-dhcp-cabo)# domain-name brocade.com
device(config-dhcp-cabo)# dns-server 172.16.1.2 172.16.1.3
device(config-dhcp-cabo)# netbios-name-server 172.16.1.2
device(config-dhcp-cabo)# lease 0 0 5
To disable DHCP, enter a command similar to the following.
device(config)# no ip dhcp-server enable
Thank you for this post Sir. May I ask why you wouldn't use ICX for DHCP in a production environment? Three small schools each with less than 200 clients...