100-140 Question 234
Select 3A user reports that they are unable to access a website. As a support technician, you suspect there may be an issue with the system's network configuration. Which iproute2 commands would you use to troubleshoot the problem?
- A
ip addr
- B
ss -t
- C
ip route
- D
ss -l
- E
ip link set dev eth0 up
Show answer and explanation
Correct answers: A, B, C
Explanation
To troubleshoot network access issues, it is important to check the system's IP configuration (ip addr), active TCP connections (ss -t), and routing table (ip route). These commands provide critical information about the system's network state and can help isolate the issue. Other commands, like checking listening sockets (ss -l) or bringing interfaces up (ip link set dev eth0 up), are not directly relevant to diagnosing the user's connectivity issue in this scenario.
- A. Correct.
ip addrdisplays the IP addresses assigned to network interfaces. This information is crucial for checking if the system has a valid IP configuration. - B. Correct.
ss -tlists active TCP connections, which can help verify if there is any connection attempt to the website. - C. Correct.
ip routedisplays the system's routing table, which can help identify if there is a misconfiguration preventing proper routing to the website. - D. Incorrect.
ss -lshows listening sockets, which is useful for debugging server-side issues but not relevant for troubleshooting client connectivity to a website. - E. Incorrect.
ip link set dev eth0 upis used to bring a network interface up. While this might be useful in some cases, it is not a troubleshooting command for diagnosing a user's connectivity issue.