image image image image image

On This Page

Management interfaces are used in order to provide access to gateway management user interfaces (e.g., CLI). Skyway supports out-of-band (OOB) dedicated interfaces (e.g., mgmt0, mgmt1) and in-band dedicated interfaces. In addition, Skyway features a serial port that provides access to the CLI only.

Configuring Management Interfaces with Static IP Addresses

To gateway to static assignments and the gateway system was set during initialization to obtain dynamic IP addresses through DHCP, perform the following steps:

  1. Enter Config configuration mode.

    gateway > enable
    gateway # configure terminal
  2. Disable setting IP addresses using the DHCP.

    gateway (config) # no interface <ifname> dhcp
  3. Define interfaces statically.

    gateway (config) # interface <ifname> ip address <IP address> <netmask>

Dynamic Host Configuration Protocol (DHCP)

DHCP is used for automatic retrieval of management IP addresses.

For all other systems (and software versions), DHCP is disabled by default. 

When connecting through SSH, running the wizard, and turning off DHCP, the connection will be immediately terminated as the management interface loses its IP address.

localhost># ssh admin@<ip-address>
Mellanox Gateway Management
Mellanox Gateway
Mellanox configuration wizard
Do you want to use the wizard for initial configuration? yes
Step 1: Hostname? [my-gateway]
Step 2: Use DHCP on mgmt0 interface? [yes] no

In this case, the serial connection should be used.

Default Gateway (for Management Traffic)

To configure manually the default gateway, use the “ip route” command, with “” as the prefix and mask. The next-hop address must be within the range of one of the IP interfaces on the system. 

gateway (config)# ip route
gateway (config)# show ip route
Destination       Mask              Gateway         Interface     Source       Distance/Metric
default         mgmt0         static       0/0         mgmt0         direct       0/0

Configuring Hostname via DHCP (DHCP Client Option 12)

This feature, also known as the DHCP Client Option 12, is enabled by default and assigns the gateway system a hostname via DHCP as long as network manager configures hostname to the management interfaces’ (i.e., mgmt0, mgmt1) MAC address. If a network manager configures the hostname manually through any of the user interfaces, the hostname is not retrieved from the DHCP server.

To enable fetching hostname from DHCP server, run the following: 

gateway (config interface mgmt0) # dhcp hostname

To disable fetching hostname from DHCP server, run the following:

gateway (config interface mgmt0) # no dhcp hostname

Getting the hostname through DHCP is enabled by default and will change the gateway hostname if the hostname is not set by the user. Therefore, if a gateway is part of an HA cluster, make sure the HA master has the same HA node names as the DHCP server.