Follow

Configuring the IP address of a new Brain or Sensor

Newly deployed Cognito appliances, whether a Brain or Sensor, need an IP address configured to permit them to be accessible over the network.  This IP address is used for Sensor-to-Brain communication, for the SSH command line interface and, in the case of the Cognito Brain, the web user interface.

There are six ways of configuring an IP address for MGT1 on a new appliance:

  1. KVM or "crash cart" using USB keyboard / VGA monitor.
    • Use a keyboard/monitor if the appliance is an X series appliance.  The S series appliances do not have keyboard/monitor functionality.
  2. Use a serial console cable, at 115200 baud, 8 data bits, no parity bit, one stop bit, and no flow control.
  3. CLI using the MGT2/LAN2 interface, which has a fixed IP address of 169.254.0.10/16.
    • Manually set the host's IP/subnet mask that you will connect to MGT2 from using something like 169.254.0.11 with a subnet mask of 255.255.0.0
    • This method is described further in this article.
  4. IPMI/iDRAC - Connect to the IPMI port (HTTP) and use Serial-over-LAN console access.
  5. Console access via your hypervisor (Hyper-V or VMware) for virtual Sensors.
  6. Use DHCP, enabled by default on the MGT1/LAN1 interface
    • Find the IP address that was assigned to MGT1 from your DHCP server logs
    • You can also find the IP address by logging into the Brain via KVM, serial console, MGT2, or IMPI
      • Use the "show interface mgt1" command to display the address that was assigned via DHCP

Once connected you should authenticate using the default credentials found in this article.

Note regarding syntax changes

Version 6.4 introduced a new syntax for setting or changing the IP address of an appliance.  Below you will find instructions for v6.4 or later and for v6.3 or earlier.

Setting the IP address in v6.4 or later

Once logged in to the appliance you can view command syntax for the "set interface" command as shown:

set interface -h
Usage: set interface [OPTIONS] [mgt1] [dhcp|static] [IP] [SUBNET_MASK]
[GATEWAY_ADDRESS]

Sets mgt1 to either dhcp or static ip configuration

Options:
-h, --help Show this message and exit.

Execute the following command to set the MGT1 interface to the desired static IP address:

set interface mgt1 static x.x.x.x y.y.y.y z.z.z.z

Where:

  • x.x.x.x is the desired interface IP address
  • y.y.y.y is the desired interface network mask
  • z.z.z.z is the desired gateway

Setting the IP address in v6.3 or earlier

Once logged in to the appliance execute the following command to set the MGT1 interface to the desired IP address:

set interface mgt1 static ip x.x.x.x netmask y.y.y.y gw z.z.z.z

Where:

  • x.x.x.x is the desired interface IP address
  • y.y.y.y is the desired interface network mask
  • z.z.z.z is the desired gateway

Note: While the entire string must be lower case when setting the interface, you can use gw or gateway interchangeably. 

Note

You should now be able to connect to the appliance over SSH or, if it is a Brain device, the web user interface.  Please note that X80 appliances are capable of operating their MGT1 interface only at 1G and 10G speeds as discussed here.

Was this article helpful?
0 out of 0 found this helpful

Download PDF

Have more questions? Submit a request

0 Comments

Article is closed for comments.