discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Tunnel.py with USRP x310


From: Julian Arnold
Subject: Re: [Discuss-gnuradio] Tunnel.py with USRP x310
Date: Fri, 2 Dec 2016 16:16:38 +0100 (CET)
User-agent: nmm Webmail 2.11

Hi Danilo,

Normally you would have one USRP attached to one PC and another USRP attached 
to a second PC.
No switch needed. Then, you can use the Tun/Tap interfaces created by tunnel.py 
to communicate between the PCs.
You will need to set an IP address for each Tun/Tap interface once they have 
been created by tunnel.py.
Just pick a separate subnet for the tunnel IPs as compared to the USRP IPs.
For example, the USRPs could both have 192.168.0.1 and the PCs could both have 
192.168.0.2 on the Ethernet interface which connects to the USRPs (assuming no 
switch here). After starting tunnel.py on both PCs you can set the IP of one 
tun/tap interface to 10.0.0.1 and to 10.0.0.2 on the other.

Hope that helps.

Cheers,
Julian


Danilo De Donno schrieb am 02.12.2016 13:57:

> Hi Julian,
> for now, I'm using the 1Gbit Ethernet interface. I'll run bechmark_rate and 
> also update UHD to 3.9 LTS as well, and let you know.
> 
> Thanks a lot for the advice.
> 
> Anyway, what should be the configuration to run tunnel.py? I mean, could you 
> tell me how to connect the PCs, USRPs, and switch each other?
> 
> Best,
> Danilo
> 
> 
> -----Messaggio originale----- 
> From: Julian Arnold
> Sent: Friday, December 02, 2016 1:49 PM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [Discuss-gnuradio] Tunnel.py with USRP x310
> 
> Hi Danilo,
> 
> Just to get it right, so far you have one USRP attached to a PC using a 
> switch? Is it a gigabit switch? Have you tried to run something like 
> benchmark_rate to see if the connection works fine?
> Also, at the moment I would recommend using the LTS version of UHD 3.9.
> 
> Cheers,
> Julian
> 
> Danilo De Donno schrieb am 01.12.2016 17:21:
> 
>>
>>
>> Hi Julian,
>>
>> I’m using UHD 3.9.1. For now, I’m trying to run the example with only 1 
>> PC, so I have the PC and the USRP both connected to a network switch. 
>> Then, I plan to add the second PC with its USRP to the switch as well. I 
>> think it’s should be the configuration in order to have two PCs with 
>> different IPs belonging to the same subnet, right? However, I’m not 
>> expert, so any advice is more than welcome.
>>
>>
>>
>> Best,
>>
>> Danilo
>>
>>
>>
>> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]