Network Configuration via CLI

Network Configuration via CLI

Example of configuring the ETH0 interface via CLI (please, replace the network values with your own information).
  1. Log in as admin to the Nodegrid console port or HDMI
  2. Type the following commands (in bold):
[admin@nodegrid /]# cd settings/network_connections/ETH0/
[admin@nodegrid ETH0]# set ipv4_mode=static
[+admin@nodegrid ETH0]# set ipv4_address=10.0.0.10 ipv4_bitmask=24 ipv4_gateway=10.0.0.1
[+admin@nodegrid ETH0]# show
name: ETH0
type: ethernet
ethernet_interface = eth0
description =
connect_automatically = yes
set_as_primary_connection = yes
enable_lldp = no
ipv4_mode = static
ipv4_address = 10.0.0.10
ipv4_bitmask = 24
ipv4_gateway = 10.0.0.1
ipv4_dns_server =
ipv4_dns_search =
ipv6_mode = address_auto_configuration
ipv6_dns_server =
ipv6_dns_search =
[+admin@nodegrid ETH0]# commit
[admin@nodegrid ETH0]# exit

Repeat the same steps for ETH1, if required.

After this configuration, you can continue other settings by accessing Nodegrid's web portal from a browser, or continue using CLI. Check our Help Center for other articles on configuring Nodegrid via CLI.
    • Related Articles

    • How to Configure Network Bridge on the Nodegrid Serial Console

      Nodegrid Serial Console cascades, or daisy chains, network ports by implementing a network bridge between ports ETH0 and ETH1. In this configuration several NSC units can be used in cascade mode, all sharing the same network switch port, saving a ...
    • How to Enable Network Bonding on the Nodegrid Serial Console

      Below are the steps to configure network bonding with ETH0 and ETH1. WebUI Open a browser, enter the Nodegrid Serial Console IP/hostname, and log in as admin Go to Network :: Connections page Click on Add, and fill out the form as follows: Enter a ...
    • Network Failover with Huawei E3276 USB Wireless Modem

      The E3276 USB wireless modem reports itself as a network device. So you will have to add a network connection in Nodegrid that binds to it. Here are the steps: 1. Login as admin in the Web UI and browse to Network, then Connections. Click Add and ...
    • System Configuration Checksum

      Nodegrid system configuration checksum is a feature which creats a checksum for all the configuration files inside Nodegrid. This provides administrators a quick tool to verify periodically if the configuration has changed, and can be used for ...
    • LLDP Settings

      Nodegrid supports LLDP on its network interfaces. The Nodegrid advertises its identity and capabilities information on the LAN, as well as receiving same information from other devices with this feature enabled. To enable LLDP on the NodeGrid, follow ...