[srsran-users] srsRAN 4G with ZMQ Using Two Linux PCs

Chao-Hwa Chen chaohwa at gmail.com
Thu Mar 30 14:19:40 UTC 2023


Thank you very much, Robert.

Your suggestion is working now.

Best Regards,

Chao-Hwa

On Thu, Mar 30, 2023 at 4:33 AM Robert Falkenberg <robert.falkenberg at srs.io>
wrote:

> Hi Chao-Hwa,
>
> when running EPC/ENB and UE on different computers, the UE doesn’t need to
> create the gateway in an isolated network namespace. Just remove the
> --gw.netns=ue1 part.
> If you still want to use the network namespace, please create the
> namespace before starting the UE, see here
> <https://docs.srsran.com/projects/4g/en/latest/app_notes/source/zeromq/source/index.html?highlight=sudo%20ip%20netns%20add%20ue1#network-namespace-creation>
> .
>
> Best regards,
> Robert
>
> On 29.03.23 21:44, Chao-Hwa Chen wrote:
>
> Hi all,
>
> I followed the document here
> https://docs.srsran.com/projects/4g/en/latest/app_notes/source/zeromq/source/index.html
> and made the EPC/ENB/UE work with one Linux laptop.
>
> Up next, I want to do the same thing with 2 Linux PCs. One with EPC/ENB
> and the other with UE only. The two Linux PCs have different IP addresses.
>
> At the EPC/ENB PC, I login as root and type
> ./srsepc/src/srsepc
> at the EPC and
> ./srsenb/src/srsenb --rf.device_name=zmq
> --rf.device_args="fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://(UE
> IP Address):2001,id=enb,base_srate=23.04e6"
> at the ENB.
>
> At the UE PC, I also login as root and type
> ./srsue/src/srsue --rf.device_name=zmq
> --rf.device_args="tx_port=tcp://*:2001,rx_port=tcp://(ENB IP
> Address):2000,id=ue,base_srate=23.04e6" --gw.netns=ue1
> at the UE.
>
> I can get the sync, but the console shows the message of "failed to
> setup/configure GW interface" and I don't see the IP address 172.16.0.2
> from ifconfig.
>
> What should I do to fix the problem?
>
> Thanks a lot in advance.
>
> --
> Best Regards,
>
> Chao-Hwa
>
> _______________________________________________
> srsran-users mailing listsrsran-users at lists.srsran.comhttps://lists.srsran.com/mailman/listinfo/srsran-users
>
>> --
> Robert Falkenberg
>
> Senior Engineer
>
> Software Radio Systems
>
>
>
> robert at srs.io
> www.srs.io <//www.srs.io>
> Dortmund, Germany
>
>
>
> [image: twitter] <https://twitter.com/srssystems>
>
>

-- 
Best Regards,

Chao-Hwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20230330/e0c228c8/attachment.htm>


More information about the srsran-users mailing list