Hi!
I just change my router and now I’m in the 5G band, all my ESP8266 devices are in the 2.4G band, I just saw that both networks are not in the same WLAN, is there a way that I can bridge my MQTT to the other network?
That seems like a very odd configuration. There’s no reason the 5G and 2G bands have to be separate networks and I’ve never actually seen a set up like that; certainly not by default.
If the devices on 5G and 2G cannot route to each othere there really isn’t a whole lot you can do. Maybe you can add a second WiFi dongle to the machine running Mosquitto so that machine is on both networks.
A more correct approach would be setting up the router so that there are routes between the two networks so that all the devices can reach each other (e.g. devices on the 2G network can ping the IP addresses on the 5G network and vise versa.
Routes between router seems the more correct way, I’ll try to make it work.
Yeah when upgrading I found out that all my ESP8266 can’t connect to 5G and my MQTT/Mosquitto is not in the same LAN…
It might be one of those routers that creates a separate IoT network on 2.4GHz for security.
@audioguru, are you able to modify your router settings? The easiest thing you can do is to turn that off.
You’ll find that most smart devices (switches, bulbs, etc.) only use 2.4GHz radios. It reduces costs and complexity.
OK… @rpwong that’s part of the problem…and I’m the one responsible for, when I did create the new network I told the router NOT to broadcast on 2.4G, only on 5G… And I made a guest Network on 2.4G assuming that they would be in the same LAN…Duuuhhhhh.
I’ll reset or just delete my new 5G network and I’ll make it enable to broadcast on both frequency, that should do the trick.
It’s a common mistake these days, and easy to make. Network segregation seems like a good idea when you come across it in the router settings, and we don’t think about the fact that our phones/computers often need to be able to access the IoT devices on the local network.