Previous Topic: If Bypass Relay Is ClosedNext Topic: Napatech Drivers


No IP Address For Management Port (Linux Server Platform)

Symptom:

The Linux Server Platform installer configures network ports for managing the device with DHCP. If no DHCP server is available, these ports do not receive IP addresses.

Solution:

You can configure a port with static IP addresses using the Interfaces page of the NBA Console, however, the console requires that at least one port already has an IP address. If that is not the case, enter the following on the command line.

To configure a port with a static IP address

  1. Choose the port name you wish to configure. Enter ‘ifconfig’ to discover available port names, for example, ‘eth0’.
  2. Enter ‘vi /etc/sysconfig/network-scripts/ifcfg-eth0’.
  3. Type ‘i’ to switch to character insert mode. Change the file to the following configuration:
    DEVICE="eth0"
    HWADDR="xx:xx:xx:xx:xx:xx"
    NM_CONTROLLED="yes"
    BOOTPROTO="none"
    IPADDR="192.168.0.12"
    NETMASK="255.255.255.0"
    GATEWAY="192.168.0.1"
    ETHTOOL_OPTS="autoneg on"
    IPV6INIT="yes"
    ONBOOT="yes"
    

    Replace "xx:xx:xx:xx:xx:xx" by the hardware address of the network card.

  4. Type ESC to leave character insert mode. Type ‘:wq’ to save the file.
  5. Type ‘service network restart’ to activate the network port.
  6. Type ‘ifconfig’ and verify that the port now has an IP address.