000-221 · Question #86
A host is already configured to access the network, and the administrator would like to configure a second adapter on the same system. This adapter should be permanently configured so that the new…
The correct answer is D. chdev. The chdev command with the -P flag permanently writes network interface configuration to the AIX ODM, ensuring settings survive a reboot.
Question
A host is already configured to access the network, and the administrator would like to configure a second adapter on the same system. This adapter should be permanently configured so that the new IP address is available when the system reboots. Which command should be used?
Options
- Aifconfig
- Bipconfig
- Cmktcpip
- Dchdev
How the community answered
(42 responses)- A5% (2)
- B12% (5)
- C5% (2)
- D79% (33)
Why each option
The chdev command with the -P flag permanently writes network interface configuration to the AIX ODM, ensuring settings survive a reboot.
ifconfig applies changes only to the live running system; no changes are written to the ODM, so all configuration is lost upon reboot.
ipconfig is a Windows command-line tool and does not exist in the AIX operating system environment.
mktcpip is designed for the initial, one-time TCP/IP setup of a system including hostname and default route; it is not intended for adding and permanently configuring additional network adapters.
The chdev command with the -P (permanent) flag stores the network adapter attributes directly into the ODM (Object Data Manager), so the configuration is reapplied automatically at every system boot. This is the correct approach for adding a second adapter permanently because it targets only the specified device without disrupting existing interface configurations or requiring a full TCP/IP reinitialize.
Concept tested: Permanent network adapter configuration via chdev -P
Source: https://www.ibm.com/docs/en/aix/7.3?topic=c-chdev-command
Topics
Community Discussion
No community discussion yet for this question.