LX0-104 · Question #101
What of the following can be done by the command ifconfig? (Choose TWO correct answers.)
The correct answer is A. Set a network interface active or inactive. D. Change the netmask used on a network interface. The ifconfig command enables the activation or deactivation of network interfaces and allows for changing their netmask settings.
Question
Options
- ASet a network interface active or inactive.
- BSpecify the kernel module to be used with a network interface.
- CAllow regular users to change the network configuration of a network interface.
- DChange the netmask used on a network interface.
- ESpecify which network services are available on a network interface.
How the community answered
(19 responses)- A89% (17)
- B5% (1)
- C5% (1)
Why each option
The `ifconfig` command enables the activation or deactivation of network interfaces and allows for changing their netmask settings.
`ifconfig` permits enabling or disabling a network interface using the `up` and `down` keywords, directly controlling whether the interface is active or inactive.
Specifying the kernel module for a network interface is handled by the kernel's driver loading mechanisms or module configuration files, not directly by `ifconfig`.
The `ifconfig` command requires root privileges to modify network configurations; regular users are typically not allowed to change interface settings.
Administrators can use `ifconfig` to set or modify the netmask associated with a specific network interface, defining the network and host portion of its IP address.
`ifconfig` configures low-level network interface parameters like IP addresses and status, but it does not specify or control which higher-level network services are available on an interface.
Concept tested: ifconfig command capabilities
Topics
Community Discussion
No community discussion yet for this question.