Example · O-RAN over NTN
E2 exchange over SCTP
A Near-RT RIC and an E2 agent exchange E2SM-KPM indications and an E2SM-RC control request over a real SCTP or TCP association, using toolkit framing rather than E2AP.
oran-ntn-e2-termination about 60 s on the server
Two-process demo: start one copy with --role=ric and a second with --role=agent on the same port. The dashboard runs one process per job. It runs on a local install. Open the consoleModule page
Parameters (7)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Process role --role | both | - | Process role: both (RIC and agent in one process), ric or agent |
Proto --proto | sctp | - | Transport: sctp or tcp |
Bind or connect host --host | 127.0.0.1 | - | Bind or connect host |
E2 port --port | 36421 | - | E2 port |
RIC listen time --duration | 8 | s | RIC listen time (s) |
Indications --indications | 5 | - | Agent: number of RIC indications to send |
TR 38.811 UEs in the measured NR pass --simUes | 2 | - | agent: TR 38.811 UEs in the measured NR pass |
Reproduce it locally
With the example's built-in defaults, in the public Docker image:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "oran-ntn-e2-termination"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "oran-ntn-e2-termination --role=both --proto=sctp --host=127.0.0.1 --port=36421 --duration=8 --indications=5 --simUes=2"More O-RAN over NTN examples
- RIC, slicing and KPIs on one cell
- Latency by platform class
- Cross-domain closed loop
- Post-disaster emergency slice
- Control over intermittent feeder links
- Constellation-scale RIC scenario
- RL handover environment (Gym)
- Satellite payload options compared
- Near-RT RIC on a measured LEO cell
- mMIMO beam xApp closed loop
- RIC placement comparison
Cite this
If you use this module, please cite the article that describes the toolkit: doi:10.1109/OJCOMS.2026.3745010.
M. Uzair, B. G. Aldahlan, A. A. Albar, H. Althumali and A. Alghammas, "ns3-ntn-toolkit: An integrated ns-3 platform for 6G non-terrestrial networks," IEEE Open Journal of the Communications Society, vol. 7, pp. 13440-13467, 2026, doi: 10.1109/OJCOMS.2026.3745010.
@article{uzair2026ns3ntntoolkit,
author = {Uzair, Muhammad and Aldahlan, Bassma G. and Albar, Ali A. and
Althumali, Huda and Alghammas, Adnan},
title = {ns3-ntn-toolkit: An Integrated ns-3 Platform for 6G
Non-Terrestrial Networks},
journal = {IEEE Open Journal of the Communications Society},
volume = {7},
pages = {13440--13467},
year = {2026},
doi = {10.1109/OJCOMS.2026.3745010}
}