Device Not Reachable on the Network and the IP Address Shows as: 169.254.x.x


Whether due to a network problem, or the lack of a DHCP server on the local network to hand out IP addresses, the device is unable to obtain an IP address.  As a result, the device will time out its request for an IP address and invokes what is called Automatic Private IP Addressing (APIPA) to give itself an IP address which begins with 169.254.  A 169.254 IP address is generally not functional as it is typically not accessible by other networking devices with non-APIPA addresses.

It is recommended that either the device is provisioned on a local DHCP server or assigned a static IP address. 
 
For Windows, the Digi Device Discovery Utility can be used to discover and assign an IP address. 
 
For Linux, the Digi ADDP binary can be used to discover and assign an IP address:
 
ADDP 64 bit Linux binary
ADDP 32 bit Linux binary
 
 To use the addp binary on your Linux host, ensure there are executable permissions (chmod a+x addp) and the application is run as root (i.e. sudo):
 
To discover devices on the LAN:
 addp -Q
 
Assign IP address, subnet mask and gateway:
 Use: addp -S -m [MAC address] -a [DUT IP] -s [DUT subnet mask] -g [gateway] -p [password - use ""]
 
Example:
 addp -S -m 00:40:9D:##:##:## -a 192.168.0.6 -s 255.255.255.0 -g 192.168.0.6 -p dbps
 
For changes to become effective, you need to reboot.  Examples:
 addp -R -n 192.168.250.1 -m 00:40:9d:##:##:## -p ""
 addp -R -m 00:40:9D:##:##:## -p dbps

 

Related Links:

Device Discovery Troubleshooting Tips
What ports are used with Digi's Device discovery ADDP protocol?
Linux ADDP Command Examples For Use With Digi Terminal Servers
Valid options for use with the ADDP command line utility that is installed with DPA Remote in Linux

Last updated: Jan 01, 2024

Filed Under

GatewaysNetwork

Recently Viewed

No recently viewed articles

Did you find this article helpful?