We are assuming that you have already compiled and installed srsLTE on three VM nodes at the Iris testbed by following these instructions: http://iristestbed.eu/index.php/srslte-full-stack-connectivity

 

1: SCTP install check and test [Note: for remote EPC]

reference: https://ubuntuforums.org/showthread.php?t=516506

The following instructions need to be executed on the EPC and eNB nodes.

Check SCTP supported: 

iristest@ue:~$ checksctp

Command 'checksctp' not found, but can be installed with:

apt install lksctp-tools
Please ask your administrator.

iristest@ue:~$ 

 

SCTP protocol is indeed supported in the Linux kernel. However if you want to use it in your applications, please install

Code:

sudo apt-get install lksctp-tools libsctp-dev lksctp-tools

 Local SCTP test Test:

sctp_darn -H 0 -P 2600 -h 127.0.0.1 -p 2500 -s

Remote SCTP service EPC server test:

e.g., sctp_darn -H 0 -P 2603 -h 192.168.5.112 -p 36412 -s

make sure the following modules are loaded on the host  VM

modprobe sctp

Test

cat /proc/net/sctp/eps

 ENDPT     SOCK   STY SST HBKT LPORT   UID INODE LADDRS

       0        0 2   10  4    36412     0 77590 192.168.5.77​

2. srsLTE eNB config

To support remote EPC, on the srsENB config file edit the following properties:

vi /home/$USER/.config/srslte/epc.conf

mme_addr = <MME IP>
gtp_bind_addr = <eNB IP>
s1c_bind_addr = <eNB IP>

 For example:

vi /home/$USER/.config/srslte/epc.conf

mme_addr = 10.154.50.76
gtp_bind_addr = 10.154.50.69
s1c_bind_addr = 10.154.50.69

3. srsLTE EPC config

Similarly, the srsEPC config file requires the following IP address changes:

vi /home/$USER/.config/srslte/epc.conf

[mme]
mme_bind_addr = <MME IP>

[spgw]
gtpu_bind_addr   = <MME IP>

For example:

vi /home/$USER/.config/srslte/epc.conf
[mme]
mme_bind_addr = 10.154.50.76

[spgw]
gtpu_bind_addr   = 10.154.50.76

 

4. Troubleshooting 

Coming soon...