Troubleshooting

ip link shows eth0 as <NO-CARRIER,BROADCAST,MULTICAST,UP> with state DOWN. What is the most likely cause?

Show the answer

Correct answerD. An unplugged cable or a failed switch port

AWhy not this: IP addressing sits above the link layer and does not change carrier state.

BWhy not this: The UP flag shows the interface is administratively up; it was not set down.

CWhy not this: Routing sits above the link layer, so a missing gateway does not cause NO-CARRIER.

DWhy this is right: NO-CARRIER on an UP interface means no link signal, pointing to the cable, transceiver or switch port.

NO-CARRIER means the NIC detects no link signal, so the fault is in the cable, transceiver, or switch port. An IP address or routing misconfiguration is tempting, but those sit above the link layer and do not change carrier state.