gnbsim is a 5G SA gNB/UE (Rel. 16) simulator for testing 5G System. The project is aimed to understand 5GC more efficiently than just reading 3GPP standard documents.
Getting Started
Prerequisites
golang environment on linux host.
root previledge is required to set an IP address which is dynamically assigned by SMF.
GTP kernel module capability is required for using wmnsk/go-gtp
To check if GTP kernel module is present in your system, try the following command
it means that the module is present in your system. You may also want to try modinfo gtp.
Otherwise, you need to install the GTP kernel module by following instructions here: https://osmocom.org/projects/openggsn/wiki/Kernel_GTP
If you would like to use 'Raspberry Pi' to run gnbsim, Kernel Compiling is required for activating GTP kernel module (gtp.ko).
running free5gc somewhere.
subscriber has been registered by free5gc web console.
change 'ngapIPList' to external ip address in config/amfcfg.conf.