GGSN – What GGSN stands for
GGSN full form is GPRS support Node. A mobile network operator deploys GGSN, in-home PLMN, as a gateway to provide internet service to a mobile subscriber. GGSN has access to the mobile subscriber data for GPRS.
On the network side, GGSN has a GTP protocol-based interface toward the roaming network. For a subscriber, it may have a diameter-based interface or any other interface for accessing a SIM card subscription.
GPRS Network Registration:
For data services, a sim card first connects to the SGSN in the roaming network. SGSN sends the authentication request to the HLR in-home network with the IMSI. HLR sends the request to the AuC (authentication center, holding sim card information for generating authentication data). The mobile device gets the authentication information if a subscriber or IMSI is provisioned on HLR and Auc.
After successful authentication, the sim does a GPRS location update. During the location update, HLR sends the GPRS subscription data to the device. A GPRS subscription has APN and QoS or Quality Of Service profile.
The SGSN uses values received in QoS for setting a bearer channel with the device. After a GPRS location update, the data signal on the device is visible in the case of 3G. In LTE, after registration with HSS (in LTE, HSS holds the subscription ). For the gateway in place of GGSN, have PGW in LTE.
Data Session Creation:
After registration, SGSN creates a data session with the GGSN over the GTP protocol. This is called PDP context activation. PDP Context activation setup a logical tunnel between GGSN and SGSN using GTP-C. The following shows create PDP call flow along with GPRS registration.
Protocols for data services in 3G and 2G networks.
GSM MAP over SS7 :
SGSN and HLR/AuC use this protocol over ss7/Sigtran. The home network should have an agreement with the roaming network.
SGSN sends Send Authentication-Info (SAI) gsm map message to the HLR/AUC to authenticate a user or IMSI. HLR sends SAI response to SGSN. In response based on APN, SGSN drives the GGSN address.
After successful authentication, SGSN initiates a GPRS update location procedure with HLR. SGSN sends an Update GPRS Location map operation over ss7 to the HLR. On success, HLR returns GPRS data in the Insert Subscriber Data map operation.
GTP-C is the control plane protocol between SGSN and GGSN for creating a PDP context. After the PDP context setup, a tunnel is formed between SGSN and GGSN. GTP-C protocol version 0 and version 1 are used in 2g and 3g data.
This protocol carries the actual data or user plane data for the internet. IP packets are received over the tunnel from SGSN and sent to PDN from GGSN. Ip packets were received from PDN and returned to the SGSN in the tunnel. GTP-U version 1 is used.
UDP protocol :
GTP-C and GTU-U protocols use the services of User Datagram Protocol.
UDP uses the services of Internet Protocol.
Protocols for data service in LTE:
In LTE, in place of HLR, HSS is used, and in place of SGSN, MME is used. The protocol between MME and HSS is the diameter. S6a diameter interface is used.
LTE uses GTP-C version 2; for GTP-U, the version is 1.