01-02-2019 02:44 AM
i have the following setup installed just last week:
UniFi Security Gateway 3P
UniFi Switch 24 POE-250W
UniFi Switch 8 (remote switch)
i use a MQTT server for IoT, the MQTT uses port 1883
- when i connect to it wired from any switch, it works.
- when i connect to it using a 5g wifi device it works
- when i connect to it using a 2.4g wifi device i cant see the server.
i have setup a diferent device, diferent programs, using 2.4g and get the same result.
01-04-2019 11:41 AM
i have now gone back to my old network to see if i have the same problem but on the old problem my mqqt works as it should.
is there something i need to open my router to get full connectivity between my lan and my wireless lan?
01-04-2019 12:48 PM
after reading this article:
i found out there is a problem with internal DNS
then i found out in this page:
that internal DNS only works if the client is set to DHCP and not static.
this is to bad, this server controls my heating system and i would like to keep this on static IP.
is there a way around this problem?
01-04-2019 01:19 PM - edited 01-04-2019 01:21 PM
Use DHCP to give the device a static address and name.
From the Clients screen select the device in question.
On the properties panel switch to configuration.
Enter the desired name under Alias.
Open the Network tab and select "Use fixed IP address"
Fill in the IP address.
Edit: Not sure why those screenshots are so huge lol
01-05-2019 12:57 AM
i found this feature before but this is not what i ment, also that wont fix my problem.
i restarted my gateway and the local dns cant be found again.
adding this rule to my router help :
set system static-host-mapping host-name controller inet 192.168.0.12
but it wont stick after provisioning or reboot
01-05-2019 01:29 AM
in search for a solution i found out that if i add the domainname from my lan network i can connect to the mqtt server.
so instead of just controller i changed it to controller.lan (lan being the domain name of my lan network).
this seems to work as a workaround, unless its intended to be working like this?