Steps:
- Clone this repo
- Open docker-compose.yaml and punch in the correct MME address of your AGW in the following line: "--enb.mme_addr=192.168.60.142" Get MME IP address from your AGW:
ifconfig eth1 | grep 'inet ' | awk '{print $2}'
- Also update the enodeb(srsenb) ip address in the following lines:
"- --enb.gtp_bind_addr=192.168.60.1
- --enb.s1c_bind_addr=192.168.60.1" Get gtp_br0 IP of AGW:
ifconfig gtp_br0 | grep 'inet ' | awk '{print $2}'
- Make sure to scroll down to check and configure required settings in magma side.
- Start srsenb and srsue using following command:
"docker-compose up"
This will bring up both srsenb and srsue docker containers and start establishing the call.
On successful attach to magma core we should see some logs like below displaying allocated ue up address:
srsue | RRC Connected srsue | Random Access Complete. c-rnti=0x47, ta=0 srsue | Network attach successful. IP: 192.168.128.16 srsenb | User 0x47 connected srsue | E
Magma Side Configurations:
start server:
iperf3 -s
iperf3 -c 192.168.128.12
For data traffic testing For testing download, ping gtp_br0 network of AGW from UE:
docker exec -it srsue ping 192.168.128.1
For testing upload, ping Network attached IP of UE from AGW:
ping 192.168.128.12
To ShubhamTatvamasi for showing this way of testing magma 4g core