Gateway selection for downlink situation

Hi guys,

In my setup I have one chirpstack-packet-multiplexer, multiple gateway and multiple backend servers.

when backend servers try to send Radio packet out (downlink), how the chirpstack-packet-multiplexer determine which gateway will be selected for sending the signal? how can I setup multiplexer to always use a specific gateway to send signals?

For example config is like below with fake GW ID (3 gw, 3 backend):

[[packet_multiplexer.backend]]

backend 1

host=β€œ10.0.0.1:1800”
uplink_only=false
gateway_ids = [
β€œ1111111111111111”,
β€œ2222222222222222”,
β€œ3333333333333333”,
]

[[packet_multiplexer.backend]]

backend 2

host=β€œ10.0.0.2:1800”
uplink_only=false
gateway_ids = [
β€œ1111111111111111”,
β€œ2222222222222222”,
β€œ3333333333333333”,
]

[[packet_multiplexer.backend]]

backend 3

host=β€œ10.0.0.1:1800”
uplink_only=false
gateway_ids = [
β€œ1111111111111111”,
β€œ2222222222222222”,
β€œ3333333333333333”,
]

Thanks

Up…

Still nees help…

If the device sends uplink via gateway A, then the downlink will be to gateway A?

I never use multiplexer btw. However, the above logic seems true for normal scenario without multiplexer.

Excluding the multiplexer scenario, yes, an uplink received on only one gateway will send back on the same gateway. An uplink received on multiple gateways will send downlinks on the gateway that received it with the strongest signal.

1 Like

Please note that the multiplexer operates on the UDP level, it does not contain any logic about gateway selection for downlink. It is the network-server that decides which gateway must transmit the downlink.

1 Like

thank you all for your input.