Direct Ethernet Connectivity to Kona Gateways Without Network Infrastructure
In the event that you do not have access to any network infrastructure, such as a switch or router, nor do you have any serial cable access to the gateway available, access to the gateway is still possible using the steps shared below
When no DHCP server is present, the gateway will automatically assign itself an IP address in the 169.254.x.x/16 range.
This is known as a link-local or APIPA (Automatic Private IP Addressing) address.
This address can be used to connect to the gateway via SSH without requiring a DHCP server—for example, by directly connecting the gateway to a laptop or PC using an Ethernet cable.
To do so, please follow the steps below:
- On the PC, manually assign an static IP address in the 169.254.x.x/16 range (subnet mask 255.255.0.0) to the Ethernet interface.
- Connect the gateway directly to the PC using an Ethernet cable.
- On the PC, run the command ssh admin@kona-micro-XXYYZZ.local where "micro" is the model of your Kona Gateway and "XXYYZZ" is the last 6 characters of your Gateway's MAC Address / GW-ID.
- Alternatively, you can use an IP scanning tool to scan the 169.254.0.0/16 range to find the IP address used for the gateway MAC address.
- On Linux, you can run: sudo nmap -sn 169.254.0.0/16 to scan for the gateway MAC address as well.
- Identify the gateway’s IP address and connect to it via SSH or Kona Link.