Tips on How to Find the IP Address Assigned to Your Ethernet Adapter



Last updated
Refer to the figure below. On a Windows machine open a command window and type âipconfig -allâ. If you are using a Linux machine, we assume you already know how to set up networks.
The program will output the status of all the attached Ethernet, WiFi, and Bluetooth adapters. We are only interested in the adapters that are attached and on an Ethernet network.
Note the adapter called âUSB for DVLâ. In the network properties windows, I assigned it this name when I set up the adapter and its address (the default name was something like âRealtek USB Adapterâ).
The IP address assigned to this adapter is 192.168.2.5 (this is the PCâs IP address, not the DVLâs IP address). In binary this looks like 11000000.10101000.00000010.00000101. The subnet mask is 255.255.252.0. In binary, this looks like 11111111.11111111.11111100.00000000. For IP addresses to be on the same subnet, anywhere there is a binary â1â in the subnet mask, the corresponding bits in the IP addresses must match. Note: if you follow the Blue Robotics directions, your PCâs address on the ROV network should be 192.168.2.2. This means my PCâs âUSB for DVLâ adapter and a properly configured Blue Robotics PC are on the same subnet, and if the DVL is on its default fallback address of 192.168.2.3 itâs also on the same subnet, and if a BlueROV is assigned its default address of 192.168.2.1, itâs on the same subnet as well.
Note that the PC office network IP address is 10.0.3.108, and the office network subnet mask is 255.255.248.0. If all the devices mentioned in the previous paragraph were moved to my office network without changing any addresses, the PC could not talk to the DVL et al., nor vice versa (except for broadcast messages, which are generally sent by a PC to all its adapters and received by all stations on a network).
Bottom line: if you are using fallback or static addresses, you want to be sure the DVL is connected to a PC Ethernet interface on the proper subnet.
If the DVL receives its address using DHCP, then the DVL address should already be on the proper subnet to talk to a PC but may need to use a broadcast address to reach a Blue Robotics PC or ROV.
The âpingâ command can be used to establish if a DVL is connected and is on a reachable subnet. The following figures show examples of the âpingâ command. Linux machines have a âpingâ command that works the same as the Windows âpingâ for our purposes.



Last updated