Knowledge Base DHCP Reservation in a Layer 3 Switching Environment with TP Link Omada Switch
Hey All,
The configuration below is to show how to use an Omada Switch as a DHCP Server with DHCP Pools, and DHCP Reservation to support Omada Layer 3 Switch Configuration. I have detailed the steps as much as I can, but if you see any errors, do let me know. I also added a video guide link to the bottom of the post in case you prefer the video guide.
Problem Statement:
When using Omada Console to configure SVI and DHCP Server, the Console can not reserve DHCP IP for VLANs that are not defined as Gateway VLAN Interface.
Work Around:
Enable DHCP Relay within the Omada Console for each SVI and use TP Link Omada Switch's DHCP Server capability to reserve IP in Stand Alone Mode.
Devices:
- ER605 - 192.168.0.1
- SG2008 - 192.168.0.50 (MAC AA-BB-CC-DD-EE-AA)
- SG3428X - 192.168.0.100 (MAC AA-BB-CC-DD-EE-BB)
- OC200 - 192.168.0.10 (MAC AA-BB-CC-DD-EE-CC)
- Workstation PC MAC: AA-BB-CC-DD-EE-FF
VLAN Configuration:
- VLAN 1 - 192.168.0.0 - Default VLAN (Gateway)
- VLAN 10 - 192.168.10.0 - Layer 2 VLAN (Switch Only)
Assumption:
- VLAN 1 and VLAN 10 already exists and configured
- No ACL
Wiring / Connection:
- ER605 [LAN1] <> [LAN1] SG2008 [LAN2] <> [LAN1] OC200
- ER605 [LAN1] <> [LAN1] SG2008 [LAN8] <> [LAN1] SG3428X
Goal/Tasks:
- Set Up Layer 3 Switch in Controller Mode
- Set Up DHCP Relay in Controller Mode
- Set Up DHCP Server in Stand Alone Mode
- Reserve 192.168.10.25 IP to WorkStation PC
Part 1: Configure L3 Switch in SG3428X in Omada Console
- Configure SG3428X SVI, and DHCP Relay:
Devices > SG3428X Switch > Config > VLAN Interface > Edit VLAN 10 > IP Address Mode: Static > IP Addess: 192.168.10.1 > Subnet Mask: 255.255.255.0 > DHCP Mode: DHCP Relay > Server Address > 192.168.0.50 > Apply > Apply
Part 2: Configure ER605 in Omada Console
- Enable ER605 Gateway Static Routing
Transmission > Routing > Static Route > Create New Route > Name: Route10 > Status: Enable > Destination IP/Subnet: 192.168.10.0/24 > Route Type: Next Hop > Next Hop: 192.168.0.100 > Apply - Reserve IP to SG2008
Services > DHCP Reservation > Create New DHCP Reservation > Network : VLAN 1 > MAC Address: AA-BB-CC-DD-EE-AA > 192.168.0.50 > Status > Enable > Apply - Reserve IP to SG2428X
Services > DHCP Reservation > Create New DHCP Reservation > Network : VLAN 1 > MAC Address: AA-BB-CC-DD-EE-BB > 192.168.0.100 > Status > Enable > Apply - Reserve IP to OC200
Services > DHCP Reservation > Create New DHCP Reservation > Network : VLAN 1 > MAC Address: AA-BB-CC-DD-EE-CC > 192.168.0.10 > Status > Enable > Apply
Part 3: Configure SG2008 DHCP Server in Stand Alone Mode
- Enable DHCP Server
L3 Features > DHCP Service > DHCP Server > DHCP Server > DHCP Server: Enable > Apply - Add IP Pool for VLAN 10
L3 Features > DHCP Service > DHCP Server > Pool Settings > Add > Pool Name: Pool 10 > Network Address: 192.168.10.0 > Subnet Mask: 255.255.255.0 > Default Gateway: 192.168.10.1 > DNS Server: 192.168.0.1 > Create - Reserve IP to WorkStation PC
L3 Features > DHCP Service > DHCP Server > Manual Binding > Add > Pool Name: Pool 10 > IP Address: 192.168.10.25 > Binding Mode: Hardware Address > Hardware Addess: AA-BB-CC-DD-EE-FF > Hardware Type: Ethernet > Create - Save the settings
Save
Part 4: Testing
- Configure VLAN 10 Access Port
Devices > SG3428X Switch > Ports > Port 2: Edit > Profile: VLAN 10 > Apply - Connect WorkStation PC to SG3428X [Port 2]
- Observe IP, it should get 192.168.10.25.
Part 5: Verification:
- Check the IP leased to WorkStation PC in SG2008
L3 Features > DHCP Service > DHCP Client List > Type: Manual > Left Lease Time(s): Infinite - Check the IP leased to WorkStation PC in Omada Console
Clients > Workstation PC > IP Address
If you would like to see the video guide for a more complex set up, you can refer to the logical diagram below and then check this out: