Configure a static IP address
Use a universal serial bus (USB) pendrive to manually configure a static internet protocol (IP) address on a Guardian Air device. This approach is used when automatic configuration using the dynamic host configuration protocol (DHCP) is not available. The IP address, gateway, and domain name system (DNS) settings must be defined in a configuration file stored on the USB device.
Before you begin
- Your Guardian Air device is running firmware version 1.0.7 or later
- You have a universal serial bus (USB) drive formatted as FAT32
About this task
You can use a USB pendrive to manually configure a static internet protocol (IP) address on a Guardian Air device. Before you do this procedure, we recommend that you upgrade to the latest version of Guardian Air. To do this, you will need to connect your Guardian Air to a network that already has a dynamic host configuration protocol (DHCP) server. This will let you do the automatic upgrade.
Procedure
-
Connect a USB pendrive to a desktop or laptop
computer.
Note:The operating system (OS) installed is not important.
- Assign the label NOZOMI to the USB pendrive.
-
On the USB pendrive, create a file with the name:
eth0-manual.network
Use a plain text editor to create configuration files. For example, Visual Studio Code or Sublime Text.
-
In the eth0-manual.network file, enter this text:
[Match] Type=ether Name=eth0 KernelCommandLine=!nfsroot KernelCommandLine=!ip [Network] Address=<IPv4-CIDR-address> Gateway=<Gateway-IPv4-address> DNS=<DNS-IPv4-address>
-
Replace the text:
<IPv4-CIDR-address>
with the IPv4 classless inter-domain routing (CIDR) address that you want to assign to the device. For example: 172.16.4.195/26 -
Replace the text:
<Gateway-IPv4-address>
with the IPv4 address of the gateway. For example: 172.16.4.193 -
Replace the text:
<DNS-IPv4-address>
with the IPv4 address of the domain name server (DNS) server. - Save the eth0-manual.network file.
- Safely eject the USB pendrive.
- If the Guardian Air device is powered on, disconnect the electrical power cable.
- Connect the USB pendrive to one of the USB ports on the Guardian Air device.
- To turn on electrical power to the Guardian Air device, connect the electrical power cable.
-
Wait until the status light-emitting diode (LED) indicator starts to
flash green.
This means that the Guardian Air custom network configuration has been correctly applied, and the system is able to connect to the Nozomi Networks cloud service. This connection is either direct, or through the configured hypertext transfer protocol (HTTP) proxy.
- If the LED does not flash green, see the Troubleshooting procedure.
- Safely eject the USB pendrive.