MQTT Broker and IoT guest access

Hello,
my HomeAssistant is connected once via LAN to my router and once via Wifi to the guest access. My idea is, that all smart devices are connected to the guest access like an IoT network.
The MQTT broker IP adress is the adress of the LAN network, my ESP isn´t able to send topics to MQTT, because devices in guest access can not see devices in the “main” network.

Is there any option to get the MQTT broker to connect to HA wifi part (guest access) DNS?

hope, i could explain good enough

Thanks for helping me!

This does not have anything to do with DNS.
Your server that is running the MQTT broker has one IP address on the ethernet interface and another one on the WiFi (guest network) interface. The command ip addr should tell you what the addresses are. You need to specify the IP address of the server’s guest network interface on your ESP.

that is what I did. Before I set up the guest access, the ESP communicated with the MQTT broker.
I tested connection with my laptop and MQTT Explorer and I also failed to connect to the broker, if my laptop is connected to guest access

here my laptop was connected to “main” access

Issue is, that devices into the guest access can´t see devices on “main” access. In fact that HA is connected to both accesses, my hope was to get a bridge between both accesses…

i found the issue :sweat_smile:

devices in guest access get another IP address
main access: 192.168.178.xx
guest access: 192.168. 179.xx

thank you anyway!