Mosquitto running in Synology Docker and multiple gateways in DSM enabled - not connecting to Homeassistant anymore #3205
Labels
Status: Available
No one has claimed responsibility for resolving this issue.
I have a strange problem that involves the Synology, multiple VLANs and Docker container with Mosquitto running.
First the structure:
VLAN 1 - 192.168.1.0/24 - NAS has the 192.168.1.2
VLAN10 - 192.168.10.0/24
VLAN20 - 192.168.20.0/24
VLAN30 - 192.168.30.0/24
connected devices via LAN are in VLAN1
Mobile devices are in the VLAN10 via SSID 1
IoT Devices for Homeassistant are in VLAN20 via SSID2
Kids mobile devices are in VLAN30 with another external DNS server for secure browsing via SSID3
Docker Containers are running on the NAS
eg. Homeassistant - host network mode
MQTT Broker Server - bridge mode
Omada SDN Controller - bridge mode
Uptime Kuma - bridge mode
Plex - bridge mode
I want to connect from a VLAN30 device to the NAS - which I found that this is not working, either any of the docker services is reachable, nor the NAS itself.
I tried to ping the 192.168.1.2 and got no response - what is strange
I tried to ping any other device in the VLAN1 - which is working
I connected to the VLAN10 and I could ping the NAS and services
I connected to VLAN20 and 30 and only the NAS is not pingable
I found in DSM the advanced network setting - multiple Gateways
When I enable this, instantly the NAS was reachable from the other VLANs BUT in the sametime, the homeassistant Docker Container was unable to reach the MQTT Broker.
The IoT devices continued to send data to the MQTT Broker, but Homeassistant could not connect anymore.
Disabling the multiple Gateways, returned the HA to MQTT connection to normal operation, but killed the reachability from other VLANs.
I am out of ideas how this can be solved to be working on both sides. To my finding I would nail it down to an mosquitto issue.
The text was updated successfully, but these errors were encountered: