Configuring network with apsetup

You can change some of the initial network settings using the apsetup interactive script.

A member of the ibmapadmin group can run the apsetup script in the command line. The Network Configuration section includes the following options:
  • Show current network configuration
  • Configure interfaces, bonds, and VLANs
  • Configure hostnames, IP addresses and Gateway
  • Configure DNS
  • Clear network settings
  • Quit (without saving changes) and Exit
  • Save Config and Exit (without applying)
  • Save Config and Apply Config
Example workflow for setting up networking:
  1. Connect the external cables.
  2. Make note of the current configuration by running
    $ apnetTest.py health patchpanel
  3. Identify which ports to use:
    • Up to 4 ports can be teamed together.
    • The supported bonding mode is mode4 (802.3 LACP).
  4. Start a screen session with screen -S apsetup_session.

    This keeps the apsetup session active in case a selected option requires internal network restart.

  5. Run apsetup within the screen session.
  6. From the apsetup Network Configuration menu, select the following options to enable the ports on the device that you want to use, for example, fbond4:2: Configure interfaces, bonds, and VLANs. and then 2: Select an interface to configure.
  7. Enter the interface name, for example fbond4 and select Enable/Disable interface. Type y to enable the interface.
  8. Select * to return to the Configure interfaces, bonds, and VLANs menu, and then select * again to return to the main Network Configuration menu.
  9. Select Configure hostnames, IP addresses and Gateway to configure the device IP, netmask, gateway information.
  10. From the Network Configuration menu, select Save Config and Apply Config.