Hello,
I have an Ubiquiti AP AC Lite router running OpenWrt and I want to attach the router to an existing local network further I wanto connect some esp32 boards to the OpenWrt router. The problem is, how to find the router in the network. It would be much easier if I could give the router a static ip adress which is always the same so I just have to connect the esp32 boards to the wifi network of the OpenWrt router.The esp32-boards must know the ip adress of the server because the mqtt-client needs the ip adress of the broker which is running on the OpenWrt Server. Of course I could have a look inside the Internet gateway and see the ip adress of the OpenWrt router but this could be another ip adress if I connect the OpenWrt router to another network, which is also a goal. Would be nice if it could be possible to configure the OpenWrt router in such a way that I just have to connect the OpenWrt router via Lan cable to an existing network and the ip which is seen from the esp32 boards is always the same. Because of that they only need to connect to Wifi of the OpenWrt router. The Ip Address of the OpenWrt Server is would be hardcoded in the esp32.
I hope its understandable despite my broken english
I'd appreciate any help! Thanks.
Sebastian