Configure an Interface - Quiz Explanation
1.
During the boot process, the kernel probes the hardware to recognize and report on network devices attached to the system. What command is used to report the result of this probe?
Please select the best answer.
A.
ping
B.
telnet
C.
dmesg
D.
ifconfig
The correct answer is C.
dmesg
reports the interface name and the ethernet address, among other things. In most UNIX implementations, the program exists in the /bin directory.
2.
For network auditing purposes, you use the Solaris operating system on a portable workstation. The network you are auditing has static IP addresses. Currently your computer is configured for another subnet. You wish to change the IP address.
What is the command for working with network interfaces?
Please select the best answer.
A.
ping
B.
telnet
C.
dmesg
D.
ifconfig
The correct answer is D.
ifconfig
has three purposes: to list configured interfaces, to bring interfaces up and down, and to set the IP address and netmask.
3.
You wish to obtain information about a host concerning the subnet mask and the interface status. Of the programs given below, which would be the most appropriate to use?
Please select the best answer.
A.
route
B.
inetd
C.
ipconfig
D.
ifconfig
The correct answer is D.
ifconfig
lists all currently configured interfaces on the system and basic status information about each interface.