Obtaining the Device's IP Address
Obtaining the Device's IP Address

Obtaining the Device's IP Address

Access the device’s IP directly by using six digits (shown in the following example as X and Y) included in the serial number.
  • Example:
  • 12XXX345678YYY - where the values for XXX and YYY form the third and fourth octet of the device’s USB IP address:
  • The USB IP address is in the format: 172.16.XXX.YYY
  • If XXX is less than 256; XXX; otherwise XXX = XXX Modulo 256
  • If YYY is less than 256, YYY; otherwise YYY = YYY Modulo 256
The following examples explain how to calculate the USB IP address:
  • Example 1: Both XXX and YYY are less than 256
    • SN:21097520180161
      • XXX = 097
      • YYY = 161
    • USB IP Address = 172.16.97.161
  • Example 2: XXX is greater than 256 and YYY is greater than 256:
    • SN:21364520180597
      • XXX = 364 (Since this value is greater than 256, perform a Modulo operation)
      • XXX = 364%256 = 108
      • YYY = 597 (Since this value is greater than 256, perform a Modulo operation)
      • YYY = 597%256 = 85
    • USB IP Address = 172.16.108.85
If connected via Ethernet directly to the PC, the IP address should fit the format 169.254.x.y., where x and y are the last four characters of the MAC address converted from hex to decimal.
  • Example:
  • MAC Address: 78:b:d6:5c:6d:f2
    • 6D (hex) - 109 (decimal)
    • F2 (hex) - 242 (decimal)
  • IP = 169.254.109.242
If connected via Ethernet to a network via switch or hub, use the DHCP address from the network/router configuration.
For all connection methods, users are also able to access the device via hostname instead of IP address. The hostname consists of the device part number and the last four characters of the MAC address:
  • Example:
  • Part Number - GS20
  • MAC Address - 78:b:d6:5c:6d:f2
  • Hostname = GS206df2
Go to zebra.com/support for the latest device firmware.