ip -br addrReferenceCompact interface/address state.
Linux · mixedSearch reference content or use the available lookup modes. Use Escape to close and arrow keys to move through results.
ospf lsdb, ceph pg inactive or powershell remoting.A Linux network interface is the kernel's handle for a network connection — a physical card, a VLAN, a bridge, a bond. ip shows and changes it; a separate network manager makes the settings permanent.
Linux · iproute2. Run in the network namespace that owns the affected workload. Replace placeholders.
| Observed state | Possible cause | Command | Observation and next check |
|---|---|---|---|
| Device missing | Wrong namespace, renamed or absent device | ip -br link show | Find the intended device and state flags; UP is administrative state. Next: If absent, inspect the workload namespace or device creation. Use ip -details link show to confirm ifindex when identity is uncertain. |
| UP but no carrier | Physical link, peer or lower virtual device unavailable | ip -details link show dev <interface> | For Ethernet, compare UP with LOWER_UP / NO-CARRIER and operstate. Virtual devices can report UNKNOWN. Next: Check cable/switchport for physical links, or parent/peer/master for virtual links. |
| Address missing or wrong | Address configuration or manager did not apply | ip -br address show dev <interface> | Compare address and prefix with the intended subnet. Next: Inspect the active network manager and DHCP/static configuration. |
| Wrong egress path | Route or policy selects another device/source | ip route get <destination> | Read the selected dev, source and next hop for this destination. Next: For policy routing, include the real source/mark/VRF context; inspect ip rule show. |
| Errors or drops rising | Device, queue or link problem; counters alone do not identify it | ip -s link show dev <interface> | Compare two samples during the same failing workload. Next: Correlate increasing errors/drops with driver statistics and the peer; then repeat the flow. |
Illustrative output · not captured Evidence
$ ip -br link show dev eth0 eth0 DOWN ... <NO-CARRIER,BROADCAST,MULTICAST,UP>
Illustrative Ethernet output: UP in the flag list means administratively enabled; NO-CARRIER and DOWN indicate that the lower link is unavailable. Check the peer/link before changing routes. Link state alone does not prove service reachability.
Configuration and operational commands for this Topic.
ip -br addrReferenceCompact interface/address state.
Linux · mixedip -s linkReferenceInterface counters, errors and drops.
Linux · mixedip -details link showReferenceShows interface state, flags, MTU and link-layer details.
Use when: Use after confirming the Linux Networking target and before changing state.
Quick note: Linux · distribution/version specific. A successful command or active unit proves only local state; it does not prove dependency health, data integrity or client-visible service.
Linux · mixedip address showConfigureShows IPv4/IPv6 addresses and interface state.
Use when: Use after confirming the Linux Networking target and before changing state.
Quick note: Linux · distribution/version specific. A successful command or active unit proves only local state; it does not prove dependency health, data integrity or client-visible service.
Linux · mixedip -6 addr showReferenceInspect IPv6 addresses, scope and interface state.
Linux · mixedAdditional explanation, verification and reference tables.
Fast context before you go deeper.
ip -br addrUse it when a Linux host has no connectivity, the wrong address, or settings that vanish or revert.
1. ip -br link — is the interface UP, and is it LOWER_UP?
2. NO-CARRIER → cable, switch port or virtual switch.
3. ip -br addr — the expected address and prefix?
4. ip route — a default route? Then ping <gateway>.
5. Settings keep reverting → find the manager (nmcli device status, networkctl) and change it there.
interface exists under its real name → administratively up → carrier → correct address and prefix → route to the destination → gateway reachable → configuration stored in the managing tool
For Linux Networking → Network Interfaces, continue with the first unproven Topic check: Identify namespace, ifindex, name, MAC, driver/type and any master/peer/parent relationship. If that boundary is healthy, advance to the adjacent check: Compare administrative state, carrier/operstate, addresses and error/drop counters. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.
Continue only after interpreting the current observation.ip, so it is configured." Until the next reboot or network restart.LOWER_UP; without it there is no carrier.ip -br link; names follow the hardware.ifconfig shows everything." It is deprecated and does not show all addresses; use ip.Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
namespace → ifindex/name → device type/driver → admin state → carrier/operstate → addresses → master/peer/parent relation → counters → packet path → workload
Healthy evidence: the expected netdevice exists in the correct namespace with stable identity, intended master/peer relations, suitable carrier/state and clean counters for the tested flow.
The ip command family for links, addresses, routes, neighbors, policy routing and namespaces.
ip -br addr, ip route, ip rule and ip route get for concise state.- Verify policy-routing table selection before editing routes.
- For neighbor failures, inspect ip neigh and the L2 path rather than adding static routes.
Existing fast checks for this Topic. - Identify namespace, ifindex, name, MAC, driver/type and any master/peer/parent relationship.
Verification chain. namespace → ifindex/name → device type/driver → admin state → carrier/operstate → addresses → master/peer/parent relation → counters → packet path → workload
ip -br link
ip addr show eth0
ethtool eth0
Suspicious evidence: the same interface name refers to a different namespace/device, carrier is absent despite UP, a virtual interface is attached to the wrong master, or errors/drops rise during the failing workload.
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
UP means enabled; LOWER_UP means there is a link. Changes made with ip are lost at reboot. One tool owns the permanent configuration — NetworkManager, systemd-networkd, netplan or ifupdown; find out which before editing. Names follow the hardware (ens192), not eth0.
ip -br link — every interface with its state.ip -br addr — addresses per interface.ip route — routes and the default gateway.ethtool <interface> — speed, duplex, link detected.ip -s link show <interface> — errors and drops.nmcli device status or networkctl — which manager controls it.Use ifindex/namespace as the durable identity during diagnosis because names can change. Separate device existence from administrative state, carrier from protocol readiness, and interface counters from end-to-end success. For virtual interfaces, identify peer, parent, master or backing device relationships.
A network interface on Linux is the kernel's handle for a network connection — a physical card, a VLAN, a bridge, a bond, a tunnel or the loopback. The ip command shows and changes interfaces, addresses and routes; what makes those settings permanent is a separate network manager.
Use this Topic when the problem is in iproute2. Use Linux Networking when the problem concerns Linux runtime, services, networking, identity, packages, storage or shell automation.
Most Linux connectivity problems come down to a few interface facts: is it up, does it have carrier, which addresses does it hold, and who configured it. The last one matters because changes made with ip vanish at the next reboot, and several different tools may be responsible for the permanent configuration.
Reading the state. ip -br link lists interfaces with their state; ip -br addr adds the addresses. In the full output, the flags tell two different things:
| Flag | Meaning |
|---|---|
UP | Administratively enabled |
LOWER_UP | Carrier present — a cable and a link partner |
NO-CARRIER | Enabled, but no link |
An interface can be UP without LOWER_UP: enabled with nothing connected.
Names. Modern systems name interfaces by where the hardware sits — enp3s0, eno1, ens192 — so names stay stable across reboots. eth0 is no longer a safe assumption.
Temporary changes.
ip link set dev ens192 up
ip addr add 10.20.0.5/24 dev ens192
ip route add default via 10.20.0.1
These take effect at once and are lost at reboot.
Permanent configuration belongs to whichever tool manages networking on the system:
| Tool | Typical on | Configuration |
|---|---|---|
| NetworkManager | RHEL family, desktops | nmcli, files in /etc/NetworkManager/system-connections |
| systemd-networkd | Minimal and container hosts | /etc/systemd/network/*.network |
| netplan | Ubuntu | /etc/netplan/*.yaml, rendered to one of the above |
| ifupdown | Older Debian | /etc/network/interfaces |
Find out which one is active before editing files; configuring an interface in two places leads to settings that keep reverting.
Hardware level. ethtool <interface> shows speed, duplex and whether a link is detected; ethtool -S <interface> and ip -s link show error and drop counters.
Namespaces. Containers have their own set of interfaces. ip shows only the namespace it runs in; ip netns and nsenter reach the others.
Interface state shows only host-side netdevice properties in a namespace, but it does not show switchport/VLAN correctness, route selection, remote reachability or application acceptance.
Addresses on Linux interfaces with ip address
Linux keeps interface state (links) separate from the addresses assigned to them, and ip address manages the addresses. The ip-address(8) manual page defines the behaviour:
ip address add assigns an address to a device, and delete takes the same arguments. flush refuses to run without arguments, because it removes every matching address.global (valid everywhere), link (valid only on this device) and host (valid only inside this host). site exists for IPv6 but is deprecated.valid_lft and preferred_lft default to forever. When the preferred lifetime expires, new outgoing connections stop using the address. When the valid lifetime expires, the kernel removes it.eth0:mgmt.Reading the output
| Element | Meaning |
|---|---|
inet 10.110.0.64/24 | IPv4 address and prefix length |
scope global / scope link | Where the address is valid |
dynamic | Learned automatically (DHCP or SLAAC), with lifetimes counting down |
secondary | An additional IPv4 address in the same subnet |
tentative | IPv6 duplicate address detection is still running |
dadfailed | IPv6 DAD found a duplicate; the address is not used |
deprecated | The preferred lifetime has expired |
Common tasks
host$ ip -br address show
lo UNKNOWN 127.0.0.1/8 ::1/128
eth0 UP 10.110.0.64/24 2001:db8:110::64/64 fe80::a6bb:6dff:fe55:164/64
host$ sudo ip address add 10.110.0.65/24 dev eth0 label eth0:svc
host$ ip address show dev eth0 secondary
host$ ip -6 address show dev eth0 tentative
host$ ip -6 address show dadfailed
host$ sudo ip address add 192.0.2.10/32 dev lo
host$ sudo ip address del 10.110.0.65/24 dev eth0
Runtime state isn't saved
Addresses added with ip disappear at reboot, or when the network manager reapplies its configuration. Use ip to test and troubleshoot, then put the result into NetworkManager, systemd-networkd or Netplan. Otherwise the next restart quietly undoes the change.
Documented example, not captured output.
Network Interfaces is part of Linux Networking → Network Interfaces. A Linux network interface is a kernel netdevice identified by ifindex and a name inside a network namespace; administrative UP, carrier, operstate, master membership, addresses and device-specific properties are distinct state dimensions.
Topic-specific state model. A Linux network interface is a kernel netdevice identified by ifindex and a name inside a network namespace; administrative UP, carrier, operstate, master membership, addresses and device-specific properties are distinct state dimensions.
Interpretation rule. - Interface name ≠ globally unique identity across namespaces or across time.
Primary failure point. Interface state shows only host-side netdevice properties in a namespace, but it does not show switchport/VLAN correctness, route selection, remote reachability or application acceptance.
Distribution/platform context. Network Interfaces owns Linux netdevice identity and operational state. VLAN, Bonding, Bridges and Network Namespaces own their specialized topology semantics; manager-specific persistence belongs to NetworkManager, Netplan or systemd-networkd.
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Linux Networking → Network Interfaces. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/networking/index.html · confidence 94%Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Topic-specific lookup boundaries, proof limits and next-step Evidence for Network Interfaces.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | A Linux network interface is a kernel netdevice identified by ifindex and a name inside a network namespace; administrative UP, carrier, operstate, master membership, addresses and device-specific properties are distinct state dimensions. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin host + namespace + exact flow → identify configuration owner/renderer → identify ifindex/interface + topology → inspect link/carrier → inspect addresses → inspect neighbor resolution → reproduce route/rule lookup → verify VLAN/bond/bridge/MTU as relevant → inspect packets/socket → verify return path → repeat original workload. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | namespace → ifindex/name → device type/driver → admin state → carrier/operstate → addresses → master/peer/parent relation → counters → packet path → workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | Interface state proves only host-side netdevice properties in a namespace; it does not prove switchport/VLAN correctness, route selection, remote reachability or application acceptance. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux networking evidence can establish this proof path: namespace → ifindex/name → device type/driver → admin state → carrier/operstate → addresses → master/peer/parent relation → counters → packet path → workload | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove behavior outside the captured namespace, interface, local kernel, L2/path or workload scope. Interface state proves only host-side netdevice properties in a namespace; it does not prove switchport/VLAN correctness, route selection, remote reachability or application acceptance. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven boundary: confirm namespace and configuration owner, inspect ifindex/link/address/neighbor/route state for the exact flow, verify L2/MTU construction and packet movement, then test the listening service and return path before making additional changes. | Continue to the next unresolved boundary while preserving the original test condition. |
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | Network Interfaces |
|---|---|
| Topic path | Linux Networking → Network Interfaces |
| Runtime state | A Linux network interface is a kernel netdevice identified by ifindex and a name inside a network namespace; administrative UP, carrier, operstate, master membership, addresses and device-specific properties are distinct state dimensions. |
| Fast checks | - Identify namespace, ifindex, name, MAC, driver/type and any master/peer/parent relationship. - Compare administrative state, carrier/operstate, addresses and error/drop counters. - Correlate changes or renames with udev/manager state and kernel logs when identity is uncertain. - Verify an exact flow through the interface rather than relying on generic counter movement. |
| Verification chain | namespace → ifindex/name → device type/driver → admin state → carrier/operstate → addresses → master/peer/parent relation → counters → packet path → workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. |
| Failure boundary | Interface state proves only host-side netdevice properties in a namespace; it does not prove switchport/VLAN correctness, route selection, remote reachability or application acceptance. Boundary chain: process/socket namespace → source/rule/FIB → neighbor → netfilter/eBPF/qdisc → virtual/physical device → peer → return → application. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |