Chirpstack v4 can support multiple regions which is cool.
However, I want to avoid installing chirpstack-gateway-bridge on LoRaWAN gateways and to use Semtech UDP port 1700.
Then I install chirpstack-gateway-bridge on the server.
However, it seems that in v4, the chirpstack-gateway-bridge only supports 1 region.
=> So I need to install multiple chirpstack-gateway-bridge instances?
In v3, I need 1 application server + multiple network servers + 1 gateway bridge.
In v4, I need 1 Chirpstack server + multiple gateway bridge servers.
=> So how to install multiple instances for v4 chirpstack-gateway-bridge?
To be honest, I’m surprised you were supporting multiple network servers with a single gateway bridge under v3. I imagine it could be deployed that way, but I guess I’m used to seeing people geolocate their network servers anyway.
But to answer your question - as I understand it, yes, the gateway bridge is now tied to a region by MQTT topic, so you will want to run multiple. If they all need to run on the same public/exposed IP, you could select different UDP ports to receive traffic for each bridge.
I am doing a lot of tests for my company and have 5 gateways for different regional settings for these tests.
It is much easier to have them all on one network server than jumping around between different installations.
In my opinion, you neither need multiple network servers nor multiple gateway bridges.
One gateway bridge and a properly configured mqtt bridge (a feature of mosquitto) could do the job.
Just remove the region prefix in gateway bridge config and add it back based on gateway topic name in the mqtt bridge.
No additional installation needed.
That’s a nice feature, but how/where do you track your gateway-region mapping for topic rewriting as you scale up to thousands of gateways? It sounds like a lot more work than spinning up an extra container per region, whether that’s the network server (v3) or gateway bridge (v4).
I did the same thing like you did before asking. I removed the region in the bridge toml too.
However, my AS923 gateway seems to be wrongly detected as AU915 when I use AS923 and AU915 concurrently.
AS923 and AU915 have some similar frequencies.
How does Chirpstack v4 know if a gateway uses AS923 or AU915 if no region in bridge is specified?
Thanks a lot.
Just another thought.
Since you’ve written that v4 is also accepting the non prefixed topics (perhaps some kind of legacy mode) but is interpreting the region wrong, you should perhaps think about a generic saveguard prefix (added to the gateway bridge toml and the mosquitto conf).