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

    • 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 ...
    • Initial Configuration of a Nodegrid Appliance via the Console Port

      Configuring a Nodegrid Appliance through the console port lets you perform the initial configuration easily via CLI. Once the Nodegrid platform is turned on we can see the startup process of Nodegrid device via console port connected to the Nodegrid. ...
    • Wireguard Configuration in Nodegrid 5.2 and newer

      Overview Wireguard is a current tunnel solution which is part of current Linux distributions. The Solutions are making its way into the some business applications and is for example currently supported by 128 Technologie and Perimeter81. Advantages: ...
    • Creating a New Firewall rule to block an Ip address or a network

      There are six default chains to configure firewall rules. Three for IPv4 and three for IPv6.  These chains are input , output and forward packets. One can make additional user chain if required. For each chain, policy can be created. Configuration ...
    • 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 ...