<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 3: Code-Review-2</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 3:</p><p style="white-space: pre-wrap; word-wrap: break-word;">Otherwise if you think there's a bug I can have a look at it.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I just tested it and it's working fine here:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">"""<br>enb:<br>- label: srsENB-zmq<br>  type: srsenb<br>  rf_dev_type: zmq<br>  rf_dev_args: auto<br>  run_node:<br>    run_type: ssh<br>    run_addr: 10.42.42.117<br>    ssh_user: jenkins<br>    ssh_addr: 10.42.42.116<br>"""</pre><p style="white-space: pre-wrap; word-wrap: break-word;">""""<br>$ ss -l -n -p | grep enb -B1<br>u_dgr  UNCONN     0      0         * 1289                  * 0<br>udp    UNCONN     0      0      10.42.42.117:2152                  *:*                   users:(("srsenb",pid=60591,fd=15))<br>--<br>tcp    LISTEN     0      5      172.16.0.1:5003                  *:*                   users:(("iperf3",pid=60753,fd=3))<br>tcp    LISTEN     0      100    10.42.42.117:2000                  *:*                   users:(("srsenb",pid=60591,fd=10))<br>""""</p><p style="white-space: pre-wrap; word-wrap: break-word;">So this patch is indeed not needed and can be abandoned.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">To give some context, I've recently changed the resources.conf to run eNB and EPC on the same machine. And to run srsUE on it's own machine. But for the eNB to connect to the EPC I need gtp_bind_addr and s1c_bind_addr to be the same.</p><p style="white-space: pre-wrap; word-wrap: break-word;">See here:</p><p style="white-space: pre-wrap; word-wrap: break-word;">[enb]<br># need hex value here for enb_id due to bug: https://github.com/srsLTE/srsLTE/issues/485<br>enb_id = 0x19b<br>mcc = 901<br>mnc = 70<br>mme_addr = 127.0.1.100<br>gtp_bind_addr = 127.0.1.1<br>s1c_bind_addr = 127.0.1.1<br>n_prb = 100<br>tm = 1<br>nof_ports = 1</p><p style="white-space: pre-wrap; word-wrap: break-word;">You are right that if I put just "addr" as s1c_bind_addr and set the run_addr to 127.0.1.1, I can get the above mentioned config and the eNB attached to the EPC. But the same run_addr is also used for the ZMQ radio and this is then not working. Perhaps UHD works.</p><p style="white-space: pre-wrap; word-wrap: break-word;">This is the stdout of srsUE:<br>Reading configuration file /osmo-gsm-tester-srsue/srsue/srsue.conf...</p><p style="white-space: pre-wrap; word-wrap: break-word;">Built in Release mode using commit 34bc192f7 on branch build_branch.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Opening 1 channels in RF device=zmq with args=tx_port0=tcp://10.12.1.206:2001,tx_port1=tcp://10.12.1.206:2003,tx_port2=tcp://10.12.1.206:2005,tx_port3=tcp://10.12.1.206:2007,rx_port0=tcp://127.0.1.1:2000,rx_port1=tcp://127.0.1.1:2002,rx_port2=tcp://127.0.1.1:2004,rx_port3=tcp://127.0.1.1:2006,rx_freq0=2630e6,tx_freq0=2510e6,id=ue,base_srate=23040000<br>CHx base_srate=23040000<br>CHx id=ue<br>Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation)<br>CH0 rx_port=tcp://127.0.1.1:2000<br>CH0 rx_freq=2630e6<br>CH0 tx_port=tcp://10.12.1.206:2001<br>CH0 tx_freq=2510e6</p><p style="white-space: pre-wrap; word-wrap: break-word;">You see that ZMQ radio tries to receive from this localhost address, but it should receive from the external IP.</p><p style="white-space: pre-wrap; word-wrap: break-word;">So in summary, this patch is needed and cant be deleted.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18583">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18583">change 18583</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18583"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ibf5b0017c781d17c7f20b859c1cda297e2a9cca2 </div>
<div style="display:none"> Gerrit-Change-Number: 18583 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 10 Jun 2020 19:25:43 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>