I have a device (an handheld gauge with display) that has a ethernet cable allow transfer of data to the computer. I wired the ethernet cable to the computer. The device can ping itself to be 220.127.116.11, but on my computer terminal when I try to ping 18.104.22.168, I receive 100% data lost as if the computer is not connected to the device, but I'm sure the LAN cable has been connected. How come the device cannot be pinged?
As noted, the devices need to be on the same subnet. Can you set the subnet n the handheld device? It will be something likek 255.255.0.0 but there are many variants If you can, also change the IP on the handheld to something that is not routable. 22.214.171.124 can give issues. Your 126.96.36.199 address is owned by verizon and most systems will try and route traffic out to the Internet to find that address. Can you use 10.X.X.X or even 192.168.X.X and use a submet mask of 255.255.255.0 The handheld and teh PC will need to be set up on the same subnet so for example
Handheld IP 192.168.1.5 Subnet 255.255.255.0
PC IP 192.168.1.6 Subnet 255.255.255.0
gateway is not important.
Depending on the device, you may need a crossover cable if connecting from handheld to PC. If you connect both to a switch or a hub, a regular cable is fine.
IP has the concept of subnets. If a destination IP address is on a different subnet the computer will use a router to get the data to the other subnet. Your computer thinks the device is in a different subnet, not local.
I believe it is because the packets are not being routed. You need some sort of routing device between the computer and the gauge.
Is the device fixed to that specific IP address? If not, if you have an internet "modem", and that is connected to a router, connect there. If the router only has one port, you will need an ethernet hub.
You will also need to access your router and tell it to share IP addresses. It's not as complicated as it sounds.
I'm sure others will give you more specific advice. It would be helpful though if you described your network configuration.