So far we have explore, EMM and ECM aspects of NAS. EMM and ECM apply to per UE. So UE has single entity for EMM and ECM. This is not the case for ESM. At least theoretically... I mean to say, practically the earlier implementation may restrict one bearer per UE and connectivity with single PDN. However theoretically a UE can have multiple bearers per PDN and also connectivity with multiple PDNs. ESM is per EPS bearer. Each bearer has its own ESM FSM.
PDN is some network external to operator’s LTE infrastructure. LTE infrastructure includes eUTRAN and EPC. Ultimately LTE or any other wireless network provides layer 2 connectivity for a mobile UE. So that end-user can transfer its layer-3 user packets (most likely IP packets) to some external network (most likely Internet). UE has layer 3 user data IP packets, that go (and come also from) beyond LTE infrastructure to PDN. The ‘name of PDN’ is ‘APN value’. Internet, corporate intranet, MMS, IMS etc are popular example of such PDN. P-GW is at boundary between EPC and PDN.
UE needs an EPS bearer starting from UE to exit gateway (P-GW) of LTE network. Generally UE has one default bearer per PDN. Default bearer does not have neither QoS treatment nor TFT filters for user data. It just provides a basic connectivity between UE and P-GW for a single PDN. Some mobile application like VoIP call needs QoS treatment for user data. Dedicated bearers are meant for that. Here UE can demand QoS and TFT, but not new UE IP address. UE has single IP address per PDN. If UE and PDN both support both IPv4 and IPv6 dual stack, then only UE can have two default bearers and two IP addresses (IPv4 address and IPv6 address) per PDN.
If UE and network both capable to provide connectivity to multiple PDNs, then UE can have multiple default bearers and multiple IP addresses. It is like your desktop PC has multiple Ethernet cards, so you can connect your PC to multiple networks and configure it with multiple IP address. UE has single invisible OFDMA based LTE air interface towards network. However still it can emulate like two different Ethernet cards. At user plane UE can have multiple Layer 3 IP layers, with common Layer 2 LTE network. Each layer 3 connected to different PDNs. So UE have multiple bearers from UE to across LTE infrastructure till P-GW. Within single layer 3, UE can have default bearer for best effort treatment and possible dedicated bearer(s) for QoS treatment.
All EPS bearers (i.e. default and dedicated) have EPS Bearer ID (EBI). Network assigns its value. Earlier in 2.5G GPRS 3G UMTS network we had NSAPI, for EBI. So at UE few EBI values are used for default bearer(s) and rest are for dedicated bearer(s). UE can have one default bearer and zero or more dedicated bearer(s) per PDN. With EBI value, one can not discriminate whether it’s for default bearer or dedicated bearer. LBI plays important role to link them and bundle them together. All dedicated bearer related messages contain LBI IE. Its value is EBI of default bearer for that PDN.
UE may have static IP address configures with OTA for per APN/PDN. Most of the case, P-GW acts as DHCP server and assign dynamic IP address to UE at the time of default bearer creation. Yes in some P-GW implementations, it consult radius server to allocate IP address for UE. Dynamic IP address allocation happens during default bearer allocation. This IP address remain same and valid for all other subsequent new dedicated bearer(s) for that PDN.
The following tree makes this concept clearer.
- LTE layer 2 connectivity with eUTRAN+EPC
- Layer 3 IP (IPv4 or IPv6)connectivity to PDN1, UE IP = IP1
- Default bearer. No QoS, EBI = EBI1
- Dedicated bearer 1 with QoS1, EBI = EBI2, LBI = EBI1
- Dedicated bearer 2 with QoS2, EBI = EBI3, LBI = EBI1
- Layer 3 IP (IPv4 or IPv6)connectivity to PDN2, UE IP = IP2
- Only single default bearer. No QoS, EBI = EBI4
- Layer 3 IP (IPv4)connectivity to PDN3, UE IP = IP3
- Default bearer. No QoS, EBI = EBI5
- Dedicated bearer 1 with QoS3, EBI = EBI6, LBI = EBI5
- Layer 3 IP (IPv6)connectivity to PDN3, UE IP = IP4
- Default bearer. No QoS EBI = EBI7
- Dedicated bearer 1 with QoS4, EBI = EBI8, LBI = EBI7
Here PDN1, PDN2 and PDN3 all are different, having different APN values. IP1, IP2, IP3 and IP4 may or may not be different. QoS1, QoS2, QoS3 and QoS4 may or may not different. EBI1 to EBI8 all are different values, not necessary they are in sequence.
Practically the minimum implementation without QoS lookes like:
- LTE layer 2 connectivity with eUTRAN+EPC
- Layer 3 IP (IPv4)connectivity to only single PDN 1, UE IP = IP1
- Only single Default bearer. No QoS, EBI = EBI1
It looks like this article about NAS ESM is becoming lengthy. So let’s have break after some details about PCO IE.
PCO IE is used to carry UE address. It also carries Primary and Secondary DNS addresses for that particular PDN. So the application can query and resolve any domain name to IP address by contacting the DNS server, within that PDN. All these three IP addresses can be IPv4 address or IPv6 address or both. It depends. If UE already knows their values, it mentions them in PCO, to confirm. Else, UE mention value as 0.0.0.0 (for IPv4 case) to request network for new assignment. PCO IE contains, PPP. PPP contains IPCP for all these IP addresses. PPP can also contain PAP and/or CHAP protocol(s) for user authentication. PCO and TFT are IEs, that are initiated at UE, transparently carried by intermediate nodes (eNB, MME and S-GW) and reached ‘as they are’ at P-GW.
Recap: This article covers, some important concepts about bearer and few important IEs like EBI, LBI, APN, PCO. I will continue ESM in next article and we will explore various ESM procedures.