nerdexam
CompTIA

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.

Troubleshooting

Question

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 systems administrator try NEXT to restore connectivity?

Exhibit

XK0-005 question #1293 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)
  • B
    3% (1)
  • D
    90% (28)
  • E
    6% (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.

Aarp -s 20:ad:1f:ab:10:0f 192.168.1.10

`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.

Broute add -net 192.168.1.0 netmask 255.255.255.0

`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.

Cdig -x @127.0.0.1 192.168.1.10

`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.

Dip link set wlo1 upCorrect

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.

Ekillall -HUP NetworkManager

`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

#Network troubleshooting#Linux networking commands#Network interface management#ip command

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice