Reading position, not mastery.
Reading settings
Line spacing
Text width
Saved only in this browser. Theme and colors are in Appearance.
Explore, understand, practice

Why integrate with a mobile core when Wi-Fi already provides Internet?

UNDERSTAND THE PROBLEM FIRST

Foundations first · Bilingual · Examples and practice

Course map · فارسی

Objective and prerequisites

Explain through an example why Wi-Fi Internet alone does not provide an operator service, separate three connectivity milestones, and distinguish an interworking gateway from an AP, router and identity system. Detailed EPC knowledge is unnecessary. For now, an IP address supports packet delivery, and a session is stored state for a particular communication context.

1. The problem before the names

Imagine weak cellular coverage inside a building with fast Wi-Fi Internet. A handset can browse websites. We now want it to access an operator service using its mobile subscription. Does successful browsing establish everything required?

No. Local networking can deliver packets to the Internet, but that does not establish that the operator has verified the subscriber, authorized the requested service, or created its connection state. A local IP address helps answer “where should a packet go?” It does not fully answer “who is this subscriber and which service may they use?”

Our teaching motivation combines two separate needs: using Wi-Fi coverage and capacity, and retaining a mobile subscriber service model over that access. Offload means shifting some traffic load away from another path. Direct Internet breakout can also offload traffic; offload therefore does not always imply traversing the mobile core.

Historical IWLAN distinguishes WLAN Direct IP Access from WLAN 3GPP IP Access. WAG and PDG belong to that specific architecture. It is a historical context, not a universal name for later solutions. TS 23.234, clauses 5.1.3, 5.1.4 and 6.2

2. Three different milestones

Milestone What has been established? What does not follow automatically?
WLAN connectivity The handset and AP can exchange frames under local access configuration Operator subscription or service authorization
IP connectivity Address configuration and routing allow reaching IP destinations Reachability of every destination or subscriber verification
Operator service connectivity Required identity, authorization and service-session procedures have completed Success of every application or call; service dependencies remain

A shared home Wi-Fi password may permit local access. It is not itself proof of SIM identity to an operator. Enterprise WLAN may authenticate individual users, but we must still ask which identity system and which service authorization are involved.

3. Two conceptual paths for one handset

Handset←Wi-Fi←IP
01Direct Internet

Ordinary access to websites and applications

02Gateway → Mobile core

Depends on identity, authorization and connection state

Gateway ⇢ Operator control and identity functions (conceptual, architecture dependent)
One access, two conceptual paths; details depend on architecture.

This original simplified diagram permits different traffic from the same handset to use different paths simultaneously. The dotted arrow is a conceptual dependency, not one identical direct interface in every generation. Diagram text alternative: one path runs through AP and router to a website; the other uses that IP connectivity to reach an interworking gateway and core and depends on operator control and identity functions.

The AP solves local access. The router forwards between networks. Identity and control systems decide about subscribers and sessions. Depending on architecture, the gateway connects that access to core mechanisms; it does not make every decision independently of other functions.

4. What must a gateway relate?

Instead of memorizing equipment names, ask four design questions:

  1. Identity and authorization: who requested access, and which function supplies verification and authorization results?
  2. Security boundary: which path segments are trusted, and where must protection terminate?
  3. Connection state: which session and path or tunnel does a packet belong to?
  4. Enforcement and observability: which rules apply, and which events support troubleshooting or accounting?

This is a design model, not a mandatory feature list for every WAG product. Responsibilities are distributed between gateways and other core functions. Historical IWLAN assigns WAG responsibilities involving routing enforcement, filtering and charging support; PDG has a distinct role. Do not infer that WAG terminates every tunnel. TS 23.234, clauses 5.9 and 6.2.5–6.2.6

For a developer, the key implication is that a gateway is more than a packet receive/send loop. Control exchanges relate to packet forwarding state. An educational data model might be:

session S:
  subscriber_reference -> reference to verified identity
  authorization        -> permitted service or access
  forwarding_context   -> required routes, addresses and identifiers
  security_reference   -> related security context, where applicable
  lifecycle            -> creating, active, releasing

This is not a standard API or state machine. It is a design exercise. Data arriving without valid context should, for example, be diagnosable; successful control signalling alone does not prove that forwarding was installed correctly.

5. What does trusted mean?

In EPC, trusted/untrusted is not an intrinsic property of a radio technology; operator decisions and the trust model matter. A password-protected or company-owned AP alone does not establish trusted architecture. Untrusted EPC access uses ePDG; for trusted WLAN we will study TWAG within TWAN. TS 23.402, clauses 4.2, 4.3.1.2 and 16

For example, a handset may use home Wi-Fi only to obtain IP reachability to an operator gateway. The operator need not treat the home AP as a trusted member of its network. Core access mechanisms establish their appropriate security boundary. IKEv2 and IPsec details belong to their dedicated lesson.

6. Read names within architectures

Context Names encountered Common mistake
Historical IWLAN WAG and PDG Assigning every PDG responsibility to WAG
EPC and WLAN TWAG for trusted WLAN; ePDG for untrusted access Treating ePDG as merely a renamed WAG
5GC and non-3GPP access N3IWF for untrusted; TNGF for trusted Equating 5GC registration with EPC procedures

In 5GC, N3IWF and TNGF correspond to untrusted and trusted access respectively, with N2 and N3 toward core control and user-plane functions. This lesson only establishes the name map. TS 23.501, version 19.5.0, clause 4.2.8.1

A commercial WAG may bundle more capabilities. Identify a product through versions, interfaces, protocols and actual roles. Even a handset displaying “5G” does not independently establish which core architecture serves this particular access path.

7. Worked example: browsing works, operator service fails

Teaching assumption: at home a user can browse, but the requested operator service fails. We have no trace yet.

First, interpret browser success narrowly: one path worked for that destination at that time. It does not prove another path works.

Second, list service dependencies: local access, IP connectivity, reachability to the appropriate entry point, authentication and authorization, connection state and forwarding, then service-specific procedures. This is a teaching sequence; exact timing of some stages depends on architecture.

Third, collect boundary-specific evidence. Was a request sent to the correct destination? Did a response return? Did authentication succeed? Was context created? Did return traffic arrive? Only this evidence supports attributing failure to a particular layer.

Fourth, keep the conclusion limited: browsing success does not prove the entire network is healthy, and it does not yet prove a gateway failure either. For Wi-Fi Calling, IMS registration and service procedures still require separate investigation even after correct core connectivity.

8. Independent practice and retrieval

Answer without looking back:

  1. At a hotel you associate with Wi-Fi and obtain an IP address, but a captive portal still blocks access. Which milestone cannot be assumed successful?
  2. An AP uses WPA protection. Does this establish trusted EPC connectivity? Explain.
  3. A trace shows successful authentication but no returning service packets. Suggest two distinct investigation boundaries without declaring a definitive cause.
  4. A colleague proposes supporting 5GC by renaming the WAG class to N3IWF. What must be checked before accepting the claim?
  5. Explain to a beginner in two sentences why offload does not always imply mobile-core integration.
Reveal answers after your attempt
  1. AP association and IP assignment do not establish unrestricted reachability to the intended destination. A portal may restrict forwarding. There is also no evidence of operator service connectivity.
  2. No. WPA describes WLAN protection and access control; trusted EPC concerns operator trust and integration architecture.
  3. First investigate session creation and data path or tunnel installation; then investigate request/response delivery to the destination service. Firewall, MTU and destination failure are hypotheses, not established causes. Successful authentication does not prove every subsequent stage works.
  4. Check architectural responsibilities, UE capabilities, control and data interfaces, messages, security procedures, session model and standard versions. Renaming a class does not implement those differences.
  5. Offload reduces load on one path by using another. Traffic sent directly from Wi-Fi to the Internet can reduce cellular-path load without entering a mobile core.

If questions 1 or 3 were difficult, insert a failure between two stages of section 7 and explain why success of the preceding stage does not rule it out.

Continue when you can separate WLAN, IP and service connectivity, avoid inferring trusted architecture from AP passwords, and attach gateway names to architectures. Review section 2 for the first gap, section 5 for the second, and section 6 for the third; then invent a fresh example. Tomorrow, analyze the browsing-success/service-failure scenario without the text. This is a review suggestion, not an automation.

Related continuation: Wi-Fi or SIM authentication?. The AP/router/DHCP/NAT foundations lesson has not yet been authored.

Sources and status

Sources checked on 2026-10-16. The editions above distinguish contexts and are not one interoperable laboratory profile. Scenarios, diagram and session model are original teaching material. Relevant historical claims link to standard clauses. Content is authored; personal learning is not inferred from its creation.

NEXT CHAPTERWi-Fi or SIM authentication? Components and standard message paths↗