srsran-magmacore

Docker Cloud Build Status Docker Image Version (latest semver) Docker Image Size (tag) Docker Pulls MicroBadger Layers (tag) Docker Cloud Automated build

Steps:

  1. Clone this repo
  2. 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}'
  1. 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}'
  1. Make sure to scroll down to check and configure required settings in magma side.
  2. 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:

  1. Add APN as shown below in NMS image

  2. Add a UE Subscriber as shown below in NMS image

Work in progress

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

Credits

To ShubhamTatvamasi for showing this way of testing magma 4g core