discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] TunTap Interace for GNU Radio IEEE 802.11 a/g/p modul


From: Qurat-Ul-Ann Akbar
Subject: [Discuss-gnuradio] TunTap Interace for GNU Radio IEEE 802.11 a/g/p module
Date: Fri, 3 Feb 2017 14:41:16 -0600

Hi,

I am trying to run the transceiver which has a tuntap pdu block for sending messages through TCP. There is a bash file nic.sh which gives an example configuration for the tuntap interface. 

I am not very familiar with working with tuntap and trying to understand it. Can anyone kindly tell me if the MAC address you set for the tuntap interface is random? Or is there a particular logic behind setting to a particular value. Also should its IP address be in the same subnet of the Ethernet interface the USRP device is connected to? (in my case the IP of the Ethernet interface is 192.168.10.1 and mask is /24) And can it be anything in 192.168.10.0/24?

In the file nic.sh the MAC address of the tap0 interface is set to 12:34:56:78:90:ab and the IP address is 192.168.123.1

And then the arp command is used to map 192.168.123.2 to the MAC address 30:14:4a:e6:46:e4.

How does this interface end up sending messages through the USRP? 


reply via email to

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