In IPv4 networks, devices typically rely on DHCP to obtain an IP address and other network configuration parameters. In some cases, however, a static IP address configuration may be preferred or required. XBee Hive for Wi-SUN supports static IP address configuration for both Ethernet and Wi-Fi.
-
Select the device in Remote Manager and click Actions > Open Console, or log in locally as an Admin.
-
Enter Admin CLI (type
adminif prompted). -
Enter configuration mode:
> config (config)>
-
For this example, we will edit an existing interface named eth. Change to the eth ipv4 node in the configuration schema:
(config)> network interface eth ipv4 (config network interface eth ipv4)>
-
Configure the interface to use a static IPv4 address:
(config network interface eth ipv4)> type static (config network interface eth ipv4)>
-
Configure the static IPv4 address and default gateway:
(config network interface eth ipv4)> address 192.168.1.10/24 (config network interface eth ipv4)> gateway 192.168.1.1 (config network interface eth ipv4)>
-
(Optional) Configure a DNS server:
(config network interface eth ipv4)> add dns end 8.8.8.8 (config network interface eth ipv4)>
-
Save the configuration and apply the change.
(config network interface eth ipv4)> save Configuration saved. >
-
Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection menu. Type quit to disconnect from the device.
-
Log in to Digi Remote Manager or the local Web UI as a user with full Admin access rights.
-
Access the device configuration:
Method Steps Remote Manager
-
Locate your device.
-
From the menu, click Devices to display a list of your devices.
-
Use the Filter bar to locate the device you want to manage. For example, to search by type of device:
-
Click the Advanced Search button.
-
Click in the Filter bar.
-
Enter in the type of device you’re looking for (for example, XBee Hive for Wi-SUN).
-
-
-
Select the Device ID.
-
Select Settings.
-
Select to expand Config.
Local Web UI
-
On the menu, click System. Under Configuration, click Device Configuration.
The Configuration window is displayed.
-
-
Click Network, then click Interfaces.
-
Create a new interface, or click on an existing interface. For this example, we will click the existing interface named ETH1.
-
Configure IPv4 settings:
-
Click to expand IPv4.
IPv4 support is enabled by default. -
For Type, select Static IP address.
-
For Address, enter the static IPv4 address.
-
For Default gateway, enter the default gateway address.
-
(Optional) Click DNS servers, and add at least one DNS server IP address.
-
-
Click Apply to save the configuration and apply the change.