Skip to content

Check Link Layer

published Last Updated: Oct 9, 2026 HW: all
Use the linux IP command
UP/DOWN == the administrator has specified it is up
LOWER_UP/LOWER_DOWN (NO ARP) == The status of the lower layers (Cable connected, wifi up, etc)
Happy one:
$ ip link show dev <interface>
8: <interface>@end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 82:86:08:1e:09:40 brd ff:ff:ff:ff:ff:ff
$
Disconnected one:
$ ip link show dev <interface>
8: <interface>@end0: <NO ARP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 82:86:08:1e:09:40 brd ff:ff:ff:ff:ff:ff
$
Sad one:
$ ip link show dev <interface>
8: <interface>@end0: <BROADCAST,MULTICAST,DOWN,LOWER_DOWN> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 82:86:08:1e:09:40 brd ff:ff:ff:ff:ff:ff

Did this guide help you get unblocked?

Open suggestions

There are no open suggestions.

Open pull requests

There are no open pull requests.