See attached run down on LoRaWAN network architecture.