# Do Gateways forward all LoRa messages?

**URL:** <https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155>\
**Category:** TTN Network and Services\
**Created:** [August 11, 2020, 1:12pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155 "2020-08-11T13:12:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilippRe](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/philippre/32/35697_2.png) [@PhilippRe](https://www.thethingsnetwork.org/forum/u/PhilippRe)\
**Post date:** [August 11, 2020, 1:12pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/1 "2020-08-11T13:12:17Z")

</div>

Hello,

I really did not find an answer to this seeminly simple question yet (seems its time to read the complete specifications 🙂 ):  
What exactly does a gateway do with messages that do not belong to its own network?

- Does it simply forward any LoRa packets it receives and leaves it up to the network server to decide that the packet does not belong to this network (so a rather dumb gateway forwarding everything it receives)

- Or is there some intelligence on the gateway, meaning it knows which DevAddr’s belong to its own network and only forwards these messages?

Thanks & best regards  
Philipp

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [August 11, 2020, 1:33pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/2 "2020-08-11T13:33:16Z")

</div>

> [@PhilippRe](#):
>
> Does it simply forward any LoRa packets it receives and leaves it up to the network server to decide that the packet does not belong to this network (so a rather dumb gateway forwarding everything it receives)

This.

There are some gateways with some filtering mechanisms on them, but that’s not a normal situation.

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [August 11, 2020, 3:38pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/3 "2020-08-11T15:38:51Z")

</div>

> [@PhilippRe](#):
>
> forward any LoRa packets it receives

Just to be sure: gateways should not forward packets for which the CRC failed. So, to be nitpicking: not _any_ packet per se.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [August 11, 2020, 3:51pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/4 "2020-08-11T15:51:49Z")

</div>

OK, bit existential, but I am `descartes` after all, so, is a packet a LoRa packet if it fails CRC or is it just noise?

And if a developer codes in the woods, can he leave out the comments?

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [August 11, 2020, 4:05pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/5 "2020-08-11T16:05:24Z")

</div>

Hmmm, I guess that CRC failures indeed indicate noise. 🙂

However, LoRa does not require CRC to be enabled. But LoRaWAN does, [for uplinks](https://www.thethingsnetwork.org/forum/t/payload-with-only-2-characters-and-coding-rate-4-7/24813/14) (just like it requires specific other LoRa-settings, such as a coding rate of 4/5.)

So, CRC-less LoRa exists as well. Now, would a gateway recognize/reject a CRC-less LoRa packet…? Maybe that’s covered in [Phantom Packets](https://www.thethingsnetwork.org/forum/t/phantom-packets/14763), which I remember being a nice read anyhow. A teaser quote and image:

> If that is the case how can it be that the CRC is valid for about 70% of the phantom packets?
> 
> ![tunnel](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/f/e/fe92529cce142b104237a79d466588a3e988c664.jpeg)

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [August 11, 2020, 4:07pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/6 "2020-08-11T16:07:57Z")

</div>

> [@arjanvanb](#):
>
> Maybe that’s covered in [Phantom Packets](https://www.thethingsnetwork.org/forum/t/phantom-packets/14763), which I remember being a nice read anyhow. A teaser quote and image:

It would be, but Stuarts shut down his old website and hasn’t moved all his articles over to the new one yet.

But it’s beer o’clock and the Air Con has overflowed again, so we can stop now!

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [August 11, 2020, 4:11pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/7 "2020-08-11T16:11:41Z")

</div>

> [@descartes](#):
>
> Stuarts shut down his old website and hasn’t moved all his articles over to the new one yet

Ah, thanks for the heads up. I found the new locations, and updated @LoRaTracker’s forum post.

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [August 11, 2020, 4:18pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/8 "2020-08-11T16:18:28Z")

</div>

I remember the Phantom Packets postings - as yuo say it was a good read and good/interesting investigation by Mr. R. CRC invalid packets can be thought of as equavalent to noise for the front end…and definetly as interferers (by channel & SF), and given one has to partially process to determine if CRC failed then also represent a processing load on the system so worse than noise in impact in that it takes up a decoding/dsp/processing resourse… do CRC fails in the woods look like an unintentional DOS attack?! 🤣

Nick’s right its beer oclock and the heat is getting to me (yes I know unusual for the UK!)…

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [August 11, 2020, 4:26pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/9 "2020-08-11T16:26:42Z")

</div>

Along with a prodigious memory for previous posts, you should get a Sainthood badge for sorting these sorts of things out

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [August 11, 2020, 4:28pm UTC](https://www.thethingsnetwork.org/forum/t/do-gateways-forward-all-lora-messages/39155/10 "2020-08-11T16:28:26Z")

</div>

> [@descartes](#):
>
> It would be, but Stuarts shut down his old website and hasn’t moved all his articles over to the new one yet.

Stuart’s moved all his posts over since I last looked for something the other day on CAD - thanks Stuart, it is a very useful resource.
