Direct Connection via Ethernet (App Note)
Overview
Normal network setup uses a router, but instead you can configure your computer's Ethernet network adapter to host a static network. You can then connect a LabJack device via its Ethernet port directly. You can also connect multiple devices to a switch or a hub connected directly to your computer's Ethernet port.
A direct Ethernet connection is a fast, low-latency Ethernet connection because there are as few network connections as possible.
Steps to Configure a Direct Ethernet Connection
Configure a static IP address for the both the LabJack and the computer.
Configure your computer
Follow a tutorial for your operating system to configure your computer's Ethernet port to have a static IPv4 IP address. For example:
- Give your computer a static IP address of:
192.168.1.2
- The subnet mask should be:
255.255.255.0
- The default gateway should be:
192.168.1.1
If you have more than one network adapter, make sure that the other network adapters do not overlap. For example, if multiple network adapters have a gateway of 192.168.1.1
then only one of them will work. For this, you can use a different network gateway, such as 192.168.25.1
. Adjust the LabJack's network configurations accordingly.
Configure your LabJack T4 or T7
Use Kipling to configure a static IP:
- Connect a computer to the LabJack via USB.
- Run Kipling, connect to the LabJack via USB, and navigate to the Network Settings tab.
- Disable DHCP to enable manual entry of the networking details.
- Enter the IP address:
192.168.1.3
- Subnet:
255.255.255.0
- Gateway:
192.168.1.1
- You can leave the DNS/Alt-DNS IP addresses at:
0.0.0.0
- Press the
Apply
button.
- Enter the IP address:
- Wait a few seconds for the device's reported connection status to report "Connected" and show a static IP address of
192.168.1.3
. If this does not happen, close Kipling, power cycle the LabJack, re-open Kipling, and try again.
For devices without USB, use an SPC-to-AIN3 jumper to temporarily configure a static IP.
Test the connection
Now go to step #7 of the Setup WiFi and Ethernet ... App Note, and depending on what happens you might need to see the troubleshooting tips towards the end of the Basic Networking & Troubleshooting App Note.
If communication with a static IP device is lost
If the device's Ethernet configuration gets reset it will default to DHCP on. In most cases, the device using DHCP will not be able to communicate on a static network. Options to reestablish communication are:
- Use USB to reconfigure the Ethernet settings.
- Use a router to assign addresses, via DHCP, to both the T-Series device and a computer. Then use that computer to reconfigure the T-Series device.
- Use an SPC-to-AIN3 jumper to temporarily configure a static IP.