The device communicates with a host computer over gigabit Ethernet. Set up the network to enable communication with the device.
Note The IP addresses for the host computer and each connected USRP device must be unique.
Configuring the Host Ethernet Interface with a Static IP Address
The default IP address for the USRP device is
192.168.10.2.
Ensure the host computer uses a static IP address.
You may need to modify the network settings for the local area connection using the Control Panel on the host computer. Specify the static IP address in the
Properties page for Internet Protocol Version 4 (TCP/IPv4).
Configure the host Ethernet interface with a static IP address on the same subnet as the connected device to enable communication, as shown in the following table.
Table 1. Static IP Addresses
Component
Address
Host Ethernet interface static IP address
192.168.10.1
Host Ethernet interface subnet mask
255.255.255.0
Default USRP device IP address
192.168.10.2
Note NI-USRP uses user datagram protocol (UDP) broadcast packets to locate the device. On some systems, the firewall blocks UDP broadcast packets. NI recommends that you change or disable the firewall settings to allow communication with the device.
Changing the IP Address
To change the USRP device IP address, you must know the current address of the device, and you must configure the network.
Verify that your device is powered on and connected to your computer using the gigabit Ethernet interface.
Select
Start » All Programs » National Instruments » NI-USRP » NI-USRP Configuration Utility to open the NI-USRP Configuration Utility, as shown in the following figure.
Your device should appear in the list on the left side of the tab.
Select the
Devices tab of the utility.
In the list, select the device for which you want to change the IP address.
If you have multiple devices, verify that you selected the correct device.
The IP address of the selected device displays in the
Selected IP Address textbox.
Enter the new IP address for the device in the
New IP Address textbox.
Click the
Change IP Address button or press <Enter> to change the IP address.
The IP address of the selected device displays in the
Selected IP Address textbox.
The utility prompts you to confirm your selection. Click
OK if your selection is correct; otherwise, click
Cancel.
The utility displays a confirmation to indicate the process is complete. Click
OK.
Power cycle the device to apply the changes.
After you change the IP address, you must power cycle the device and click
Refresh Devices List in the utility to update the list of devices.
Confirming Network Connection
Select
Start » All Programs » National Instruments » NI-USRP » NI-USRP Configuration Utility to open the NI-USRP Configuration Utility.
Select the
Devices tab of the utility.
Your device should appear in the
Device ID column.
Note If your device is not listed, verify that your device is powered on and correctly connected, then click the
Refresh Devices List button to scan for USRP devices.
Configuring Multiple Devices with Ethernet
You can connect multiple devices in the following ways:
Multiple Ethernet interfaces—One device for each interface
Single Ethernet interface—One device connected to the interface, with additional devices connected using an optional MIMO cable
Single Ethernet interface—Multiple devices connected to an unmanaged switch
Tip Sharing a single gigabit Ethernet interface among devices may reduce overall signal throughput. For maximum signal throughput, NI recommends that you connect no more than one device per Ethernet interface.
Multiple Ethernet Interfaces
To configure multiple devices connected to separate gigabit Ethernet interfaces, assign each Ethernet interface a separate subnet, and assign the corresponding device an address in that subnet, as shown in the following table.
You can configure multiple devices using a single host Ethernet interface when the devices are connected to each other using a MIMO cable.
Assign each device a separate IP address in the subnet of the host Ethernet interface, as shown in the following table.
Table 3. Single Host Ethernet Interface—MIMO Configuration
Device
Host IP Address
Host Subnet Mask
Device IP Address
USRP Device 0
192.168.10.1
255.255.255.0
192.168.10.2
USRP Device 1
192.168.10.1
255.255.255.0
192.168.10.3
Connect Device 0 to the Ethernet interface and connect Device 1 to Device 0 using a MIMO cable.
Single Ethernet Interface—Multiple Devices Connected to an Unmanaged Switch
You can connect multiple USRP devices to a host computer through an unmanaged gigabit Ethernet switch that allows a single gigabit Ethernet adapter on the computer to interface with multiple USRP devices connected to the switch.
Assign the host Ethernet interface a subnet, and assign each device an address in that subnet, as shown in the following table.
Table 4. Single Host Ethernet Interface—Unmanaged Switch Configuration