Issue with new LTE simulation
It seems that there is an issue with traffic between eNB and UE in LTE simulation. After all configurations I see that eNB and UE connected (in the MME table).
I'm using 3 VM (in VirtualBox) to make LTE simulation:
Ubuntu 16.04, linux kernel 4.15.0-45-generic for EPC (HSS/MME/SPGW). Ubuntu 16.04, linux kernel 4.15.0-45-lowlatency for eNodeB and UE.
The topology is:
Internet -----(enp0s3)|EPC|(enp0s8)-----(enp0s9)|eNodeB|(enp0s8)-----(enp0s8)|UE|
I run on EPC:
$ sudo ./openair-cn/scripts/run_hss
$ sudo ./openair-cn/scripts/run_mme
$ sudo ./openair-cn/scripts/run_spwg
On eNodeB:
$ cd /openairinteface5g/cmake_targets/tools
$ sudo ./init_nas_s1 eNB
$ cd ../lte_build_oai/build
$ sudo -E ./lte-softmodem -O /home/<user>/openairinterface5g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
On UE:
$ cd /openairinteface5g/cmake_targets/tools
$ sudo ./init_nas_s1 UE
$ cd ../lte_build_oai/build
$ sudo -E ./lte-uesoftmodem -O /home/<user>/openairinterface5g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.oaisim.conf -r 25 --siml1
In MME terminal I see, that eNodeB and UE are attached. But then I execute from UE side:
$ ping -I oip1 8.8.8.8
I tried to ping 172.16.0.1 address too.
And there is no response. I also tried to execute on UE the commands below:
$ sudo route add default gw 172.16.0.1 oip1
$ sudo ip rule add from 172.16.0.2 table lte
$ sudo ip rule add to 172.16.0.2 table lte
But nothing has changed. Using wireshark I see, that the ping request is going to gtp0 (on EPC), but does not returns to the oip1. The ping response is getting to the enp0s8 on eNB. The screenshots are attached. The config files are attached too.