Appendix – Configuring UFM Over Static IPv4 Address

Follow this procedure to to run UFM on a static IP configuration instead of DHCP:

  1. Modify the defined management Ethernet interface network script to be static. Run:

    Copy
    Copied!
                

    # vi /etc/sysconfig/network-scripts/ifcfg-enp1s0

    Update the required interface with the static IP configuration (IP address, netmask, broadcast, and gateway):

    Copy
    Copied!
                

    NAME="enp1s0"DEVICE="enp1s0" ONBOOT="yes" BOOTPROTO="static" IPADDR="10.209.37.153" NETMASK="255.255.252.0" BROADCAST="10.209.39.255" GATEWAY="10.209.36.1" TYPE=Ethernet DEFROUTE="yes"

  2. Add host entries to the /etc/hosts file. Run:

    Copy
    Copied!
                

    # vi /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6   10.209.37.153 <hostname>

  3. Check hostname. Run:

    Copy
    Copied!
                

    # vi /etc/hostname <hostname>

  4. Set up DNS resolution at /etc/resolv.conf. Run:

    Copy
    Copied!
                

    # vi /etc/resolv.conf search mtr.labs.mlnx nameserver 8.8.8.8

  5. Restart network service. Run:

    Copy
    Copied!
                

    service network restart

  6. Check Configuration. Run:

    Copy
    Copied!
                

    # hostname <hostname>  # hostname -i 10.209.37.153

© Copyright 2023, NVIDIA. Last updated on Feb 8, 2024.