XK0-005 · Question #1293
A newly installed desktop is unable to connect to networked resources. The systems administrator executes various commands and reviews the following output snippets: Which of the following should…
The correct answer is D. ip link set wlo1 up. When a newly installed desktop cannot connect to network resources, a common initial troubleshooting step is to ensure that the network interface is active and administratively up.
Question
Exhibit
Options
- Aarp -s 20:ad:1f:ab:10:0f 192.168.1.10
- Broute add -net 192.168.1.0 netmask 255.255.255.0
- Cdig -x @127.0.0.1 192.168.1.10
- Dip link set wlo1 up
- Ekillall -HUP NetworkManager
How the community answered
(31 responses)- B3% (1)
- D90% (28)
- E6% (2)
Why each option
When a newly installed desktop cannot connect to network resources, a common initial troubleshooting step is to ensure that the network interface is active and administratively up.
`arp -s` adds a static ARP entry, which is rarely needed for basic connectivity and addresses a different problem (ARP resolution) than a down interface.
`route add -net` adds a static route, which is typically for more complex routing issues, not for a basic inability to connect to any networked resources due to a primary interface being down.
`dig -x @127.0.0.1 192.168.1.10` attempts a reverse DNS lookup using the local DNS resolver, which is relevant for DNS resolution issues, not for a fundamental inability to connect at the link or IP layer.
The command `ip link set wlo1 up` is used to bring the specified network interface (`wlo1` often being a wireless interface) administratively 'up'. If a network interface is down, it cannot send or receive network traffic, making it impossible to connect to networked resources, so bringing it up is a fundamental first step to restore connectivity.
`killall -HUP NetworkManager` restarts the NetworkManager service, which might fix some configuration issues, but it is often tried after checking fundamental interface status.
Concept tested: Basic network interface management
Source: https://man7.org/linux/man-pages/man8/ip-link.8.html
Topics
Community Discussion
No community discussion yet for this question.
