discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] TUN/TAP PDU not working


From: Cinaed Simson
Subject: Re: [Discuss-gnuradio] TUN/TAP PDU not working
Date: Fri, 16 Jun 2017 18:46:42 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.0

Incidentally, all you need is a $20-$30 Ethernet switch with 5-8 ports,
and 3 CAT-6 Ethernet cables - twice as long as you think might need.

Then plug 1 one cable into each of the 3 device and plug the other end
the of all the cables into the switch.

Configure them as below and you should be able to ping all the devices
from either the desktop or the laptop.

-- Cinaed


On 06/15/2017 02:49 PM, Cinaed Simson wrote:
> 
> I'll assume they're connected correctly.
> 
> On the both PC1 and PC2, type
> 
>   ip tuntap del dev tap0 mode tap
> 
> On PC1, type
> 
>   ifconfig enp0s31f6 inet 192.168.200.1 netmask 255.255.255.0
>   ifconfig enp0s31f6 up
> 
> On PC2, type
> 
>   ifconfig enp0s31f6 inet 192.168.200.3 netmask 255.255.255.0
>   ifconfig enp0s31f6 up
> 
> Then on either PC, ping the other one. Try pinging the USRP. The pinging
> shoud work - unless you have more than one Ethernet card and you plugged
> the cable into the wrong card.
> 
> The idea is a tap relies on the existing Ethernet framing (and hence
> routing) so if the machines are connected correctly then configuring
> their Ethernet cards should provide the necessary infrastructure.
> 
> Also, you need to go the USRP mailing list and ask them how to change
> the IP address of the B210 - it's something you should know how to do.
> 
> In general, the tap address on the B210 should have the same network
> address as your PC.
> 
> The network address of PC1 is 192.168.200.0 and the host address
> 192.168.200.1.
> 
> -- Cinaed
> 
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
> 




reply via email to

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