version: update July, 23rd 2020
Tutorial to run 5G OpenAir, from current develop branch.
Please read the 4G tutorial for more information on how to make initial installation of OpenAir.
Then, you can compile and run 5G tests
./build_oai --gNB --nrUE
Run the gNB in one windows
so, create a new Linux namespace as in this tutorial
In the namespace, run
If it runs fine, you should see this graph:
Then, open one more text window and set it in the UE network name space
sudo ip netns exec ueNameSpace bash
It is now possible to ping the gNB output interface
ping -I oaitun_ue1 10.0.1.1 -s 1000
Sends in both directions packets of 1000 bytes.
Ping also checks the packet content is the same.
What is today available on top of this simple tutorial:
- If you make IP routing configuration, any IP traffic can get through the pair UE+gNB
- if you run the UE on another machine, it is also fine (no need of network namespaces)
- Ettus RF board may also work, if the machine is fast enough