A reference architecture + system design for delivering gate-to-gate onboard internet to a commercial aircraft using a LEO satellite constellation with inter-satellite links (space mesh), bridging signals from ground networks to satellites, then to the aircraft terminal, and finally to passengers onboard.
Use-case: A British Airways-style onboard Wi‑Fi experience where customers can browse, message, stream, work, and receive real-time travel updates — especially valuable during disruption
- High-level architecture for aircraft internet using LEO satellites
- A practical system design: networking, routing, QoS, authentication, telemetry
- Both high-level and low-level designs using Mermaid diagrams
- Operational considerations: reliability, security, observability, and incident handling
- Optional simulation approach for latency/throughput modeling
-
Reliable Gate-to-Gate Connectivity
Maintain continuous onboard connectivity from boarding to arrival. -
Operational Resilience
Support real-time decision making during disruption: missed connections, rebooking, and customer care. -
Passenger Experience
Seamless login, stable sessions, adaptive QoS, and smooth handover. -
Safety + Security
Strong isolation between aircraft operational systems and passenger network; secure authentication and encryption.
- Avionics and flight-critical system integration.
- Exact vendor-specific Starlink implementation details.
- Regulatory certification processes.
Ground Network → LEO Gateway Uplink → LEO Satellite → Inter-Satellite Mesh → LEO Satellite Downlink → Aircraft Terminal → Onboard Wi‑Fi Router → Passenger Device
flowchart
U["Passenger Devices\n(Phones/Laptops/Tablets)"] --> W["Onboard Wi-Fi APs"]
W --> R["Cabin Network Router\n& Captive Portal"]
R --> AT["Aircraft Satellite Terminal\n(Antenna + Modem)"]
AT --> S1["LEO Satellite"]
S1 --> S2["LEO Satellite Mesh\n(Inter-Satellite Links)"]
S2 --> GW["Ground Gateway Station"]
GW --> IX["Internet Exchange / Public Internet"]
GW --> BA["Airline Ops Cloud\n(Disruption/Connections/Service Tools)"]
IX --> SaaS["Apps & Services\n(Streaming, Email, Chat, Maps, Web)"]
flowchart TB
subgraph Aircraft["Aircraft Network Domain"]
AP[Wi‑Fi APs] --> GW1[Cabin Gateway]
GW1 --> CP[Captive Portal + Auth]
CP --> QOS[QoS/Traffic Shaping]
QOS --> FW[Firewall + NAT]
FW --> SAT[Satellite Modem/Terminal]
CREW[Crew Service Apps] --> GW1
end
subgraph Space["Space Domain (LEO)"]
SAT --> LEO1[LEO Satellite]
LEO1 --> LEO2[LEO Mesh Routing]
LEO2 --> LEO3[LEO Satellite]
end
subgraph Ground["Ground Domain"]
LEO3 --> GWS[Gateway Station]
GWS --> POP[Edge POP / CDN]
GWS --> NET[Public Internet]
GWS --> OPS[Airline Ops + Customer Care APIs]
OBS[Telemetry + Monitoring] <---> GWS
OBS <---> SAT
end
NET --> APPS[Third-party apps/services]
Passenger networks can saturate quickly. A premium experience prioritizes:
- Airline critical services (rebooking, connection updates).
- Messaging + email.
- Voice/video (optional policies).
- Streaming with adaptive bitrate (ABR) + caching.
- Captive portal handles authentication.
- Token-based sessions reduce re-auth during handovers.
- Device roaming managed locally with stable IP/Session mapping.
- Passenger traffic is isolated from crew/ops and any aircraft operational domains.
- Firewall rules and strict segmentation (VLANs, VRFs).
- Least privilege for service APIs.
- Network Segmentation (Aircraft)
flowchart LR
subgraph VLANs["Aircraft VLAN/VRF Segmentation"]
PAX[PAX VLAN/VRF<br/>Passenger Internet] --> FW[Firewall/NAT]
CREW[Crew VLAN/VRF<br/>Crew Tools] --> FW
MGMT[Mgmt VLAN/VRF<br/>AP/Router Mgmt] --> FW
end
FW --> QOS[QoS Engine]
- Crew traffic gets higher priority than passenger bulk traffic.
- Airline disruption APIs always available (even if bandwidth constrained).
sequenceDiagram
autonumber
participant D as Passenger Device
participant AP as Wi‑Fi AP
participant CP as Captive Portal
participant IDP as Identity Provider
participant GW as Cabin Gateway
participant NET as Internet/Services
D->>AP: Connect to SSID
AP->>CP: Redirect HTTP/HTTPS to Portal
CP->>D: Show login (Booking Ref / Club / Voucher)
D->>CP: Submit credentials
CP->>IDP: Validate identity
IDP-->>CP: Issue token + policy (QoS tier)
CP->>GW: Install session rules (ACL/QoS/NAT pinning)
GW-->>D: Access granted
D->>NET: Browse/stream/message
sequenceDiagram
autonumber
participant AT as Aircraft Terminal
participant S1 as LEO Sat A
participant S2 as LEO Sat B
participant GW as Ground Gateway
participant CG as Cabin Gateway
AT->>S1: Connected (Beam A)
CG->>AT: Session/NAT anchored locally
Note over AT,S1: Handover trigger (signal fades)
AT->>S2: Connect (Beam B) - make-before-break
S2->>GW: Update routing
AT-->>S1: Disconnect Beam A
AT->>CG: Traffic moved to Beam B
flowchart TB
subgraph ControlPlane["Control Plane"]
AUTH[Auth/Policy Service]
ROUTE[Routing + Link Mgmt]
ORCH[Config/Orchestration]
TELE[Telemetry Collector]
end
subgraph DataPlane["Data Plane"]
NAT[NAT + Firewall]
QOS[QoS/Traffic Shaping]
DNS[DNS + Split-horizon/Filtering]
PROXY[Optional Proxy/Cache]
end
AUTH --> QOS
ROUTE --> NAT
ORCH --> NAT
ORCH --> QOS
TELE <---> NAT
TELE <---> QOS
skymesh-connect/
├─ README.md
├─ docs/
│ ├─ architecture.md
│ ├─ security.md
│ ├─ qos-policy.md
│ ├─ observability.md
│ └─ disruption-playbook.md
├─ diagrams/
│ ├─ hld.mmd
│ ├─ lld-auth.mmd
│ ├─ lld-handover.mmd
│ └─ deployment.mmd
├─ simulation/ # optional
│ ├─ latency_model.ipynb
│ └─ throughput_model.ipynb
└─ examples/
├─ sample-qos-policy.yaml
└─ sample-session-rules.json- Unauthorized access to onboard network.
- Lateral movement between passenger and crew networks.
- Man-in-the-middle attempts (rogue APs).
- Abuse of bandwidth (DoS / heavy downloads).
- Credential stuffing on captive portal.
- WPA2/WPA3 + captive portal + short-lived tokens.
- Network segmentation (Passenger/Crew/Mgmt).
- Zero-trust access to airline APIs (mTLS + scoped tokens).
- Rate limiting + anomaly detection.
- Encrypted backhaul (satellite link encryption + TLS at app layer).
- Link quality (SNR, beam handover frequency).
- Packet loss, RTT, jitter (per aircraft + per session tier).
- DNS failures, auth failures, session drops.
- QoS queue depth and shaping effectiveness.
- Customer-impact score (derived metric).
flowchart LR
A[Aircraft Terminal Metrics] --> T[Telemetry Collector]
G[Cabin Gateway Metrics] --> T
T --> E[Edge Aggregator]
E --> O[Observability Platform]
O --> AL[Alerts + Incident Mgmt]
O --> DB[Time Series DB]
- Real-time disruption support: customers can handle connections and changes mid-air.
- Fewer Wi‑Fi complaints: consistent performance and easier troubleshooting.
- IFE fallback: if seatback entertainment fails, customers can stream on their own devices.
- Crew enablement: better access to support teams and operational tools (when permitted).




