[srsran-users] Multiple USRPs in a single host

Jordi Baranda jorge.baranda at cttc.es
Wed Jan 12 10:48:34 UTC 2022


Thanks for the fast reply and the example. I think that the setup I have 
in mind is a little bit different to the one you are proposing. I was 
not considering to combine multiple usrp's into a single virtual one but 
using them separately (this will save the use of the external clock if I 
am not wrong (no need of synchronization between USRPs)).

Maybe with the following instructions I will be able to use 
independently the USRPs (after setting different IPs in the USRPs 
configuration as you suggested):

enodeb process 1 -->  ./srsenb/src/srsenb --enb.gtp_bind_addr=X.X.X.X 
--enb.s1c_bind_addr=X.X.X.X --enb.mme_addr=Y.Y.Y.Y --rf.device_name=UHD 
--rf.device_args="type=x300,master_clock_rate=184.32e6,clock=external,addr=192.168.30.2" 


enodeb process 2 --> ./srsenb/src/srsenb --enb.gtp_bind_addr=X.X.X.X 
--enb.s1c_bind_addr=X.X.X.X --enb.mme_addr=Y.Y.Y.Y --rf.device_name=UHD 
--rf.device_args="type=x300,master_clock_rate=184.32e6,clock=external,addr=192.168.40.2"

*notice that I am considering that both enodeb processes use the same 
gtp/s1c_bind_addr (X.X.X.X) and attaching to the same  EPC (Y.Y.Y.Y). 
Should this be valid? And finally, should I write "addr" or "addr0" in 
the instructions?

Best regards,

Jordi

On 12/01/2022 10:13, Xavier Arteaga wrote:
> I recommend loading the XG FPGA image. Each XGE port will have 
> different IP addresses: 192.168.30.2 and 192.168.40.2. Then use a 
> different port for each X300. Then configure the XGE host card 
> interfaces with 192.168.30.1 and 192.168.40.1. This will make the 
> trick without having to modify the USRP EEPROM (more here 
> https://files.ettus.com/manual/page_usrp_x3x0.html).
>
> The arguments look like:
> device_args = 
> type=x300,master_clock_rate=184.32e6,clock=external,addr0=192.168.30.2,addr1=192.168.40.2 
>
>
> I did not mention earlier that an external clock and PPS are required.
>
> Also, if you want to change the UHD version several times, I recommend 
> programming the FPGA through VIvado Lab (free, requires USB cable). 
> This takes <10s and there is no way you can brick the device. However, 
> the FPGA image is gone after a power cycle. I can provide a script for 
> that if you need it.
>
> Regards,
> Xavier
>
> On Wed, 12 Jan 2022 at 07:27, Jordi Baranda <jorge.baranda at cttc.es> wrote:
>
>     Hi Xavier,
>
>     Thanks you very much for your quick answer and the pointer. I
>     think I will need more help.
>
>     As I read in the link, it talks about combining USRPs into a
>     single device, but the idea is to have multiple USRPs (e.g. 2)
>     connected to a host and specify which one use you want to use when
>     launching an enodeB process. However, as I understand from the
>     webpage, you could assign different IP address to each USRP and
>     then your suggestions is to specify it through the
>     "rf.device_args" property, isn't it?
>
>     I am in the process of building the mentioned scenario (for the
>     moment I am working with zmq), so I think that if it works as
>     mentioned before, I think it would be very useful if you could
>     share an example of the string needed to launch the enodeb process
>     in this case, specially for the "rf.device_args" to specify using
>     a USRP in a different address than the default one (and any other
>     parameters that would need to be specified rather than the default
>     ones).
>
>     Again, thank you very much
>
>     Best regards,
>
>     Jordi
>
>     On 11/01/2022 18:44, Xavier Arteaga wrote:
>>     Hi Jordi,
>>     First of all, many thanks for your interest.
>>
>>     It is possible with X300 series. Use rf.device_args property to
>>     configure the RF front end. This page may help you:
>>     https://files.ettus.com/manual/page_multiple.html
>>
>>     As this functionality is for expert usage, it could be that some
>>     more device arguments are required. Let me know if you need more
>>     help.
>>
>>     Kind regards,
>>     Xavier
>>
>>
>>
>>     On Tue, 11 Jan 2022 at 17:03, Jordi Baranda
>>     <jorge.baranda at cttc.es> wrote:
>>
>>         Dear srsran-users,
>>
>>         I am starting to play with srsran and I am contacting you to
>>         ask if (and how) when launching a srsran enodeB process you
>>         could select the USRP to use if multiple USRPs are connected
>>         to the host running the enodeB process.
>>
>>         Thanks you very much in advance for your time and attention,
>>
>>         Best regards,
>>
>>         Jordi
>>
>>         -- 
>>         CTTC Logo
>>
>>
>>
>>
>>         	
>>         	
>>
>>         *Jorge Baranda*
>>         Researcher (R2C), PhD
>>         jorge.baranda at cttc.cat
>>
>>
>>         	
>>
>>         Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
>>         Av. Carl Friedrich Gauss, 7 - Building B4
>>         08860 - Castelldefels
>>         Tel.: +34 93 645 29 00
>>
>>         _DATA PROTECTION INFORMATION. Data controller: CENTRE
>>         TECNOLOGIC DE TELECOMUNICACIONS DE CATALUNYA (G62616586):_
>>
>>         We inform you that your identification data and the data
>>         contained in the emails and attached files can be
>>         incorporated into our databases, in order to maintain
>>         professional and / or commercial relationships, and that it
>>         will be preserved throughout the relationship. According to
>>         the current regulations, you can exercise your right to
>>         access, rectification, erasure, restriction of processing, to
>>         portability and to object by sending an email to dpo at cttc.cat.
>>         This message and any attached document, where appropriate,
>>         may be confidential and intended for the original recipient only.
>>
>>
>>         L'informem que les seves dades identificatives i les
>>         compreses als correus electrònics i fitxers adjunts poden ser
>>         incorporades a les nostres bases de dades amb la finalitat de
>>         mantenir relacions professionals i/o comercials i, que seran
>>         conservades mentre es mantingui aquesta relació. Si ho
>>         desitja, pot exercir el seu dret d'accés, rectificació,
>>         supressió, limitació del tractament, portabilitat i objecció
>>         enviant un correu electrònic a dpo at cttc.cat.
>>         Aquest missatge i qualsevol document adjunt, en el seu cas,
>>         pot ser confidencial i destinat únicament a la persona o
>>         entitat a qui s'hagi enviat.
>>
>>         Before printing this e-mail or attachments, be sure it is
>>         necessary. It is in our hands to protect the environment.
>>
>>         _______________________________________________
>>         srsran-users mailing list
>>         srsran-users at lists.srsran.com
>>         https://lists.srsran.com/mailman/listinfo/srsran-users
>>
>     -- 
>     CTTC Logo
>
>
>
>
>     	
>     	
>
>     *Jorge Baranda*
>     Researcher (R2C), PhD
>     jorge.baranda at cttc.cat
>
>
>     	
>
>     Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
>     Av. Carl Friedrich Gauss, 7 - Building B4
>     08860 - Castelldefels
>     Tel.: +34 93 645 29 00
>
>     _DATA PROTECTION INFORMATION. Data controller: CENTRE TECNOLOGIC
>     DE TELECOMUNICACIONS DE CATALUNYA (G62616586):_
>
>     We inform you that your identification data and the data contained
>     in the emails and attached files can be incorporated into our
>     databases, in order to maintain professional and / or commercial
>     relationships, and that it will be preserved throughout the
>     relationship. According to the current regulations, you can
>     exercise your right to access, rectification, erasure, restriction
>     of processing, to portability and to object by sending an email to
>     dpo at cttc.cat.
>     This message and any attached document, where appropriate, may be
>     confidential and intended for the original recipient only.
>
>
>     L'informem que les seves dades identificatives i les compreses als
>     correus electrònics i fitxers adjunts poden ser incorporades a les
>     nostres bases de dades amb la finalitat de mantenir relacions
>     professionals i/o comercials i, que seran conservades mentre es
>     mantingui aquesta relació. Si ho desitja, pot exercir el seu dret
>     d'accés, rectificació, supressió, limitació del tractament,
>     portabilitat i objecció enviant un correu electrònic a dpo at cttc.cat.
>     Aquest missatge i qualsevol document adjunt, en el seu cas, pot
>     ser confidencial i destinat únicament a la persona o entitat a qui
>     s'hagi enviat.
>
>     Before printing this e-mail or attachments, be sure it is
>     necessary. It is in our hands to protect the environment.
>
-- 
CTTC Logo




	
	

*Jorge Baranda*
Researcher (R2C), PhD
jorge.baranda at cttc.cat


	

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Av. Carl Friedrich Gauss, 7 - Building B4
08860 - Castelldefels
Tel.: +34 93 645 29 00

_DATA PROTECTION INFORMATION. Data controller: CENTRE TECNOLOGIC DE 
TELECOMUNICACIONS DE CATALUNYA (G62616586):_

We inform you that your identification data and the data contained in 
the emails and attached files can be incorporated into our databases, in 
order to maintain professional and / or commercial relationships, and 
that it will be preserved throughout the relationship. According to the 
current regulations, you can exercise your right to access, 
rectification, erasure, restriction of processing, to portability and to 
object by sending an email to dpo at cttc.cat.
This message and any attached document, where appropriate, may be 
confidential and intended for the original recipient only.


L'informem que les seves dades identificatives i les compreses als 
correus electrònics i fitxers adjunts poden ser incorporades a les 
nostres bases de dades amb la finalitat de mantenir relacions 
professionals i/o comercials i, que seran conservades mentre es 
mantingui aquesta relació. Si ho desitja, pot exercir el seu dret 
d'accés, rectificació, supressió, limitació del tractament, portabilitat 
i objecció enviant un correu electrònic a dpo at cttc.cat.
Aquest missatge i qualsevol document adjunt, en el seu cas, pot ser 
confidencial i destinat únicament a la persona o entitat a qui s'hagi 
enviat.

Before printing this e-mail or attachments, be sure it is necessary. It 
is in our hands to protect the environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220112/1b07a02e/attachment-0001.htm>


More information about the srsran-users mailing list