Page 1 of 1

LWIP: Attach DHCP server to multiple interfaces.

Posted: Thu Apr 27, 2023 1:07 pm
by DrMickeyLauer
I'm working on a WiFi/Ethernet bridge project. I want one DHCP server running on my ESP32(C6) to hand out addresses to both the wired ethernet and WiFi.

What's the best way to approach this?

Can I adjust the dhcp server to listen on more than one `esp_netif`? If not, can I get this behavior by enabling some sort of automatic L2 bridging between two `esp_netif`? If so, how?

Re: LWIP: Attach DHCP server to multiple interfaces.

Posted: Fri Apr 28, 2023 4:41 pm
by DrMickeyLauer
Apparently this is a complex topic being discussed with good results at https://github.com/espressif/esp-idf/issues/5697