Page 1 of 1

Local Network IP Address (DNS) Reservation + ESP32 WiFi

Posted: Wed May 20, 2026 1:47 pm
by canary_wharfe
Has anyone met the situation where they want to reserve a specific IP address on the local network to permanently install an ESP32 module BUT the network also includes a WiFi extender to the base router?
Normally you can go into the router setup utility and reserve an IP address to a specific hardware MAC address and in the case of an ESP32 module it will be the base MAC addr of the ESP32 wireless. But when you have a WiFi extender in the network that unit also creates a virtual MAC address so when you go into the router setup menu and look at allocated IP addresses and associated MAC addresses you will see the ESP32 module has 2 separate entries with two different MAC addresses; one real and one virtual. So in terms of IP address reservation should I be reserving / allocating the IP address to the real MAC address or the virtual MAC address of the ESP32 module?

I realise this is probably a very unusual use case and probably no one knows, but thought I would throw this out here and see if I get any pointers from anyone who has created extensive Flowcode WebDev webserver projects with ESP32 modules permanently attached to their local network.

Re: Local Network IP Address (DNS) Reservation + ESP32 WiFi

Posted: Wed May 20, 2026 2:43 pm
by Steve-Matrix
I'm not an expert in this area, but I would think the real MAC address is what you need to use. I say this because I think the virtualisation will be something that is internally translated between the WiFi and the extender.

As I say, this isn't my field of knowledge and I'm making an (un?)educated guess.

Re: Local Network IP Address (DNS) Reservation + ESP32 WiFi

Posted: Wed May 20, 2026 3:35 pm
by chipfryer27
Hi

I don't think FC allows you to set a static IP on an ESP32 but it may be possible via IDE.

I don't really use ESP32's that much, but if I need to give a PIC or whatever IP connectivity, I do use the 8266 as a cost effective interface. However, and this took me by surprise, they often change their MAC addresses seemingly from a pool of four, so for me I assigned a static IP and then in my router set the DHCP pool addresses higher than my static range.

So if you can set your 32 with a static IP you may be able to do something similar.

Sorry I can't be of much help.

Regards