Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Login to the QP using SSH (Secure Shell)

  2. Once logged into the shell type this command below:

    Code Block
    languagebash
    ifconfig eno1 192.168.1.20 netmask 255.255.255.0 up 
  3. Use the command above except substitute (eno1) with the interface that you would like to configure; (192.168.1.20) with the desired IP address and (255.255.255.0) with the desired network mask.

  4. To change a default gateway for the management interface, use the command below:

    Code Block
    route add default gw 192.168.1.254 dev eno1 
  5. Replace (192.168.1.254) with desired gateway IP address and (eno1) with the desired interface name

  6. Verify that the changes are applied by typing this command:

    Code Block
    ip addr show 
  7. Verify the gateway configuration has been changes changed by using this command:

    Code Block
    route -n 

...