# 4G Inbound Roaming Sample - Hosts File
# Source: Magma LTE testbed (magmacore.org)
#
# Format:
#   IP hostname          - Standard /etc/hosts format
#   IP:port hostname     - VisualEther extension for port-specific mapping
#
# Naming Convention: Entity.Domain (hierarchical dot notation)
#   - EPC: Evolved Packet Core elements (4G core)
#   - RAN: Radio Access Network elements
#
# Network Architecture:
#   This capture shows a roaming UE attach where the visited MME queries
#   the home HSS via a Federation Gateway (Diameter S6a), and establishes
#   PDN connectivity through GTPv2-C control plane.
#
# Protocol Interfaces:
#   - S1-MME: eNB <-> MME (SCTP port 36412, S1AP signaling)
#   - S6a: MME <-> HSS (SCTP port 3868, Diameter)
#   - Gy: OCS charging interface (SCTP port 3868, Diameter)
#   - Gx: PCRF policy interface (SCTP port 3868, Diameter)
#   - S11: SGW <-> PGW (UDP port 2123, GTPv2-C)
#
# Key Identifiers:
#   - IMSI: 001020000000064
#   - APN: roam
#   - Diameter Hosts: magma-fedgw.magma.com, tvm-vhss.magma.com

# RAN Domain - Radio Access Network
172.16.10.104 📡 eNB.RAN         # eNodeB (S1-MME signaling)
172.16.10.4   📡 eNB-U.RAN       # eNodeB user plane (S1-U)

# EPC Domain - Visited Core Network
172.16.10.101 📍 MME.EPC         # Mobility Management Entity (S1-MME)

# EPC Domain - Diameter Interfaces
172.16.1.12   🔗 FedGW.EPC       # Federation Gateway / MME-SGW (Diameter S6a + GTPv2)
172.16.1.9    🔐 HSS.EPC         # Home Subscriber Server (tvm-vhss.magma.com)
172.16.1.13   🔗 AGW.EPC         # Access Gateway (Diameter client)
172.16.1.14   💰 OCS.EPC         # Online Charging System (tvm-vocs.magma.com)
172.16.1.6    💰 PCRF.EPC        # Policy & Charging Rules Function (tvm-vpcrf.magma.com)

# EPC Domain - GTP Control Plane
172.16.1.2    🌐 PGW-C.EPC       # PDN Gateway Control (GTPv2-C)

# EPC Domain - GTP User Plane
172.16.20.4   🚪 SGW-U.EPC       # Serving Gateway User Plane (S1-U / S5/S8-U)
172.16.20.150 🌐 PGW-U.EPC       # PDN Gateway User Plane
