How to setup Switch as DHCP server on Omada Controller
Contents
In some scenarios, you may want the switch to act as the DHCP server instead of the router, here we will introduce the configuration with an example.
- Omada switch series
- Omada Controller (Software Controller / Hardware Controller / Cloud Based Controller, V5.9 and above)
After the client submits a configuration application to the DHCP Server, DHCP Server dynamically assigns an IP address, subnet mask, default gateway address, DNS address, and other related configuration parameters to each device on the network so that it can communicate with other IP networks. We introduce it with the following topology.
Step 1. Enable DHCP server on Omada Controller for switch
Log in Controller, go to Devices > Config > VLAN Interface, click Edit then you could edit VLAN interface, set static IP for switch, and configure DHCP server on switch. And then click Apply to apply the change.
Note: We cannot add a new network here, if you want to create a new VLAN interface, please go to Settings> Wired networks > LAN to add a new LAN.
Note: Please input the right DNS address and Default Gateway IP address here.
Step 2. Turn off the DHCP server on router
If there are two DHCP servers in your network, it will cause chaos on IP assignment, so we need to turn off the router’s DHCP server function.
If you are using an Omada router adopted by the Omada Controller in your network, go to Settings > Wired Networks > LAN > Networks. Edit the corresponding LAN and uncheck the Enable status and click Save.
If you use a third-party router, log in to the router’s management interface, and turn off DHCP server.
Here we take ER605 as an example, go to Network> LAN > LAN, uncheck the Enable status and click Save.
After DHCP server function on the router been turned off, we can do a test to make sure the router not assigning IP address anymore.
Temporarily disconnect the router and switch, then connect a new device directly to the router, and now we can see that the new device comes with an unusable IP address---169.254.X.X, which means the DHCP server is off successfully.
Reconnect the router and the switch, then change PC back to get an IP address automatically, or connect a new device directly to this network, devices can get the right IP from the switch, and you will see connected devices under the Client lists.
At this point, we have completed the configuration of DHCP Server on Omada switch .
Get to know more details of each function and configuration please go to Download Center to download the manual of your product.