[srslte-users] connect srsUE and srsENB over network

Andre Puschmann andre.puschmann at softwareradiosystems.com
Wed May 27 18:53:33 UTC 2020


Hey,

On 27/5/20 19:26, Alexander Serkin wrote:
> Is it possible to set up default route to tun_srsue device and set some
> DNS servers?

you can do whatever you want with the TUN interface. Add routes, etc.
like with any normal network interface.

> I see that after attach UE only has a route to the network with
> received address and mask configured in [gw] section of ue.conf

Yes, all we do is to create the TUN and configure the IP address. This
default route is created by default from the kernel.

> 
> #sudo ip netns exec ue1 ip route
> 10.20.1.0/24 dev tun_srsue proto kernel scope link src 10.20.1.27

Looks good.

> 
> nothing else. And no DNS, though i know my PGW assigns DNS address to
> subscribers.

We ignore this and don't set the DNS. But again, you can set the address
by hand, or add code to handle the DNS field when receiving the attach
accept.

Cheers
Andre


> 
> I use srsue&srsenb and third party EPC (Cisco Systems).
> 
> Thanks for any hint again,
> Alex
> 
> On Wed, 2020-05-27 at 13:09 +0300, Alexander Serkin wrote:
>> Thank you, Andre!
>> That's perfect indeed. Have to complie from source as the zmq driver
>> is
>> not present in binary package.
>>
>> root at ubu18dt:~# srsenb
>> ---  Software Radio Systems LTE eNodeB  ---
>>
>> Reading configuration file /root/.config/srslte/enb.conf...
>>
>> Built in RelWithDebInfo mode using 20.04.1.
>>
>> Opening 1 channels in RF device=zmq with
>> args=fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://local
>> ho
>> st:2001,id=enb,base_srate=23.04e6
>> CHx base_srate=23.04e6
>> CHx id=enb
>> Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12
>> decimation)
>> CH0 rx_port=tcp://localhost:2001
>> CH0 tx_port=tcp://*:2000
>> CH0 fail_on_disconnect=true
>> Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2
>> decimation)
>> Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2
>> decimation)
>> Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz for cc_idx=0
>>
>> ==== eNodeB started ===
>>
>> Cheers,
>> Alex
>>
>> On Wed, 2020-05-27 at 10:12 +0200, Andre Puschmann wrote:
>>> Alex,
>>>
>>> yes, that's perfectly possible.
>>>
>>> Have a look at [1] for more info on this.
>>>
>>> Cheers
>>> Andre
>>>
>>>
>>>
>>> [1]
>>>
>>
>>
> https://docs.srslte.com/en/latest/app_notes/source/zeromq/source/index.html#zeromq-appnote
>>>
>>> On 26/5/20 17:40, Alexander Serkin wrote:
>>>> Dear friends.
>>>> Not sure if my question is correctly addressed.
>>>> I'm looking for some tool to simulate radio network for
>>>> integrated
>>>> packet core. Is it possible to use srsUE together with srsENB
>>>> connected
>>>> just via network not using any hardware radio and simulate data
>>>> calls to
>>>> my EPC?
>>>>
>>>> Thank you for any hint
>>>> Cheers,
>>>> Alex
>>>>
>>>> _______________________________________________
>>>> srslte-users mailing list
>>>> srslte-users at lists.softwareradiosystems.com
>>>> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>>>>
>>>
>>>
>>
>>
> 


-- 
Andre Puschmann

Software Radio Systems (SRS)
http://www.softwareradiosystems.com

PGP/GnuPG key: 6C42AB31
fingerprint: 137A AE49 785B A445 257C 8AD7 D877 A498 6C42 AB31



More information about the srsran-users mailing list