DHCP Relay on TL-R605

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12

DHCP Relay on TL-R605

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
13 Reply
Re:DHCP Relay on TL-R605-Solution
2021-12-10 14:38:58 - last edited 2021-12-13 03:19:15

@haggyman @Fae @Eguliker 

 

Good News!

I had a remote session with one of the engineers from the support team. After checking my configuration, we found the issue causing this.

 

The tl;dr:

You need to enable VLAN Interfaces for all your VLANs/Subnets. So in my case, I have a my server/shared services separated from my normal clients and needed a VLAN Interface there as well. After I configured and enabled one, my clients got their lease from my DHCP server, which is connected on a different switch and different VLAN.

 

So go to devices -> click on your switch -> Config -> VLAN Interface -> Edit -> Enter an IP address or set it to DHCP, configure DHCP Relay address -> Apply and then enable the VLAN Interface

Repeat for all switches/VLANs

 

The details for those interested:

So in my setup things are splitted up nicely:

  •  one VLAN for all my normal clients (PCs, mobil clients, etc.)
  •  one VLAN for Guests
  •  one VLAN for all shared services/servers
  •  one VLAN for everything IoT related
  •  one VLAN for management of Omada devices

 

In my thinking, the VLAN interface was only needed for the client VLAN, as it would act as another gateway and relay the DHCP messages. I have a ER-605 which I thought was responsible routing between the switches. So the interfaces, it had configured should be enough for inter VLAN routing (which in fact is enough for one direction). But the switches need their L3 interfaces as well.

A working example with my address ranges:

 

  • Client Subnet is 192.168.200.0/24 with VLAN 200
  • Server Subnet is 192.168.50.0/24 with VLAN 50
  • Interfaces on the ER-605: 192.168.50.1 and 192.168.200.1
  • DHCP Server address: 192.168.50.2

 

Since I have two switches I needed four more addresses to cover all SVIs (need to clear the address of my DHCP so the .2 gets available for the SVI):

  • Switch1: 192.168.50.100 and 192.168.200.2
  • Switch2: 192.168.50.101 and 192.168.200.3

 

Example config for Switch 1:

Devices -> Switch 1 -> Config -> VLAN Interface

VLAN 200 (enabled):

  • Management VLAN: not enabled
  • IP Address Mode: Static
  • IP Address: 192.168.200.2/24
  • DHCP Mode: DHCP Relay
  • Server Address: 192.168.50.2

 

VLAN 50 (enabled):

  • Management VLAN: not enabled
  • IP Address Mode: Static
  • IP Address: 192.168.50.101/24
  • DHCP Mode: None

 

Repeated that on Switch 2 with the other addresses and my client got his lease from my DHCP.

 

I hope that this makes sense and that it resolves your issues as well. If you have trouble and I should share more of my configuration let me know.

Recommended Solution
  3  
  3  
#12
Options
Re:DHCP Relay on TL-R605
2021-12-11 11:36:16 - last edited 2021-12-11 11:37:04

Hi @dapL!

 

Thanks for your elaborate reply. Glad to see there is a solution! Not sure this is the solution I was hoping for. In a way it makes sense to enable the vlan interfaces of all involved vlans for DHCP Relay, because normally you would configure DHCP Relay on your L3 device/router which has those vlan interfaces as well.

 

That is exactly why I find this implementation very weird and not intuitive. It is nice to be able to use your switch as a L3 switch and having these capabilities, but I think it should be present on the router in the first place.

 

Now we have to make a lot of configuration on our switches (which we intended to work as L2/access switches) to be able to configure DHCP Relay on them, which should be configurable on the router.

 

@Fae is the implementation of DHCP Relay on the (TL-R605) router on the roadmap for Omada? If not, I would like to make it a feature request.  

  0  
  0  
#13
Options
Re:DHCP Relay on TL-R605
2021-12-13 03:20:05

Dear @haggyman,

 

haggyman wrote

@Fae is the implementation of DHCP Relay on the (TL-R605) router on the roadmap for Omada? If not, I would like to make it a feature request.  

 

Thank you for your valued feedback. I've written this down as a feature request for further evaluation.

>> Omada EAP Firmware Trial Available Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#14
Options
Related Articles