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:
- Connect the external cables.
- Make note of the current configuration by running
$ apnetTest.py health patchpanel - Identify which ports to use:
- Up to 4 ports can be teamed together.
- The supported bonding mode is mode4 (802.3 LACP).
- Start a screen session with screen -S apsetup_session.
This keeps the apsetup session active in case a selected option requires internal network restart.
- Run apsetup within the screen session.
- 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 then2: Select an interface to configure. - Enter the interface name, for example fbond4 and select
Enable/Disable interface. Type y to enable the interface. - Select * to return to the
Configure interfaces, bonds, and VLANsmenu, and then select * again to return to the main Network Configuration menu. - Select
Configure hostnames, IP addresses and Gatewayto configure the device IP, netmask, gateway information. - From the Network Configuration menu, select
Save Config and Apply Config.