<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: DeviceShelf</title>
    <description>The latest articles on DEV Community by DeviceShelf (@deviceshelf).</description>
    <link>https://dev.to/deviceshelf</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4022828%2F92dc3100-4e93-49c8-b92e-e8436b77eb76.png</url>
      <title>DEV Community: DeviceShelf</title>
      <link>https://dev.to/deviceshelf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deviceshelf"/>
    <language>en</language>
    <item>
      <title>Private Wi-Fi Addresses on a Mac: Check the Setting for One Network</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Tue, 01 Dec 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/private-wi-fi-addresses-on-a-mac-check-the-setting-for-one-network-3b3d</link>
      <guid>https://dev.to/deviceshelf/private-wi-fi-addresses-on-a-mac-check-the-setting-for-one-network-3b3d</guid>
      <description>&lt;p&gt;A router, access-point log, or network inventory sometimes shows a Mac with a MAC address you don't recognize. You might think the computer's hardware has changed, someone else has joined the network, or a DHCP reservation has stopped working. Often, the explanation is simpler: the Mac is using a private Wi-Fi address for that network.&lt;/p&gt;

&lt;p&gt;This guide is for a Mac and network you administer. It covers finding the setting, comparing it with the address your router sees, and deciding whether to make a small, reversible change. It doesn't tell you whether an unknown device is safe. It also isn't a reason to weaken your network's access controls.&lt;/p&gt;

&lt;p&gt;The video below shows how to spot a private address in a scan and what the Fixed, Rotating and Off settings do:&lt;/p&gt;

&lt;p&gt;:::video private-wifi-address-explained&lt;/p&gt;

&lt;h2&gt;
  
  
  The effect of a private address
&lt;/h2&gt;

&lt;p&gt;A MAC address is a link-layer address used on a local network. When a device joins Wi-Fi and obtains an IP address, its MAC address is one of the details the access point and DHCP server can use. ARP then helps hosts associate an IPv4 address with a hardware address on that local segment. That's why a router table may show both an IP address and a MAC address. Neither field is a complete identity check. The ARP protocol is specified in &lt;a href="https://www.rfc-editor.org/rfc/rfc826.html" rel="noopener noreferrer"&gt;RFC 826&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Apple's private Wi-Fi address feature lets a Mac use a different address on a Wi-Fi network instead of presenting its hardware address as usual. Apple documents this as a setting for each network. That matters when a laptop behaves normally at home but looks different on an office, guest, or test SSID. The feature is meant to reduce tracking across Wi-Fi networks; it isn't a sign of an error.&lt;/p&gt;

&lt;p&gt;In practice, a router reservation, allow-list entry, or inventory note for an earlier address may no longer match the address the Mac currently uses on that SSID. The DHCP server may issue a different lease, or an access rule tied to the old address may no longer apply. DHCP's client and lease exchange is described in &lt;a href="https://www.rfc-editor.org/rfc/rfc2131.html" rel="noopener noreferrer"&gt;RFC 2131&lt;/a&gt;. A new lease doesn't prove there's a new computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setting for the connected network
&lt;/h2&gt;

&lt;p&gt;Start with the Mac that's actually connected to the network you're checking. Apple documents the current path in System Settings: open &lt;strong&gt;Wi-Fi&lt;/strong&gt;, select the details button for the connected network, and check the &lt;strong&gt;Private Wi-Fi address&lt;/strong&gt; option. This feature requires macOS Sequoia 15 or later and offers three modes: Off, Fixed, and Rotating. The network's security affects the default selection when joining a new network: Fixed for WPA2 or stronger security, and Rotating for weak or no security. Use Apple's &lt;a href="https://support.apple.com/guide/mac-help/mchlb1cb3eb4/mac" rel="noopener noreferrer"&gt;Mac user guide&lt;/a&gt; rather than a screenshot from another version.&lt;/p&gt;

&lt;p&gt;Before changing anything, write down the network name, the time, and the address the router currently reports. If you administer the router, compare its client or DHCP entry with the Mac's connected-network details. Check that the SSID and time window match. An old lease record, a guest network, or a wired adapter can give you an address that looks plausible but has nothing to do with the connection you're checking.&lt;/p&gt;

&lt;p&gt;Don't publish the full address in a support forum or a public screenshot. A partial value and a timestamp are usually enough for a private troubleshooting record. If you need a network administrator's help, send the network name, time, and last few characters through their approved support channel.&lt;/p&gt;

&lt;h2&gt;
  
  
  The need for a change
&lt;/h2&gt;

&lt;p&gt;Many home and guest networks need no change. You can leave the private address enabled, and the router can treat the Mac as the current client. You may only need to add a note to the inventory entry explaining that this is the same Mac using a network-specific Wi-Fi address.&lt;/p&gt;

&lt;p&gt;Sometimes the address is a deliberate part of the local configuration. A DHCP reservation, captive-portal registration, device-specific access policy, or test network may be configured for the address the network sees. First, find out which address that configuration uses and whether the network actually depends on it. Don't change a reservation, firewall rule, and Mac setting all at once. You won't know which change affected the result.&lt;/p&gt;

&lt;p&gt;If you decide the setting needs to change on a network you administer, record its previous state. Change only that network's setting, then reconnect once. Check the router's client table and the expected service. Keep the test narrow: does the Mac receive the intended lease or reach the intended internal service? Don't use a production NAS, backup job, security device, or another person's access as a convenient test target.&lt;/p&gt;

&lt;p&gt;Apple also notes that private addresses can have different modes on current systems. A setting change is a compatibility decision for that network, not a general fix for Wi-Fi problems. If an enterprise or managed network requires a particular configuration, follow its documented policy or ask its administrator. Don't turn the feature off across unrelated networks. Apple's overview of &lt;a href="https://support.apple.com/en-us/102509" rel="noopener noreferrer"&gt;private Wi-Fi addresses&lt;/a&gt; describes the feature and its network-specific behavior.&lt;/p&gt;

&lt;h2&gt;
  
  
  Device identity and address changes
&lt;/h2&gt;

&lt;p&gt;An address mismatch tells you one thing. It doesn't settle the device's identity. Compare it with details you can responsibly check: the Mac's hostname, when it connected, the access point or SSID, and whether the Mac's user expected to be there. Routers can retain stale lease data, and a device may reconnect before another record expires. A familiar-looking hostname doesn't prove an unknown client is authorized, either.&lt;/p&gt;

&lt;p&gt;If those checks still don't explain the device, keep your response proportionate. Confirm the SSID and check the router's current association, rather than relying only on an old lease list. Then use your usual access-control process. Don't repeatedly reconnect every client or restart the router just to tidy up the table. That can erase timing evidence and interrupt legitimate users.&lt;/p&gt;

&lt;p&gt;DeviceShelf can provide another source of local observations for a network you administer. Compare its current device details with the router and Mac records, and keep the sources separate if they disagree. It can't tell you why a particular Wi-Fi address setting was chosen or certify that a device is authorized.&lt;/p&gt;

&lt;h2&gt;
  
  
  A short record for the next change
&lt;/h2&gt;

&lt;p&gt;Often, a short note is more useful than a permanent configuration change. Record the date, SSID, router-visible address, whether the private-address setting was enabled, and the result of one limited reconnect. When a reservation next fails or an unfamiliar address appears, you'll have a record to compare with what you're seeing instead of guessing from a vendor lookup alone.&lt;/p&gt;

&lt;p&gt;Private Wi-Fi addresses are a privacy feature that affects network management. Check the setting for the exact network and compare current records from the same time. Changing one thing at a time helps you get a useful answer without treating every new MAC address as a new device.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>ARP Table vs DHCP Lease: How to Compare Them Without Misidentifying a Device</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Sun, 29 Nov 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/arp-table-vs-dhcp-lease-how-to-compare-them-without-misidentifying-a-device-3hd</link>
      <guid>https://dev.to/deviceshelf/arp-table-vs-dhcp-lease-how-to-compare-them-without-misidentifying-a-device-3hd</guid>
      <description>&lt;p&gt;When your router lists an unfamiliar device, it's tempting to compare its DHCP lease with an ARP table and expect a definite answer. Both may show the same IP and MAC address, but they record different things. DHCP assigns network configuration for a set period. ARP lets a device on a local IPv4 link learn which hardware address to use for a destination at a particular time.&lt;/p&gt;

&lt;p&gt;The difference matters when a device seems to have changed identity, a router still lists a client that no longer responds, or a computer can reach an address missing from the router's lease list. You can compare these records carefully, but neither table proves that a person, device, or service is currently present. If you're starting with an entry you don't recognize, read &lt;a href="https://deviceshelf.app/blog/2026-07-05-unknown-device-on-network/" rel="noopener noreferrer"&gt;How to Investigate an Unknown Device on Your Home Network&lt;/a&gt; first. Save the few facts you have before changing settings or disconnecting anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  The question behind each record
&lt;/h2&gt;

&lt;p&gt;A DHCP server allocates configuration such as an IPv4 address, subnet information, a router address, and a lease duration. Its lease list records that allocation. A lease can stay visible after a client goes to sleep, leaves Wi-Fi range, or gets switched off. Separately, a device with a manually configured address may work normally without a DHCP lease. A reservation is different again: it tells the server what to allocate in the future. It doesn't show that the device is online now.&lt;/p&gt;

&lt;p&gt;ARP has a narrower job. On an IPv4 local network, a host uses ARP to associate an IPv4 address with a link-layer address so it can send a frame on that link. The resulting ARP cache belongs to the machine that learned those mappings. What's in it depends on the network interface and subnet, recent traffic, and cache aging. A router's ARP-related display may show what the router learned. A Windows computer's ARP cache shows what that computer learned. The rows won't necessarily match at any given time.&lt;/p&gt;

&lt;p&gt;Before comparing the records, write down a neutral question. For example: “Which MAC address does this router’s DHCP lease list show for 192.168.1.42, and which MAC address did my Windows computer resolve when it contacted that address?” That's more useful than “Which device owns this IP?” These records often can't establish ownership. They give you evidence to compare with labels on equipment you administer, the device's own settings, or an authorized service.&lt;/p&gt;

&lt;h2&gt;
  
  
  Network scope and timing
&lt;/h2&gt;

&lt;p&gt;An ARP entry only makes sense in the local network where it was learned. Note which computer you used, whether it was on Wi-Fi or Ethernet, its IPv4 address, prefix length or subnet mask, and default gateway. On Windows, &lt;code&gt;ipconfig&lt;/code&gt; shows the interface configuration. Writing this down helps catch a common mistake: comparing an ARP entry collected on a guest network, VPN, second router, or VLAN with a lease list from the main home LAN.&lt;/p&gt;

&lt;p&gt;Two private IPv4 addresses can look similar even when routing or Wi-Fi isolation separates them. An access point may also bridge clients differently from the way a router dashboard groups them. For a routed destination, the computer normally uses ARP to resolve the next-hop router’s IP address to its MAC address. That's normal routing behavior. It doesn't mean the router has impersonated the destination.&lt;/p&gt;

&lt;p&gt;Record the exact time and time zone, too. Ten minutes can change the comparison: a client may have renewed its lease, gone to sleep, or roamed to another access point, or an ARP cache entry may have expired. With a timestamp, you have a mismatch you can check again instead of a vague contradiction.&lt;/p&gt;

&lt;h2&gt;
  
  
  The DHCP lease as an allocation record
&lt;/h2&gt;

&lt;p&gt;Open the router's DHCP section and check what kind of page you're looking at. Some interfaces put active clients, known clients, reservations, and leases in one table. Others place a last-seen value beside a lease expiration. Keep those labels separate in your notes. “Lease expires tomorrow” normally means the server allocated the address until then. It doesn't mean the device has been, or will remain, continuously connected through tomorrow.&lt;/p&gt;

&lt;p&gt;For the address you're checking, record only what you need: the displayed device label, IPv4 address, MAC address if shown, lease start or expiration, connection type, and page title. Don't copy a Wi-Fi password, public address, administrator token, serial number, or the complete household client list into a support request or public post. A private screenshot with unrelated rows obscured is usually enough to compare later.&lt;/p&gt;

&lt;p&gt;If you see a DHCP client identifier, don't quietly treat it as the MAC address. DHCP allows clients to identify themselves in more than one way, and routers display those fields differently. Compare hardware addresses with hardware addresses, client identifiers with client identifiers, and addresses with addresses. What looks like a device change may just be a difference in how the router displays the information.&lt;/p&gt;

&lt;h2&gt;
  
  
  The ARP cache as a local observation
&lt;/h2&gt;

&lt;p&gt;On a Windows computer, an authorized local check such as &lt;code&gt;arp -a&lt;/code&gt; can show the IPv4-to-physical-address mappings currently held by its interfaces. Find the interface and IPv4 address you recorded. Don't assume the first matching line is on the right network. The output may contain dynamic entries learned through recent communication, along with static entries configured by software or an administrator. Multicast or broadcast-related addresses may appear too; those aren't individual devices.&lt;/p&gt;

&lt;p&gt;A missing ARP row doesn't tell you something has failed. The computer may not have contacted that address recently, the address may be on another network segment, or the cache entry may have aged out. And an existing row doesn't tell you whether an application service is healthy. A printer can answer ARP while its web interface is unavailable. A firewall can limit higher-level traffic while the link-layer mapping remains usable.&lt;/p&gt;

&lt;p&gt;Don't send broad probes just to fill the cache. If you need an independent observation, use one ordinary, authorized action relevant to the problem. That might be opening a NAS page you manage, checking a printer's documented local status page, or connecting to a known internal service. Record what happened and when. Don't scan networks you don't administer or have permission to assess.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exact fields and device names
&lt;/h2&gt;

&lt;p&gt;Put the records side by side, each with a short heading showing its source and timestamp. Compare the IPv4 address first, then the MAC address, then the network context. A matching pair on the same network gives you useful supporting evidence: the DHCP server allocated that address, and the checking host’s ARP cache contains the same mapping. It still doesn't fully prove the device's identity. MAC addresses can be randomized on Wi-Fi, relayed through infrastructure, or displayed differently by a router.&lt;/p&gt;

&lt;p&gt;If the same IPv4 address has different MAC addresses in the two records, work through these checks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Confirm that both observations use the same subnet, interface, and time window.&lt;/li&gt;
&lt;li&gt;Check whether the router page distinguishes a reservation, old lease, active client, or historical record.&lt;/li&gt;
&lt;li&gt;Compare the device's own authorized network settings, especially if it uses a private Wi-Fi address.&lt;/li&gt;
&lt;li&gt;Check whether the address was reallocated after a lease ended or a device changed networks.&lt;/li&gt;
&lt;li&gt;Look for an intended network boundary, such as a guest SSID, VPN, a second router operating on a separate subnet, or VLAN, before assuming a conflict.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Don't try to fix an unexplained mismatch by deleting leases, making an arbitrary reservation, or assigning a static address. You could create a real collision and erase the evidence that would explain the original problem. If there is an address conflict, follow the router vendor's documented procedure or ask the network administrator responsible for that address plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusions supported by the evidence
&lt;/h2&gt;

&lt;p&gt;A useful troubleshooting conclusion says what you observed: “At 14:10 on the main wired LAN, the Windows ARP cache mapped 192.168.1.42 to this MAC address; the router's active DHCP lease showed the same pair and expired at 16:00.” You can check that later. It doesn't establish who used the device, whether it stayed online, or whether it's safe.&lt;/p&gt;

&lt;p&gt;If the router lease and ARP cache differ, keep the records and repeat one authorized observation from the same network. Compare the router's active-client view as well as the historical lease. For a broader look at network inventory, &lt;a href="https://deviceshelf.app/blog/2026-09-18-see-all-devices-on-network/" rel="noopener noreferrer"&gt;See All Devices and IP Addresses on Your Network&lt;/a&gt; explains why one network view isn't complete on its own.&lt;/p&gt;

&lt;p&gt;DeviceShelf is one possible way to keep local device observations together over time. Treat it as another record to compare with the router, endpoint settings, and an authorized service check. It doesn't guarantee device identity or availability, or establish a security finding. A short private log is enough to make the next comparison more reliable: include the time, the network you observed from, address, MAC as displayed, source page, and result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc826" rel="noopener noreferrer"&gt;RFC 826: An Ethernet Address Resolution Protocol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc2131" rel="noopener noreferrer"&gt;RFC 2131: Dynamic Host Configuration Protocol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc1918" rel="noopener noreferrer"&gt;RFC 1918: Address Allocation for Private Internets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/arp" rel="noopener noreferrer"&gt;Microsoft: arp command&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig" rel="noopener noreferrer"&gt;Microsoft: ipconfig command&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>What to Record Before Restarting Your Router to Troubleshoot a Network Problem</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Fri, 27 Nov 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/what-to-record-before-restarting-your-router-to-troubleshoot-a-network-problem-aao</link>
      <guid>https://dev.to/deviceshelf/what-to-record-before-restarting-your-router-to-troubleshoot-a-network-problem-aao</guid>
      <description>&lt;p&gt;Restarting the router is a familiar response when a device disappears, Wi-Fi slows down, or a local service becomes unreachable. Sometimes it restores the connection. But it can also erase the most useful evidence of what happened: a lease expiry, an event time, a client entry, or a sign that the problem affected only one network segment.&lt;/p&gt;

&lt;p&gt;You don't need to put off a restart forever. First, take a brief record that's safe to keep. Then restart only equipment you administer, and only when the situation allows it. That record gives you something to compare afterward, whether the restart helps or not. If an unfamiliar entry prompted the question, start with &lt;a href="https://deviceshelf.app/blog/2026-07-05-unknown-device-on-network/" rel="noopener noreferrer"&gt;How to Investigate an Unknown Device on Your Home Network&lt;/a&gt;. A missing name or stale router row isn't proof that somebody is on the network.&lt;/p&gt;

&lt;h2&gt;
  
  
  The exact symptom
&lt;/h2&gt;

&lt;p&gt;Write one sentence describing the symptom without trying to explain it. For example: “The laptop can browse the web, but cannot open the NAS at its usual local address,” or “Only the kitchen camera is absent from the router's active-client list.” Both are more useful than “the router is broken,” because they point to different checks.&lt;/p&gt;

&lt;p&gt;Keep these easily confused observations separate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A device has no Wi-Fi association.&lt;/li&gt;
&lt;li&gt;A device has an address but cannot reach the internet.&lt;/li&gt;
&lt;li&gt;A client cannot reach one local service.&lt;/li&gt;
&lt;li&gt;A router page still displays an old client record.&lt;/li&gt;
&lt;li&gt;A scan from one computer does not receive a response.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One doesn't establish the others. A sleeping phone can still hold a DHCP lease, and a healthy NAS can have one service with an authentication or name-resolution problem. A device on a guest network may have internet access while being deliberately blocked from the main LAN. Write down the specific symptom now, before a reboot turns several possibilities into one vague memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  The time and network used for the check
&lt;/h2&gt;

&lt;p&gt;Before opening more settings, note the local date, time, and time zone. If this keeps happening, record when it began and whether it lines up with a backup, a power timer, a scheduled update, or another known event. The same clock time doesn't prove a cause. It gives you a useful point of comparison.&lt;/p&gt;

&lt;p&gt;On the computer you're using to check, record the Wi-Fi network name or wired interface, its local address, prefix length or subnet mask, and default gateway. These values identify the network path used for that observation. Private IPv4 address ranges are defined for local use, but two addresses that look private aren't necessarily on the same reachable network. A second router, guest SSID, VPN, VLAN, or mesh configuration can place devices behind different boundaries.&lt;/p&gt;

&lt;p&gt;If you can access the router dashboard, record the uptime and WAN status exactly as it displays them. Keep public IP addresses, complete local address lists, Wi-Fi passwords, serial numbers, and administrator session tokens out of shared troubleshooting posts. A private note with the time and the labels on screen is usually enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  The relevant router view and its limits
&lt;/h2&gt;

&lt;p&gt;Take a private screenshot or copy a few fields from whichever page relates to the symptom: active clients, DHCP leases, Wi-Fi associations, system events, or mesh-node status. Include the page title. Routers use similar wording for different data, so “Connected,” “known,” “offline,” “expires,” and “last seen” may refer to information from different subsystems.&lt;/p&gt;

&lt;p&gt;For an affected device, record just what you'll need for a later comparison: its label, local IP address, hardware address if you're authorized to handle it, connection type, and any time field. DHCP assigns configuration for a lease. It doesn't continuously report whether a device is present. A lease that remains after a problem serious enough to warrant a restart shows that an address was assigned, not that the device is awake now. A device with a static address, meanwhile, can respond without appearing in the router's current DHCP table.&lt;/p&gt;

&lt;p&gt;Don't delete a client record just to tidy the list. Doing so changes the evidence and may make the device harder to match after the restart. If you don't recognize the record, save the limited facts first. Compare them with the device's own settings or a known service before deciding what the entry represents.&lt;/p&gt;

&lt;h2&gt;
  
  
  One independent, authorized check
&lt;/h2&gt;

&lt;p&gt;Make one check that doesn't depend on the router display. From a computer on the intended network, trying an existing local service can tell you more than a broad set of probes. That might be a NAS administration page, a printer's documented status page, or an application connection you're allowed to use. Record the exact result and time, such as “the file share opened” or “the known HTTPS page timed out.”&lt;/p&gt;

&lt;p&gt;An ICMP echo result gives you another observation, but it isn't a universal health test. Firewalls and devices may decline it even while an authorized service remains available. A scanner result has limits too: it reflects the range and network path used for that scan. It can't prove the absence of every device behind an isolated guest network, on another subnet, or on a sleeping Wi-Fi connection.&lt;/p&gt;

&lt;p&gt;If the problem involves a name rather than an address, record the name and the address it resolved to at that time. DNS and multicast naming can change independently of the router's client display. Don't edit a reservation, static address, or DNS record just because the first comparison is confusing. Keep a record of the discrepancy. That's the useful fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  The impact of a restart
&lt;/h2&gt;

&lt;p&gt;Restarting a router interrupts every device using it. Before you proceed, consider cameras, alarms, remote work sessions, storage transfers, firmware updates, and any other services that may be affected. Don't restart equipment managed by somebody else. For an outage affecting safety-related or business-critical equipment, follow its documented support path or contact the responsible administrator instead of improvising.&lt;/p&gt;

&lt;p&gt;When a restart makes sense, keep the change small. Restart the router through its documented administration interface or power procedure, then wait for the normal indicator its vendor describes. Don't also update the firmware, change the Wi-Fi password, perform a factory reset, or add a new static-address configuration. If you change several things at once, the later comparison won't tell you which helped.&lt;/p&gt;

&lt;p&gt;Once the router is back, repeat the same single check from the same client and network. Compare the time, client view, local address, gateway, and service result with your earlier record. DHCP renewal normally keeps the same address. A different address may be assigned if the client obtains a new lease. An old lease disappearing may be ordinary cleanup. If a service works again, you can say it worked after the restart. That doesn't tell you what caused the original problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small comparison record
&lt;/h2&gt;

&lt;p&gt;For recurring problems, a compact table is enough: observation time, checking device and network, affected device or service, router view, independent result, and any change made. Keep it private. Unlike a collection of unlabeled screenshots, it lets you see whether the same condition occurred on the same path.&lt;/p&gt;

&lt;p&gt;DeviceShelf is one possible local inventory record for comparing device details and observations over time. As with a router list or a service check, treat it as one source of evidence. It isn't proof of identity, availability, or a security incident.&lt;/p&gt;

&lt;p&gt;Let the remaining evidence guide the next step. If only one service fails after a restart, investigate that service. If multiple devices on one SSID fail while wired devices work, examine that wireless segment. When the same symptom returns at a recorded time, check the documented schedule or event log around that window. The restart doesn't have to end the investigation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc1918" rel="noopener noreferrer"&gt;RFC 1918: Address Allocation for Private Internets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc2131" rel="noopener noreferrer"&gt;RFC 2131: Dynamic Host Configuration Protocol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc1034" rel="noopener noreferrer"&gt;RFC 1034: Domain Names — Concepts and Facilities&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc6762" rel="noopener noreferrer"&gt;RFC 6762: Multicast DNS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>Why a DHCP Hostname Changes and What to Check First</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Wed, 25 Nov 2026 10:00:04 +0000</pubDate>
      <link>https://dev.to/deviceshelf/why-a-dhcp-hostname-changes-and-what-to-check-first-pb8</link>
      <guid>https://dev.to/deviceshelf/why-a-dhcp-hostname-changes-and-what-to-check-first-pb8</guid>
      <description>&lt;p&gt;A familiar phone, computer, or printer can look like a new device in your router's list overnight. Its hostname might switch from a room label to a vendor-style name, disappear, or pick up a suffix such as &lt;code&gt;-2&lt;/code&gt;. That's worth checking, especially if you use the list to keep an inventory. On its own, though, it doesn't mean a stranger has joined your network.&lt;/p&gt;

&lt;p&gt;DHCP lists pull together information supplied by different systems at different times. A connected device can have no name, and a name can linger after the device has left. Before you change passwords, block an address, or edit a reservation, work out which lease record changed and what it belongs to. The checks below follow a cautious order that works across many router interfaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  The lease behind the display name
&lt;/h2&gt;

&lt;p&gt;DHCP supplies network configuration; dynamically assigned IP addresses usually have a limited lease period. The protocol includes a client identifier option, and the client can supply a host name option too. Your router might display one of those values, get a label from DNS, keep a name it saw earlier, or make its own guess. So a column called “device name” isn't a universal identity field. &lt;a href="https://www.rfc-editor.org/rfc/rfc2131.html" rel="noopener noreferrer"&gt;RFC 2131&lt;/a&gt; describes the DHCP exchange and its options.&lt;/p&gt;

&lt;p&gt;While connected to your own network, open the router's active-client or DHCP-lease view. Record the full local IP address, the hardware address the router shows, and the network name or interface. Include the lease start or expiry time if it's available. Keep a private note or screenshot to compare later; don't post your full device list publicly. Having these details together makes a hostname change easier to assess.&lt;/p&gt;

&lt;p&gt;Start with one question: has the label on an existing lease changed, or are you looking at a second lease? If the address and hardware address match a device you recognize, the changed label is usually a naming issue first. If the address, hardware address, connection type, and lease timing all differ, leave the entry unclassified and work through the checks below.&lt;/p&gt;

&lt;h2&gt;
  
  
  The device's own network settings
&lt;/h2&gt;

&lt;p&gt;On a computer, phone, or tablet you can access, open the settings for the Wi-Fi network it's currently using. Compare its local address and Wi-Fi address with the router entry. The device's marketing name isn't enough to go on. Your router might show a host name set by the operating system that's different from the device name you see as a user.&lt;/p&gt;

&lt;p&gt;Modern operating systems can use a separate, private Wi-Fi address for each network. Apple documents that its devices can use a private address that may rotate for a network under certain conditions. This helps protect against tracking across networks, but it can also give a familiar device a different DHCP lease. &lt;a href="https://support.apple.com/en-us/102509" rel="noopener noreferrer"&gt;Apple's private Wi-Fi address guidance&lt;/a&gt; explains where to check this setting. A new private address doesn't prove that a client is unauthorized.&lt;/p&gt;

&lt;p&gt;If you've recently restored, renamed, or updated a device, note that next to the lease. Do the same if it moved from Ethernet to Wi-Fi or connected to a guest network. Any of these changes can affect what the router displays without changing who owns the device. Don't turn off private addressing just to tidy up the list. First decide whether a local service actually needs a stable address.&lt;/p&gt;

&lt;h2&gt;
  
  
  Missing or stale names
&lt;/h2&gt;

&lt;p&gt;Some DHCP clients don't send a hostname. Others use a temporary name during setup, send one only on certain interfaces, or change it after receiving a lease. Router firmware handles names differently too. It might keep the last label after a device disconnects, combine a DHCP value with a reverse-DNS lookup, or replace punctuation and non-Latin characters. A blank name can mean “no name was supplied,” not “unknown device.”&lt;/p&gt;

&lt;p&gt;DHCP privacy behavior is another reason not to read too much into a label. &lt;a href="https://www.rfc-editor.org/rfc/rfc7844.html" rel="noopener noreferrer"&gt;RFC 7844&lt;/a&gt; describes DHCP options and identifiers that can expose a client to correlation, and discusses limiting unnecessary identifying information. A client designed with privacy in mind may deliberately send less stable identifying data. That doesn't tell you whether a particular entry is safe. It explains why names and identifiers aren't conclusive evidence.&lt;/p&gt;

&lt;p&gt;Check whether your router separates active clients from historical leases. An old row may remain after a device goes offline. Use the router's documented refresh function and compare the result with the device's own settings. Do not treat lease expiry or a remaining entry as proof that a device is offline or online. Don't repeatedly release leases for devices you don't control: that can interrupt work, cameras, or smart-home equipment.&lt;/p&gt;

&lt;h2&gt;
  
  
  A controlled comparison for an unclear entry
&lt;/h2&gt;

&lt;p&gt;Test one device at a time, and only on a network you own or administer. Briefly turn Wi-Fi off in the device's settings and verify that it is disconnected, then refresh the router's active list. Reconnect it and watch for an entry to appear or change. Give the router enough time to update its table. This links one physical device to one observed lease; it doesn't identify everything on the network.&lt;/p&gt;

&lt;p&gt;For important devices such as a NAS, printer, alarm component, or home-automation bridge, start with a check that causes little disruption before changing any settings. Compare the device's own administration page or documented status indicator with the router record. Don't reboot critical equipment just to resolve a hostname question. The service can be working normally even if the router gives it an unhelpful label.&lt;/p&gt;

&lt;p&gt;For a broader comparison on your local network, an inventory tool can help organize the addresses, hardware addresses, manufacturer hints, and services you observe. DeviceShelf is one option for an authorized local scan, but treat its classification as a clue to check against the device and router records, not a guarantee of identity or security. Client isolation, sleeping devices, firewalls, and private addresses can all limit what a scan sees.&lt;/p&gt;

&lt;h2&gt;
  
  
  Address reservations
&lt;/h2&gt;

&lt;p&gt;A DHCP reservation can make sense when a device you manage needs a predictable local address, for example for a printer queue, a NAS service, or a documented automation. Create the reservation in the router's DHCP settings, using the hardware address or client identity specified in its documentation. Don't pick an arbitrary unused address outside the router's rules. A hostname changing once isn't, by itself, a reason to create a reservation.&lt;/p&gt;

&lt;p&gt;After creating one, reconnect only the device you manage and check that it gets the expected address. Then check that the service works from another authorized device. Leave automatic addressing enabled on the device unless its manufacturer specifically requires a different setup. A reservation maps the address on the router; it doesn't prove that the hostname will stay the same or that the device is permanently present.&lt;/p&gt;

&lt;p&gt;Record what each reservation is for, which device it belongs to, and the date you verified it. Those notes make an unfamiliar entry easier to investigate later and help prevent an old reservation from being mistaken for a live client.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stronger evidence for a security review
&lt;/h2&gt;

&lt;p&gt;If you still don't recognize an entry after comparing its current address, connection type, and lease timing with the devices in your household, it's a reason for a focused security review. Check the Wi-Fi security mode and remove old guest-network access if appropriate. Review who has the password, and update the router's firmware through its official administration path. Schedule the update for a time when a network interruption is acceptable, follow the manufacturer’s instructions, and do not interrupt power during installation. Don't copy credentials into a support post or share screenshots that reveal public addresses, serial numbers, or full MAC addresses.&lt;/p&gt;

&lt;p&gt;Changing the Wi-Fi password is reasonable when you have evidence of unauthorized access or can't account for credentials. But it causes disruption: every legitimate device has to reconnect. A changed DHCP hostname alone usually doesn't warrant that. Often, the useful conclusion is narrower: one router label changed, while the lease and the device's own settings still matched.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc2131.html" rel="noopener noreferrer"&gt;RFC 2131: Dynamic Host Configuration Protocol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc7844.html" rel="noopener noreferrer"&gt;RFC 7844: Anonymity Profiles for DHCP Clients&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://support.apple.com/en-us/102509" rel="noopener noreferrer"&gt;Apple: Use private Wi-Fi addresses&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://deviceshelf.app/server" rel="noopener noreferrer"&gt;DeviceShelf Server documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>Why One Device Can Have Several IPv6 Addresses</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Mon, 23 Nov 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/why-one-device-can-have-several-ipv6-addresses-1jie</link>
      <guid>https://dev.to/deviceshelf/why-one-device-can-have-several-ipv6-addresses-1jie</guid>
      <description>&lt;p&gt;An IPv6 address list can easily look like a device list. A router, network scanner, or operating-system settings page may show two, three, or more IPv6 addresses next to one computer. When the endings differ, it's easy to suspect that a second device has appeared, an old record has stuck around, or somebody has joined the network.&lt;/p&gt;

&lt;p&gt;Several IPv6 addresses on one network interface are usually normal. IPv6 gives an interface a link-local address. The network may also give it one or more addresses that work beyond the local link, and privacy features can add temporary addresses. Address lifetimes can overlap while a replacement is being prepared. So the list can change while the device stays connected. Before counting each address as a separate device, check which interface it belongs to, its scope, and when it was observed.&lt;/p&gt;

&lt;p&gt;If you're starting with an entry whose owner you don't know, begin with &lt;a href="https://deviceshelf.app/blog/2026-07-05-unknown-device-on-network/" rel="noopener noreferrer"&gt;How to Investigate an Unknown Device on Your Home Network&lt;/a&gt;. The question here is narrower: why one known device can have several IPv6 addresses without those addresses representing several physical devices.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interface behind the address
&lt;/h2&gt;

&lt;p&gt;An IPv6 address belongs to an interface. A laptop can have Ethernet, Wi-Fi, a VPN adapter, a virtual-machine bridge, or a container network at the same time, each with its own addresses. Even without privacy addressing, a list that includes all interfaces isn't an inventory of people or hardware.&lt;/p&gt;

&lt;p&gt;Start by recording where you saw the address. A router's client page may describe a Wi-Fi association, while a computer's network settings describe its local interfaces. A scanner may report an address that answered from the subnet where the scan ran. Each source can be useful. They don't necessarily show the same addresses, though, or update at the same time.&lt;/p&gt;

&lt;p&gt;Next, find the relevant interface. If a computer is connected by Wi-Fi, compare the address with that computer's Wi-Fi interface, not an inactive Ethernet port or a VPN interface. For a NAS, use the port and VLAN it actually uses. That keeps the comparison on one network path and stops unrelated addresses from getting folded into a device history that never happened.&lt;/p&gt;

&lt;p&gt;Don't use the address ending to decide who owns it. An interface identifier may come from a MAC address, be generated as a stable opaque value, or be generated temporarily. A similar suffix is worth checking, but it doesn't prove that two entries belong to the same device. Different suffixes don't prove that they belong to different devices, either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common IPv6 address types
&lt;/h2&gt;

&lt;p&gt;Every IPv6-enabled interface normally has a link-local address, usually beginning with &lt;code&gt;fe80:&lt;/code&gt;. This address works only on the local network link. Routers use link-local addressing to exchange local IPv6 information, and an operating system can use it even when the network has no usable public IPv6 connectivity. It isn't an Internet address. Don't copy it into a browser URL without the interface context required by the operating system.&lt;/p&gt;

&lt;p&gt;You may also see a global unicast address (GUA), commonly beginning with a prefix delegated to the home connection. The network provider and router choose the exact prefix. Having that address doesn't mean every inbound connection from the Internet is allowed. The router firewall and device firewall still decide what can reach a service.&lt;/p&gt;

&lt;p&gt;Some networks use unique-local addresses (ULAs), often beginning with &lt;code&gt;fd&lt;/code&gt;. These have global scope but are intended for internal routing, not public Internet routing. Scope does not establish public Internet reachability. A device can have a unique-local address alongside a link-local address and a global unicast address. Those are different ways to reach the same interface, not three machines.&lt;/p&gt;

&lt;p&gt;Write down the full address, its prefix length if displayed, the interface, and the time. Keep the full addresses out of support posts: a prefix can identify a household or organization more precisely than people expect. A redacted prefix and a description of the scope are often enough for troubleshooting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Temporary addresses on a known device
&lt;/h2&gt;

&lt;p&gt;IPv6 privacy extensions can create temporary addresses for outgoing connections. The goal is to make long-term tracking through a device’s IPv6 addresses harder, including while it stays on the same network. A current operating system may keep a stable address for receiving local connections and use a temporary address for some outbound connections. Both can appear in the address list at once.&lt;/p&gt;

&lt;p&gt;Temporary addresses have preferred and valid lifetimes. Before an existing temporary address stops being preferred for new connections, the system can create another. For a while, you may see both the older temporary address and the newer one. That overlap is expected. It doesn't show that the device restarted or that another device impersonated it.&lt;/p&gt;

&lt;p&gt;Operating systems use different names and controls for these features. Don't turn privacy addressing off just to shorten a router's list. Doing so can change how the device appears on that network and make later comparisons harder. If you administer the device and need to identify it, first check the address it shows for the specific Wi-Fi or Ethernet network. Record the setting and any planned change before you change it.&lt;/p&gt;

&lt;p&gt;Be just as careful when interpreting router entries. A broadband reconnection can change the IPv6 prefix delegated to a home router. Devices may then configure replacement addresses while earlier entries remain in a router or scanner cache. All that tells you is that the observed address changed. A provider change, a router reboot, a device reboot, or ordinary address-lifetime behavior could explain it, but each possible cause needs its own evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small, repeatable comparison
&lt;/h2&gt;

&lt;p&gt;Choose one known device that you administer. Check its own network settings and one other view, such as the router's active-client page, and capture both within a short interval. Don't disconnect cameras, alarms, storage, or other important equipment to force a test.&lt;/p&gt;

&lt;p&gt;For each observation, note:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The date, time, and timezone shown by each system.&lt;/li&gt;
&lt;li&gt;The interface and network name or VLAN, if known.&lt;/li&gt;
&lt;li&gt;Each IPv6 address with its type: link-local, global unicast (GUA), or unique-local (ULA).&lt;/li&gt;
&lt;li&gt;Whether the operating system labels an address temporary, deprecated, preferred, or stable.&lt;/li&gt;
&lt;li&gt;The device's MAC address only in a private local record, if you need it to compare a router entry.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Repeat the observation later without changing the network. If a temporary address has changed but the interface, known device, and other evidence are the same, record exactly that. It explains why an unfamiliar IPv6 entry has appeared in the list. If the router shows two simultaneous active client records with different hardware identities, investigate those records separately. Don't combine or dismiss them based on IPv6 suffixes.&lt;/p&gt;

&lt;p&gt;A broad scan shouldn't be your only way to settle the question. A host can decline to answer a particular probe, or a firewall can filter it. A missing scan result doesn't mean the address is stale. A response tells you that an address answered from the observed network path at that time. It doesn't identify the person or physical object behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Service checks by address family
&lt;/h2&gt;

&lt;p&gt;An address in a list doesn't tell you which services are available on it. A NAS might advertise a file service on IPv4 and IPv6, on only one, or on neither to a particular client because of a firewall rule. A phone may have several IPv6 addresses and accept no incoming connections at all. Record address assignment separately from reachability and service availability.&lt;/p&gt;

&lt;p&gt;When a service matters, test only a service you're authorized to use and record which address family the client used. For example, a managed NAS's own status page may show an uptime while a file-service connection works over IPv4 but fails over IPv6. That tells you something about a particular route and service. It doesn't make every IPv6 address invalid.&lt;/p&gt;

&lt;p&gt;Network boundaries matter, too. Guest Wi-Fi, client isolation, VLANs, and routed subnets can leave an address visible to a router but unreachable from a laptop. Before changing a router setting, compare the network the client was on when it made the observation. An IPv6 address that's appropriate on one VLAN may be deliberately unreachable from another.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusions supported by the evidence
&lt;/h2&gt;

&lt;p&gt;A useful note can be short: “At 14:10 local time, the Wi-Fi interface of this known laptop had one link-local address, one global stable address, and one temporary global address. The router listed the same hardware identity.” It records what was seen without inventing a cause.&lt;/p&gt;

&lt;p&gt;Stronger claims need stronger evidence. “A new temporary IPv6 address proves the laptop was replaced” isn't supported. Neither is “Two addresses prove the device is exposed to the Internet”. Before deciding whether a device is exposed, compare the router's firewall policy, the device firewall, and an authorized service test.&lt;/p&gt;

&lt;p&gt;For a local record, DeviceShelf is one possible way to compare observed addresses and device details over time. Each observation is a lead to check against the router and the device itself. It isn't proof of device ownership, availability, or a security event. Checking it this way keeps normal IPv6 address rotation from turning into an unnecessary incident.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc4291" rel="noopener noreferrer"&gt;RFC 4291: IP Version 6 Addressing Architecture&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc4862" rel="noopener noreferrer"&gt;RFC 4862: IPv6 Stateless Address Autoconfiguration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc8981" rel="noopener noreferrer"&gt;RFC 8981: Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc7217" rel="noopener noreferrer"&gt;RFC 7217: A Method for Generating Semantically Opaque Interface Identifiers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc4443" rel="noopener noreferrer"&gt;RFC 4443: Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>privacy</category>
      <category>networking</category>
      <category>homelab</category>
    </item>
    <item>
      <title>How MQTT Retained Messages Can Make a Device Look Online</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:00:07 +0000</pubDate>
      <link>https://dev.to/deviceshelf/how-mqtt-retained-messages-can-make-a-device-look-online-epo</link>
      <guid>https://dev.to/deviceshelf/how-mqtt-retained-messages-can-make-a-device-look-online-epo</guid>
      <description>&lt;p&gt;An MQTT dashboard can show a device as online as soon as Home Assistant, a broker, or an integration starts. That's useful when you want a value on the dashboard without waiting for the next update. But it can be misleading. The value may come from a retained message published before a laptop went to sleep, a NAS rebooted, or a Wi-Fi client left the network.&lt;/p&gt;

&lt;p&gt;MQTT isn't at fault here. Retention has a specific purpose and a specific delivery rule. The mistake is treating a saved message as proof that a device is reachable right now. This guide covers how to identify retained state, test a small setup you administer, and choose an automation that won't turn old information into an urgent alert.&lt;/p&gt;

&lt;h2&gt;
  
  
  Message delivery and current reachability
&lt;/h2&gt;

&lt;p&gt;MQTT publishes messages to named topics. When a publisher marks a message as retained, the broker stores the last retained message for that topic and sends it when a matching client later subscribes. The MQTT specification calls this a retained message. It makes no promise that the device that originally supplied the value is still connected or healthy. &lt;a href="https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html" rel="noopener noreferrer"&gt;MQTT Version 5.0&lt;/a&gt; describes the retain flag and the broker's retained-message behavior.&lt;/p&gt;

&lt;p&gt;Take a state topic such as &lt;code&gt;home/lab-nas/status&lt;/code&gt;, with &lt;code&gt;online&lt;/code&gt; as its last payload. If the publisher sent that value yesterday, then lost power before it could publish &lt;code&gt;offline&lt;/code&gt;, a new subscriber may receive &lt;code&gt;online&lt;/code&gt; today. That tells you the broker stored the value. It doesn't independently tell you anything about the NAS's power, network path, file service, or current operating-system uptime.&lt;/p&gt;

&lt;p&gt;Write down what the topic claims to represent first. A status message might mean a service passed a self-check. It might mean a network monitor saw a reply, or just that a client connected to a broker. Those are different observations. A display label such as “available” shouldn't imply details that the payload and publisher don't provide.&lt;/p&gt;

&lt;h2&gt;
  
  
  Retained-message identification
&lt;/h2&gt;

&lt;p&gt;Only inspect a topic on a broker and network you own or are authorized to administer. Home Assistant's MQTT integration has tools for listening to a topic while you test a setup. Its documentation also distinguishes the broker connection from the entities and automations that consume messages. See &lt;a href="https://www.home-assistant.io/integrations/mqtt/" rel="noopener noreferrer"&gt;Home Assistant MQTT&lt;/a&gt; for supported configuration and testing paths.&lt;/p&gt;

&lt;p&gt;For a controlled command-line check, Mosquitto documents &lt;code&gt;mosquitto_sub&lt;/code&gt; and the message fields it can display. Use &lt;code&gt;%r&lt;/code&gt; in Mosquitto's &lt;code&gt;-F&lt;/code&gt; output format to check the RETAIN flag and identify a retained message. You can't tell from the payload alone: the string &lt;code&gt;online&lt;/code&gt; says nothing about when it was published. The &lt;a href="https://mosquitto.org/man/mosquitto_sub-1.html" rel="noopener noreferrer"&gt;Mosquitto subscriber manual&lt;/a&gt; documents the relevant client options.&lt;/p&gt;

&lt;p&gt;If you can change the publisher, add a timestamp or monotonic sequence that it generates to the payload. Describe which clock and time zone it uses. You'll still need to interpret a timestamp. A wrong clock, delayed publication, or old retained value can make it unsuitable as proof. But it does let an operator compare the received state with the intended update interval, instead of going by the dashboard's color alone.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small, harmless retention test
&lt;/h2&gt;

&lt;p&gt;Use a disposable test topic, not a device-control topic or a wildcard subscription. Publish a clearly labeled test value with retention enabled. Establish a fresh subscription to the test topic; for MQTT 5, set Retain Handling to &lt;code&gt;0&lt;/code&gt;. Reconnecting alone is insufficient: resuming a persistent session does not itself trigger retained-message replay. Check whether the subscriber receives that value before a new publication. Then clear the retained message by publishing an empty retained payload to the same test topic, as MQTT specifies. At each step, record the topic, payload, retain indicator, and local time.&lt;/p&gt;

&lt;p&gt;This establishes how the broker handles retained messages for that topic. It doesn't test a NAS, prove delivery to every subscriber, or confirm that a Home Assistant automation took an action. Those need separate checks. If the test doesn't behave as expected, stop before changing production topics. Verify the exact broker, credentials, topic spelling, and client documentation.&lt;/p&gt;

&lt;p&gt;Keep passwords, whole inventories, private addresses, and personally identifying device names out of test payloads. A retained message can outlive the test client. Another authorized subscriber may see it later. Clearing the value when you're done is good housekeeping, but you still need to review who is allowed to subscribe or publish.&lt;/p&gt;

&lt;h2&gt;
  
  
  A separate model for current availability
&lt;/h2&gt;

&lt;p&gt;A claim about current availability needs a mechanism based on a recent observation and a defined timeout. MQTT's Last Will and Testament facility can publish a message if a client connection ends in specified circumstances. That's still a signal about the broker connection, though, not a complete health check for every service on the client. The MQTT standard specifies will messages and session behavior. Follow the documented publisher and broker configuration, and don't read more into the result than it tells you.&lt;/p&gt;

&lt;p&gt;Home Assistant also documents MQTT availability topics for entities. An availability topic can make an entity unavailable when the expected availability state changes; its state topic remains a separate value. Read the integration's &lt;a href="https://www.home-assistant.io/integrations/mqtt/#availability" rel="noopener noreferrer"&gt;availability guidance&lt;/a&gt; before choosing retained messages, expiry, or an automation trigger. What the publisher actually observes determines the right choice.&lt;/p&gt;

&lt;p&gt;A NAS status page, a file share, and the NAS's MQTT client can disagree, for example. A working broker session doesn't prove that the file share is accepting requests. And a temporarily unavailable MQTT publisher doesn't establish that the NAS has rebooted. Give each measured signal one stated purpose. Then compare it with the service or log that answers the next question.&lt;/p&gt;

&lt;h2&gt;
  
  
  Automation checks for old state
&lt;/h2&gt;

&lt;p&gt;An MQTT automation trigger can receive a message after Home Assistant starts or resubscribes. Before the automation sends a notification, writes a record, or changes another system, have its condition check information appropriate to that action. If the action requires current state, require a trustworthy observation timestamp within a documented freshness interval or obtain a fresh observation. Sequence numbers help check for duplicates and message order; an unseen sequence number can still belong to an old message. A separate availability state from the same managed publisher can be an additional condition, but it does not prove that the state message is fresh.&lt;/p&gt;

&lt;p&gt;Start with a low-risk action, such as a logbook entry or a persistent notification triggered by a message on the test topic. Establish a fresh subscription to the test topic, with Retain Handling set to &lt;code&gt;0&lt;/code&gt; for MQTT 5, to check whether the retained message would invoke the rule. Then repeat the test with a deliberately old timestamp and verify that the condition rejects it. A successful test shows that one publisher, topic, condition, and action worked in that scenario. It doesn't establish general device monitoring coverage.&lt;/p&gt;

&lt;p&gt;Don't disable retention across unrelated topics to work around a confusing result. Retention is useful for configuration and last-known state when it's documented. Limit the change to the topic and consumer that need different semantics. Keep a short test record, and review the effect after a normal reconnect.&lt;/p&gt;

&lt;h2&gt;
  
  
  A troubleshooting record
&lt;/h2&gt;

&lt;p&gt;When a device appears online unexpectedly, record four facts: the exact topic, the payload and its time fields, whether the received message was retained, and the independent check you performed. For a managed NAS, you might check its authorized administration interface or a documented service it normally provides. For a network-monitoring publisher, you might check the time and method of its last observation.&lt;/p&gt;

&lt;p&gt;DeviceShelf Server can be one publisher of network observations to a Home Assistant installation you administer. Inspect any MQTT state or event alongside its observed time and the device's own records. It isn't a guarantee of availability, identity, or security. Its &lt;a href="https://deviceshelf.app/server" rel="noopener noreferrer"&gt;server documentation&lt;/a&gt; describes the supported integration path.&lt;/p&gt;

&lt;p&gt;Often, the useful conclusion is modest: “This subscriber received a retained value that was published at this time,” if a trustworthy publication timestamp is available. Otherwise, record the reception time and explicitly state that publication time is unknown. That's enough to decide whether to wait for a fresh update, inspect an availability signal, or check a service directly. It's more accurate, and safer, than claiming a saved status message proves the device is online now.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html" rel="noopener noreferrer"&gt;OASIS: MQTT Version 5.0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.home-assistant.io/integrations/mqtt/" rel="noopener noreferrer"&gt;Home Assistant: MQTT integration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.home-assistant.io/integrations/mqtt/#availability" rel="noopener noreferrer"&gt;Home Assistant: MQTT availability&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://mosquitto.org/man/mosquitto_sub-1.html" rel="noopener noreferrer"&gt;Mosquitto: mosquitto_sub manual&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://deviceshelf.app/server" rel="noopener noreferrer"&gt;DeviceShelf Server documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>How to Compare DHCP Lease Records Without Inventing a Device Timeline</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Thu, 19 Nov 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/how-to-compare-dhcp-lease-records-without-inventing-a-device-timeline-oo4</link>
      <guid>https://dev.to/deviceshelf/how-to-compare-dhcp-lease-records-without-inventing-a-device-timeline-oo4</guid>
      <description>&lt;p&gt;A router's DHCP page can look like a short history of the network. It may list a device name, an address, a MAC address, a lease start, an expiry time, and a value such as “last seen.” When the time changes for a camera, NAS, phone, or printer, it's tempting to read that row as a timeline: the device must have disconnected at one point and returned at another.&lt;/p&gt;

&lt;p&gt;The record usually can't tell you that much. DHCP lets a client obtain configuration, including an address and gateway. The router's table has its own refresh behavior, clock, and rules for keeping records. It may retain old entries, replace a start time after a renewal, or pull together information from DHCP, ARP, and a Wi-Fi controller. Start by saving what the table actually says. Then pair it with one independent observation.&lt;/p&gt;

&lt;p&gt;If you first need to work out which devices and addresses are on the local network, start with &lt;a href="https://deviceshelf.app/blog/2026-09-18-see-all-devices-on-network/" rel="noopener noreferrer"&gt;How to See Every Device on Your Network and Find Its IP Address&lt;/a&gt;. The steps below cover comparing records over time without treating an address assignment as a complete activity log.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time column labels
&lt;/h2&gt;

&lt;p&gt;Router interfaces use similar labels for different things. “Lease time” may be the configured duration offered to a client. “Expires” normally means the future point when the assignment can be reused if it isn't renewed. “Remaining” is a countdown calculated by the router. “Last seen” may come from a separate observation by the Wi-Fi access point or a neighbor table. And “connected since” might not be DHCP data at all.&lt;/p&gt;

&lt;p&gt;Write down the label exactly as it appears. Capture the full row, along with the router's displayed current time and timezone, if shown. A screenshot or short manual note is enough. You want to avoid comparing your computer's local clock with a router set to another timezone. Daylight-saving changes, a router without time synchronization, and rounded values in the interface can all make a difference look dramatic when there isn't one.&lt;/p&gt;

&lt;p&gt;The rows may not all use the same source, either. A mesh system can put a wireless association time beside an address learned from DHCP. A client list might keep a friendly name from an earlier request while updating the lease expiry after a routine renewal. Check the labels and router documentation to find out what a column means. The page's appearance isn't enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Device identity beyond the name
&lt;/h2&gt;

&lt;p&gt;Before comparing today's row with yesterday's, record more than the hostname. Clients or routers supply those names, which may be shortened or duplicated. For one candidate device, note the IP address, MAC address, client identifier if exposed, connection type, and exact time fields. If you administer the device, compare those details with its local settings or a label you control.&lt;/p&gt;

&lt;p&gt;Pay particular attention to wireless phones and tablets. After a setting change or a recreated network profile, a private Wi-Fi address can make one physical device appear on the same network with a different MAC address. The new entry may represent a new network identity rather than a second device. A wired device’s MAC address may change after a network adapter replacement; changing its DHCP client identifier may lead to a different IP assignment.&lt;/p&gt;

&lt;p&gt;If the identity doesn't match, keep the rows separate, even if the hostname looks familiar. State what you know: for example, “the router displays two client records with the same name but different MAC addresses.” That's an observation you can work from. “The device duplicated itself” is an explanation that needs more evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lease changes during renewal
&lt;/h2&gt;

&lt;p&gt;DHCP clients commonly try to renew an assignment before it expires. The protocol defines renewal and rebinding states precisely, but a consumer router may just update the expiry time or rebuild the entire row. Neither display tells you, on its own, that the client rebooted, lost Wi-Fi, or regained power.&lt;/p&gt;

&lt;p&gt;Consider three records taken at different times. At 08:00 a NAS in a fictional lab has address 192.0.2.20 and one hour remaining. At 09:00 the address and MAC address are unchanged, but the expiry has moved forward. That fits a routine renewal. At 10:00 the row shows a different address with the same identity. A new allocation, a router restart, a changed reservation, or a network interruption could explain it. The table alone can't tell you which.&lt;/p&gt;

&lt;p&gt;An entry can remain after a device leaves the network, too. An unexpired lease reserves an address; it isn't a live heartbeat. A working device with a static configuration, meanwhile, may be absent from the current DHCP lease list. Address assignment and current reachability are different things. A mismatch doesn't necessarily mean the router or scanner is faulty.&lt;/p&gt;

&lt;p&gt;Avoid forcing a release and renew just to get a clearer timestamp. That creates the event you're trying to investigate. Rebooting the router disturbs even more: it can remove logs and briefly interrupt every client. Save the existing information first, and keep the next check observational whenever possible.&lt;/p&gt;

&lt;h2&gt;
  
  
  An independent observation at the same moment
&lt;/h2&gt;

&lt;p&gt;The next useful fact depends on what you're trying to find out. For a managed NAS that may have restarted, its own uptime or service log tells you more directly than DHCP. A switch-port link event is more relevant when you're checking whether a cable path changed. To check whether an address answers from the same subnet, a single authorized scan or neighbor-table lookup can give you another time-stamped observation.&lt;/p&gt;

&lt;p&gt;Run that check once and note the time. A missing response doesn't settle the question. Sleeping clients, firewalls, guest isolation, VLANs, and routed subnets can all stop a particular scan from getting a reply. An ARP or neighbor entry can also outlive a response. What helps is comparing independent facts and being precise about what each one shows.&lt;/p&gt;

&lt;p&gt;A small comparison record can contain:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Router time and timezone as displayed.&lt;/li&gt;
&lt;li&gt;IP address, MAC address, client identifier, name, and all shown lease fields.&lt;/li&gt;
&lt;li&gt;Any router event-log wording that explicitly says request, renewal, expiry, or association.&lt;/li&gt;
&lt;li&gt;One independently observed result, with its time and network location.&lt;/li&gt;
&lt;li&gt;For a device you manage, a device-local uptime or application event.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Suppose a router's expiry moves at 03:15 while a NAS reports an uptime of seven days and its file service remains reachable. You can say that the router recorded a lease-related change while the observed service stayed available. If a switch port drops link and the NAS uptime resets near the same time, you have evidence for a different, still limited conclusion: the device or its network path changed during that window. You haven't yet identified a failed power supply, cable, DHCP server, or router.&lt;/p&gt;

&lt;h2&gt;
  
  
  Router state and network boundaries
&lt;/h2&gt;

&lt;p&gt;Checking the network boundary often explains why observations disagree. A router can know about a client on one VLAN while a computer on a guest network can't reach it. A scanner on one subnet may not probe another routed subnet. With Wi-Fi client isolation, a device can be visible to the access point but unreachable from a peer. Before changing a reservation or deciding a row is stale, record the subnet and interface used for each observation.&lt;/p&gt;

&lt;p&gt;Make sure the independent observation uses the same address as the router record, and check that the identity still matches. An address change isn't automatically suspicious. It may be expected after a router configuration change or reservation update. To use it as evidence, you need the surrounding timing and a reason to compare the records.&lt;/p&gt;

&lt;p&gt;Don't create a reservation for a stale MAC address just to tidy up the table. A reservation can give a predictable address to the client identity that requests it. It can't fix radio coverage, establish device ownership, or prove that a named service is healthy. If you need a reservation, verify the correct current identity first. Then choose an unused address according to the router's own rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusions supported by the record
&lt;/h2&gt;

&lt;p&gt;Finish the first comparison with a statement you could check again. “At 10:05 router time, this MAC address had a lease expiring at 11:00; the device's uptime did not reset” is useful. “The device came back online at 10:05” claims something about availability and cause that those same facts don't establish.&lt;/p&gt;

&lt;p&gt;Keeping the conclusion narrow also keeps the next action small. Inspect the router's DHCP log after the next renewal, compare the device's local uptime during the suspected window, or observe the relevant switch port once. Pick one. Refreshing the same router page over and over rarely adds new evidence.&lt;/p&gt;

&lt;p&gt;For a longer-running local record, DeviceShelf is one possible way to note responding devices and observed addresses. Compare those observations with router records and device settings. No single view proves identity, ownership, or service availability. The aim is a modest record that helps the next check distinguish a renewal from a real connection change, rather than a perfect timeline built from one table.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc2131" rel="noopener noreferrer"&gt;RFC 2131: Dynamic Host Configuration Protocol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc2132" rel="noopener noreferrer"&gt;RFC 2132: DHCP Options and BOOTP Vendor Extensions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>DHCP Client Identifier vs MAC Address: What a Router Is Showing</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Tue, 17 Nov 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/dhcp-client-identifier-vs-mac-address-what-a-router-is-showing-55gn</link>
      <guid>https://dev.to/deviceshelf/dhcp-client-identifier-vs-mac-address-what-a-router-is-showing-55gn</guid>
      <description>&lt;p&gt;A router's DHCP page may show a local IP address, a hardware or MAC address, a hostname, and sometimes a field called “client ID” or “DHCP client identifier.” When two entries look similar, it's easy to read client ID as another name for the MAC address. That isn't always the case.&lt;/p&gt;

&lt;p&gt;The difference matters when you're checking a changed router entry or deciding whether to create a DHCP reservation. A router can associate a lease with information supplied by the client, but router interfaces don't all display that information the same way. It also can't reliably tell you which person or physical device is behind an entry. The task is more specific: work out which current lease belongs to a device you manage before changing anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  The information in the router's records
&lt;/h2&gt;

&lt;p&gt;DHCP gives a client configuration details such as an IP address, subnet mask, router address, and lease time. A client request can include a client identifier option. DHCP messages also carry a hardware-address field. &lt;a href="https://www.rfc-editor.org/rfc/rfc2131.html" rel="noopener noreferrer"&gt;RFC 2131&lt;/a&gt; defines these parts of the exchange.&lt;/p&gt;

&lt;p&gt;Not every router shows both values, though, and the labels aren't always accurate. One interface may show only “MAC address.” Another may put “client ID” next to a separate MAC address. A third may get its device label from a remembered lease. Before comparing two rows, write down the exact field labels and local IP address, along with the displayed lease time and whether the row is active or historical. Only do this on a network you own or are authorized to manage.&lt;/p&gt;

&lt;p&gt;Don't guess at missing details. A field that looks like a MAC address could be a hardware address, an identifier built from one, or a vendor-specific way of displaying the information. Check the documentation for that router model to find out what a particular screen means. The DHCP specifications explain the protocol's terms; they don't determine what a consumer router calls a column.&lt;/p&gt;

&lt;h2&gt;
  
  
  The different roles of MAC addresses and client identifiers
&lt;/h2&gt;

&lt;p&gt;A MAC address is a link-layer address used to deliver traffic on a local network. On an IPv4 segment, Address Resolution Protocol associates an IP address with a link-layer address for local delivery. That's the limited role described in &lt;a href="https://www.rfc-editor.org/rfc/rfc826.html" rel="noopener noreferrer"&gt;RFC 826&lt;/a&gt;. It doesn't make a MAC address a permanent, universal identity for an entire device.&lt;/p&gt;

&lt;p&gt;A DHCP client identifier is an option carried in DHCP messages that lets a DHCP server recognize a client for lease management. Some clients use an identifier related to a hardware address. Others can use a different identifier. &lt;a href="https://www.rfc-editor.org/rfc/rfc4361.html" rel="noopener noreferrer"&gt;RFC 4361&lt;/a&gt; specifies a DHCPv4 client-identifier format that combines an identity association identifier (IAID) with a DHCP unique identifier (DUID), also used by DHCPv6. So a client identifier and a displayed Wi-Fi MAC address can be related without being identical text.&lt;/p&gt;

&lt;p&gt;Devices with more than one interface make this distinction particularly useful. A laptop may have both Ethernet and Wi-Fi interfaces, while a phone can use a network-specific private Wi-Fi address. A virtual machine, dock, or USB adapter can introduce another interface. If the router records a lease for each interface, several entries may belong to equipment you recognize. But similar names alone don't establish that two records belong to the same device.&lt;/p&gt;

&lt;h2&gt;
  
  
  A current lease comparison with your device
&lt;/h2&gt;

&lt;p&gt;Changing a reservation or reconnecting can interrupt services and your remote session. Make these changes with local access or an alternative management connection available.&lt;/p&gt;

&lt;p&gt;If you have physical or administrative access to the device you think an entry belongs to, compare its current settings instead of relying on an old list. Connect it to the relevant network and open its network settings. Note the local IPv4 address and the current MAC address reported for that interface. Then find the router's active lease with the same local IP and compare its time and connection type, where available.&lt;/p&gt;

&lt;p&gt;Work through these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Before editing a reservation, record the router's active-lease details: local IP, displayed hardware address, client-ID field if present, lease expiration, and interface or SSID.&lt;/li&gt;
&lt;li&gt;On the device you control, confirm which network it's currently using and its local IP address.&lt;/li&gt;
&lt;li&gt;Compare the current values with one router row at a time. Matching time, IP, and interface tells you more than a matching name alone.&lt;/li&gt;
&lt;li&gt;If the router shows a different client identifier, keep a record of it and check the router's own documentation before replacing or deleting the lease.&lt;/li&gt;
&lt;li&gt;Make just one reversible configuration change. Allow a normal DHCP renewal, then verify the result.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Don't assign a duplicate IP to create an address conflict as a test. It can interrupt another device and make the original evidence harder to interpret. A normal renewal, reconnect, or documented router refresh is a safer way to see which current lease changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Changes to seemingly stable values
&lt;/h2&gt;

&lt;p&gt;DHCP data is meant for configuration, not proof of ownership. A router may keep an expired or remembered entry after a device disconnects. When that device reconnects, it may use another interface or receive a different address. It may also supply a different identifier after an operating-system change. A Wi-Fi privacy setting can cause a familiar device to present a network-specific address, too.&lt;/p&gt;

&lt;p&gt;Privacy is one reason not to require a stable, human-readable identifier from every DHCP client. &lt;a href="https://www.rfc-editor.org/rfc/rfc7844.html" rel="noopener noreferrer"&gt;RFC 7844&lt;/a&gt; discusses DHCP identifiers and options that can make a client easier to correlate. It won't explain an individual router entry. It does explain why a changing or limited identifier can be deliberate protocol behavior rather than a sign of a network fault.&lt;/p&gt;

&lt;p&gt;Only draw conclusions the evidence supports. Example observation: “This active lease matched the laptop's current Wi-Fi address at 14:20” is a useful observation. “This identifier proves who owns the device” is not. If you still can't explain a record, mark it as pending. Before changing access rules or passwords, check nearby facts such as a guest network, a recently added adapter, or a device that's asleep.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical reasons for DHCP reservations
&lt;/h2&gt;

&lt;p&gt;A DHCP reservation is useful when a managed service needs a predictable local address, such as a NAS share, printer queue, or home-automation endpoint. Use whichever identifier the router explicitly asks for. That means a MAC address on some routers; on others, it may mean a documented client-ID value. Before copying an identifier from an old historical row, confirm that the current device still uses it.&lt;/p&gt;

&lt;p&gt;Once you've saved a reservation, renew the lease only on the device you manage and check that it receives the expected address. Test the intended local service from another authorized device. A reservation doesn't guarantee a fixed hostname or continuous availability. You still need a short inventory note explaining why it exists.&lt;/p&gt;

&lt;p&gt;For another local observation, an inventory tool can help organize the IP address, interface address, time, and service clues seen on a network you administer. DeviceShelf is one option for that comparison. As with the router record, compare its result with the device's own settings. It isn't a guarantee of identity or security.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mismatches that need more attention
&lt;/h2&gt;

&lt;p&gt;Pause if you can't match a current active lease to any authorized device after checking the network name, connection type, timing, and known adapters. Review who has access to the Wi-Fi password and whether a guest network is separate. Check for pending router firmware updates as well. Avoid publishing a complete DHCP table or screenshot, since it can expose local addresses, hardware addresses, and device names.&lt;/p&gt;

&lt;p&gt;Changing a Wi-Fi password can be appropriate when you have a grounded reason to suspect unauthorized access. It's disruptive, though, and a client-identifier mismatch alone usually isn't enough. First, keep a record of what the router shows and compare the current device settings you can access. Then make the smallest safe change that answers the next question.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc2131.html" rel="noopener noreferrer"&gt;RFC 2131: Dynamic Host Configuration Protocol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc4361.html" rel="noopener noreferrer"&gt;RFC 4361: Node-specific Client Identifiers for DHCPv4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc7844.html" rel="noopener noreferrer"&gt;RFC 7844: Anonymity Profiles for DHCP Clients&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc826.html" rel="noopener noreferrer"&gt;RFC 826: Address Resolution Protocol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://deviceshelf.app/server" rel="noopener noreferrer"&gt;DeviceShelf Server documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>A New DHCP Lease Does Not Prove a Device Just Rejoined Your Network</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Sun, 15 Nov 2026 10:00:04 +0000</pubDate>
      <link>https://dev.to/deviceshelf/a-new-dhcp-lease-does-not-prove-a-device-just-rejoined-your-network-3na0</link>
      <guid>https://dev.to/deviceshelf/a-new-dhcp-lease-does-not-prove-a-device-just-rejoined-your-network-3na0</guid>
      <description>&lt;p&gt;A router's client list can make a device look more active than it is. You open the page, spot a recent DHCP lease, and wonder whether the phone, NAS, camera, or smart plug has just come back online. Sometimes it has. The entry can also reflect a routine address renewal, a different network identity, or a change the router picked up after the event you actually care about.&lt;/p&gt;

&lt;p&gt;A recent timestamp only gets you so far. Instead of asking “does this row have a recent time?” ask “what exactly did the router record, and what other observation would confirm the conclusion I want to draw?” You can work through that with a few low-risk checks. They apply to ordinary home routers and routers serving small office networks alike.&lt;/p&gt;

&lt;p&gt;If you first need to find out which clients and addresses are present, start with &lt;a href="https://deviceshelf.app/blog/2026-09-18-see-all-devices-on-network/" rel="noopener noreferrer"&gt;How to See Every Device on Your Network and Find Its IP Address&lt;/a&gt;. A DHCP lease gives you one view of that inventory. It doesn't give you a complete history of every device connection.&lt;/p&gt;

&lt;h2&gt;
  
  
  The meaning of a DHCP record
&lt;/h2&gt;

&lt;p&gt;DHCP is the protocol a client commonly uses to get an IP address, along with settings such as the default gateway and DNS servers. The address comes with a lease period. Before the lease expires, the client can request an extension. Depending on the router's interface, you may see the address, a client name, a MAC address, a start or expiry time, and a remaining duration.&lt;/p&gt;

&lt;p&gt;The record tells you about address assignment. It isn't an uptime log. A router can extend a lease for a client that has stayed connected the whole time. A new start time might appear because the router's own service restarted, or because the interface rounded, refreshed, or rebuilt the record. A switched-off client can still have an unexpired lease. And a working client can have a newly assigned address while the router page continues to show an older row for a while.&lt;/p&gt;

&lt;p&gt;That matters if you're investigating “my device reboots every night” or “it fell off Wi-Fi.” A new lease fits either possibility, but proves neither. Nothing in the DHCP exchange generally tells you that the operating system finished rebooting, that the Wi-Fi radio disconnected, or that a service on the device became usable.&lt;/p&gt;

&lt;p&gt;Before you interpret a timestamp, write down the time and timezone shown by the router itself. Its clock might be wrong. The web interface might use local time while the log uses UTC, or a daylight-saving transition might make an ordinary renewal look suspicious. Save the displayed values first. You can convert and explain them later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Client identity before history comparisons
&lt;/h2&gt;

&lt;p&gt;Don't rely on the friendly name alone. Names can be duplicated or truncated, supplied by the router, or changed by the device. For the row you're checking, note the IP address, MAC address, client identifier if the router shows it, and the router's own timestamp. Compare those details with a known device setting or a record you already administer.&lt;/p&gt;

&lt;p&gt;Phones and tablets need particular care here. Private Wi-Fi addresses can let one physical device use a different MAC address for a particular network. Recreating a network profile or changing a privacy setting may leave what looks like a second device in the router's list. The old row can be a valid record of an earlier network identity without showing the client's current address.&lt;/p&gt;

&lt;p&gt;For a wired device, check the physical path separately. A new lease doesn't tell you whether an Ethernet cable is seated, a switch port has link, or a power supply is stable. With a NAS, be specific about what seems unavailable. The management page, a file share, a backup service, and network reachability are different things to observe. Calling all of them “the NAS rejoined” throws away details you need to test the next hypothesis.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lease renewals and fresh appearances
&lt;/h2&gt;

&lt;p&gt;Many clients renew their DHCP lease before it expires. The exact timing depends on the client and router configuration, and the renewal may cause no visible interruption at all. If the router log distinguishes a renewal from a new request, save its wording and timestamp. If it doesn't, describe what you have as “a recent lease record,” without assigning a cause.&lt;/p&gt;

&lt;p&gt;A recent-looking entry has several ordinary explanations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The client renewed the same address while staying connected.&lt;/li&gt;
&lt;li&gt;The client restarted its networking without rebooting the whole device.&lt;/li&gt;
&lt;li&gt;The router restarted or rebuilt its client table.&lt;/li&gt;
&lt;li&gt;The client returned after an actual Wi-Fi, cable, power, or router interruption.&lt;/li&gt;
&lt;li&gt;The router now shows a different client identity for the same physical device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You don't need to investigate every possibility at once. The point is that a lease alone can't distinguish between them. Start with the least disruptive check that helps you do that. A router event log or a switch-port link indication can add a useful fact, as can device-local uptime or a scan of the relevant subnet that you record with a timestamp.&lt;/p&gt;

&lt;p&gt;Don't force a release and renew just to get a cleaner timestamp. You'd be creating the event you're trying to understand, and you could interrupt a client that's working fine. Rebooting the router is even less useful as a first step: it clears context and may briefly affect every client. Save the evidence you already have before trying to fix anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  A short comparison record
&lt;/h2&gt;

&lt;p&gt;A note you can repeat is more useful than watching a countdown on the router page. Keep a timestamped record with these fields:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The router's displayed current time and timezone.&lt;/li&gt;
&lt;li&gt;The client's displayed IP address, MAC address, name, and lease expiry or remaining duration.&lt;/li&gt;
&lt;li&gt;Any router-log line that explicitly describes a DHCP request or renewal.&lt;/li&gt;
&lt;li&gt;One independent observation, such as a same-subnet scan, an ARP or neighbor-table entry, a switch link indicator, or a service check you're authorized to make.&lt;/li&gt;
&lt;li&gt;For a device you administer, a device-local uptime or application log timestamp.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Make the independent observation once and note the time, then compare it with the router data. No response to a scan doesn't establish that the device is powered off. A scan can miss a sleeping client, a client behind isolation, or a device on another routed subnet. An ARP or neighbor-table entry can be old, too. These observations help narrow what you can claim; none is a universal test for whether a device is present.&lt;/p&gt;

&lt;p&gt;Suppose the router shows that a NAS renewed an address at 09:02. The NAS's own uptime says it has been running for six days, and its file service stayed available through that time. Those observations fit a routine renewal. But if the switch port lost link at 09:00 and the NAS uptime later reset, they support a different, limited conclusion: the device or its connection changed near that time. You still need more evidence to identify the cause.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mismatches between network observations
&lt;/h2&gt;

&lt;p&gt;A router's table won't always agree with another local observation. That's normal. The router can retain a lease after a device leaves, while a device with a static configuration can answer an address scan without having a current DHCP lease. A client may also be visible to the router but unreachable from a particular scanning machine because of a guest network, VLAN, firewall rule, or routed subnet.&lt;/p&gt;

&lt;p&gt;When the records disagree, compare network boundaries before changing settings. Check which subnet the observation came from and whether the IP address is still the one in the router record. Check the client identity, too. Don't create a DHCP reservation for a stale MAC address just because you found it in an old row. A reservation can make future addressing predictable for the identity that actually requests it. It can't repair Wi-Fi coverage, fix a cabling fault, or prove that a service is healthy.&lt;/p&gt;

&lt;p&gt;If you monitor the same network over time, keep historical observations separate from router configuration. DeviceShelf is one possible local view for recording responding devices and observed addresses. Compare it with router records and device settings. An observed address, name, or recent lease never proves ownership, identity, or current availability on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  One verifiable next check
&lt;/h2&gt;

&lt;p&gt;End the first pass with a statement the evidence supports. “At 09:05 router time, the router displayed a lease renewal for this MAC address; the device-local uptime did not reset” is useful. “The device rebooted at 09:05” claims more than those facts establish. Keeping the statement narrow also helps you choose the next check.&lt;/p&gt;

&lt;p&gt;Pick one next action. You could inspect the router's DHCP log after the next renewal or watch the switch link during the suspected window. Other options are to compare device-local uptime or test the named service separately from basic network reachability. After that check, record the same identifiers and timestamps. Keeping a DHCP address record distinct from a reconnection event is what helps you avoid a confident troubleshooting conclusion that the evidence doesn't support.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>MQTT Availability Topics: Check What an Offline State Means First</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Fri, 13 Nov 2026 10:00:03 +0000</pubDate>
      <link>https://dev.to/deviceshelf/mqtt-availability-topics-check-what-an-offline-state-means-first-2cej</link>
      <guid>https://dev.to/deviceshelf/mqtt-availability-topics-check-what-an-offline-state-means-first-2cej</guid>
      <description>&lt;p&gt;An MQTT entity in Home Assistant can show &lt;code&gt;unavailable&lt;/code&gt; just when an automation matters. That's a useful warning, but it doesn't tell you what went wrong. A sensor might have lost power, a publisher might have disconnected, the broker might have rejected a connection, or a topic might be configured incorrectly.&lt;/p&gt;

&lt;p&gt;This guide covers a small check on a broker and Home Assistant installation you administer. The aim is narrow: check how one known publisher moves one test entity between available and unavailable, then have a harmless automation observe the change. The test doesn't prove a device's identity or future uptime. It also doesn't prove that a real-world action happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  The meaning of an availability topic
&lt;/h2&gt;

&lt;p&gt;MQTT discovery and MQTT entities can be configured with availability information. In a typical setup, a publisher sends a payload such as &lt;code&gt;online&lt;/code&gt; or &lt;code&gt;offline&lt;/code&gt; to an availability topic. The entity maps those values to its availability. Home Assistant documents the MQTT availability options, including an optional availability topic and payload values. &lt;a href="https://www.home-assistant.io/integrations/mqtt/" rel="noopener noreferrer"&gt;Home Assistant: MQTT integration&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The key word is &lt;em&gt;configured&lt;/em&gt;. When an entity shows as unavailable, Home Assistant has applied its configuration and observed a matching condition in this installation. That doesn't explain the cause. A retained &lt;code&gt;offline&lt;/code&gt; message can linger after an earlier disconnect, while a live &lt;code&gt;offline&lt;/code&gt; message may be a deliberate maintenance signal. A missing message could mean a topic mismatch or an actual outage.&lt;/p&gt;

&lt;p&gt;These are separate questions. Did Home Assistant create the intended entity? Did a known publisher send the exact availability payload? Did the entity change? Did an automation see it? You need different evidence for each answer. MQTT topics are strings that clients match using the protocol's defined topic and filter rules. A name that looks right isn't enough. &lt;a href="https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html" rel="noopener noreferrer"&gt;OASIS MQTT Version 5.0&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A contained lab setup
&lt;/h2&gt;

&lt;p&gt;Don't start with the availability topic for a NAS, router, backup service, or power controller. Use a broker and namespace you control, with a clearly temporary name such as &lt;code&gt;lab/availability-check-2026-10-26/status&lt;/code&gt;. Keep credentials and private addresses out of test payloads and shared records, and don’t send command payloads.&lt;/p&gt;

&lt;p&gt;Create a simple lab MQTT entity or a discovery configuration with a unique object ID. Before publishing anything, record:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The exact availability topic and the payloads mapped to available and unavailable.&lt;/li&gt;
&lt;li&gt;Whether the availability message is retained.&lt;/li&gt;
&lt;li&gt;The entity ID that Home Assistant actually assigned.&lt;/li&gt;
&lt;li&gt;The time and client used for each test message.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pay attention to retention. The broker delivers retained messages to later subscribers as stored state, which can be useful for a status topic. But stopping a publisher doesn't remove its last retained state. Have a cleanup plan before changing a retained test message. After the check, clear the retained test value if that's appropriate for the broker you control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checks in both directions
&lt;/h2&gt;

&lt;p&gt;Send the configured available payload from the known lab publisher. Find the entity in Home Assistant and record its state and the time. Then send the configured unavailable payload. Only use a different, explicit test value if the entity configuration maps it. Otherwise, you may be testing a parsing error rather than availability.&lt;/p&gt;

&lt;p&gt;Check that the state changes in the intended order. If it doesn't, compare the topic, payload spelling, case, and retain setting before changing connection settings or restarting services. Change one variable at a time so the test tells you something useful. For example, sending &lt;code&gt;online&lt;/code&gt;, then &lt;code&gt;offline&lt;/code&gt;, then &lt;code&gt;online&lt;/code&gt; makes it easier to tell whether the entity reflects current messages or still displays an earlier retained value.&lt;/p&gt;

&lt;p&gt;An MQTT sensor's state topic and availability topic are separate paths, too. Home Assistant's MQTT sensor documentation describes state and availability separately. &lt;a href="https://www.home-assistant.io/integrations/sensor.mqtt/" rel="noopener noreferrer"&gt;Home Assistant: MQTT sensor&lt;/a&gt; A current state value can coexist with unavailable status. Don't assume an old state is fresh just because it's still visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Observation before action
&lt;/h2&gt;

&lt;p&gt;Once the lab entity changes as expected, create a temporary automation that only records an observation. An MQTT trigger can react to a topic and optional payload. A state-based automation can observe the resulting entity state. Choose whichever matches the fact you're testing. &lt;a href="https://www.home-assistant.io/docs/automation/trigger/#mqtt-trigger" rel="noopener noreferrer"&gt;Home Assistant: MQTT trigger&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For this first pass, make the action a persistent notification, a logbook entry, or a dedicated helper. Don't reboot a host, switch power, alter network access, or publish to a command topic. With the temporary automation enabled, send the configured available payload and confirm that the entity leaves &lt;code&gt;unavailable&lt;/code&gt;. Then send the configured unavailable payload once and inspect the automation trace and the harmless result. Home Assistant's troubleshooting guidance explains how traces help distinguish a trigger that didn't fire from a condition or action that didn't behave as expected. &lt;a href="https://www.home-assistant.io/docs/automation/troubleshooting/" rel="noopener noreferrer"&gt;Home Assistant: automation troubleshooting&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the entity changes but there's no trace, review the automation target and trigger type. If there's a trace but the expected notification or helper update is missing, inspect the conditions and action path. Neither result establishes whether a production device is available. It narrows down one configuration problem in one controlled test.&lt;/p&gt;

&lt;h2&gt;
  
  
  An offline event as a starting signal
&lt;/h2&gt;

&lt;p&gt;In a production workflow, a safe first response to an unavailable state is usually to record the entity ID, observed value, and time. Then compare the broker log, the publisher's own log, and any relevant service status separately. Don't make an availability message the only condition for a consequential action.&lt;/p&gt;

&lt;p&gt;This matters especially after broker restarts and maintenance. Home Assistant may restart before a publisher reconnects and publishes an available value. A retained value may also arrive before the publisher finishes its own checks. Use a delay or a second independent observation only if you can explain what it protects against. A longer timeout doesn't tell you what caused the failure.&lt;/p&gt;

&lt;p&gt;DeviceShelf Server can export network observations through MQTT discovery to a Home Assistant installation you administer. That gives you another observation to compare with broker records. An unavailable entity still doesn't prove a device is gone, identify a network fault, or confirm a recovery action. Keep its availability information and any automation outcome as separate observations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test cleanup
&lt;/h2&gt;

&lt;p&gt;Disable or remove the temporary automation, entity, and retained lab configuration according to the setup you created. Check that the test topic can no longer change a real automation. Keep a short record of the topic names, payloads, entity ID, and trace result, leaving out secrets and real network details.&lt;/p&gt;

&lt;p&gt;Success here is deliberately limited: a known lab publisher changed one configured entity between two availability states, and Home Assistant recorded one reversible reaction. That's enough evidence to decide whether the configuration needs more work before you attach it to a meaningful action.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.home-assistant.io/integrations/mqtt/" rel="noopener noreferrer"&gt;Home Assistant MQTT integration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.home-assistant.io/integrations/sensor.mqtt/" rel="noopener noreferrer"&gt;Home Assistant MQTT sensor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.home-assistant.io/docs/automation/trigger/#mqtt-trigger" rel="noopener noreferrer"&gt;Home Assistant MQTT trigger&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.home-assistant.io/docs/automation/troubleshooting/" rel="noopener noreferrer"&gt;Home Assistant automation troubleshooting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html" rel="noopener noreferrer"&gt;OASIS MQTT Version 5.0 specification&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://deviceshelf.app/server" rel="noopener noreferrer"&gt;DeviceShelf Server documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>What a DHCP Lease Time Can Tell You About an Offline Device</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Wed, 11 Nov 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/what-a-dhcp-lease-time-can-tell-you-about-an-offline-device-2d7i</link>
      <guid>https://dev.to/deviceshelf/what-a-dhcp-lease-time-can-tell-you-about-an-offline-device-2d7i</guid>
      <description>&lt;p&gt;When a phone, printer, NAS, or smart-home device disappears from a router list, the DHCP lease record is often the first timestamp you find. It's useful, but easy to read too much into. A lease expiry tells you about an address assignment. Whether a device is offline is a question of current reachability. The two observations are related, but they don't tell you the same thing.&lt;/p&gt;

&lt;p&gt;Lease time belongs in a short troubleshooting record alongside other checks. The point is to work out what to check next without changing router settings, assigning a static address, or taking one old entry as proof that a device has failed.&lt;/p&gt;

&lt;p&gt;If you first need to find out which addresses and clients are on the local network, start with &lt;a href="https://deviceshelf.app/blog/2026-09-18-see-all-devices-on-network/" rel="noopener noreferrer"&gt;How to See Every Device on Your Network and Find Its IP Address&lt;/a&gt;. The router table, an address scan, and a DHCP record each show a different part of what's happening.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lease fields and address assignments
&lt;/h2&gt;

&lt;p&gt;DHCP gives a client an address for a limited period. Router interfaces commonly show a client name, MAC address, IP address, start time, expiry time, and sometimes a remaining duration. Labels vary by router. Some routers also keep an old row after the client has left.&lt;/p&gt;

&lt;p&gt;The expiry time answers one specific question: how long does the router consider this address assignment valid without a renewal? It doesn't tell you when the device last sent useful application traffic. Nor does it prove that the device is powered on, associated with Wi-Fi, able to reach the router, or reachable from another machine.&lt;/p&gt;

&lt;p&gt;A device can have plenty of time left on its lease after you've unplugged it. An old lease can expire while the device remains reachable under a different, valid address assignment, for example after reconnecting with a changed client identifier or private Wi-Fi MAC address. A row that has just expired may also stay visible simply because the router hasn't updated the display yet.&lt;/p&gt;

&lt;p&gt;Before reading anything into a date, write down the router time and timezone shown in the interface. An incorrect router clock can make a normal renewal look late. So can a daylight-saving change, or an interface that shows local time while the logs use UTC. On the first pass, record the value as displayed instead of converting it in your head.&lt;/p&gt;

&lt;h2&gt;
  
  
  The identity behind a client record
&lt;/h2&gt;

&lt;p&gt;Names aren't reliable identifiers. Two devices can advertise the same hostname, and a device may change its name after an update. The router might use a label based on the vendor instead. Compare at least the IP address, MAC address, and any client identifier the router shows against the device itself or a known inventory.&lt;/p&gt;

&lt;p&gt;For a Wi-Fi client, check whether private addressing is enabled for that particular network. A phone can use a different MAC address after a network setting changes, a profile is recreated, or the operating system rotates an address. The old lease row may then refer to the same physical device under a network identity it no longer uses. Don't turn that old address into a DHCP reservation until you've confirmed the match.&lt;/p&gt;

&lt;p&gt;For a wired client, check the physical path too: cable, switch port, and link indicator. A valid lease tells you little about a disconnected cable. If you're checking a NAS or another server, note separately which service seems to be unavailable. A web interface or file share can fail at a different point from the device's network presence.&lt;/p&gt;

&lt;h2&gt;
  
  
  A comparison of timestamps
&lt;/h2&gt;

&lt;p&gt;Make a short table or note with four times: the router's current time, the lease expiry or remaining duration, the most recent router client activity if available, and the time of an independent check. That check could be a DHCP renewal log, an ARP/neighbor-table observation from a machine on the same subnet, or a scan from the local network.&lt;/p&gt;

&lt;p&gt;Run the independent check once. Note the time and result. A scan can miss a sleeping client, a client behind an isolation rule, or a device on another routed subnet. An ARP entry may be old too. These checks help narrow down the question, but one result won't identify an owner or tell you whether a device is healthy.&lt;/p&gt;

&lt;p&gt;Suppose the router shows an address with four hours left on its lease, but a same-subnet scan gets no response and the switch link is down. The lease fits a former assignment; it doesn't contradict a physical disconnection. Or suppose the NAS renews its lease while a NAS web page fails. That points toward the service, name resolution, firewall, or application path rather than the address assignment alone.&lt;/p&gt;

&lt;p&gt;Don't keep refreshing the router page without taking notes. Some interfaces update their client table only on a schedule, and a moving countdown makes changes harder to compare. A dated observation before and after a deliberate, harmless check is more useful than several impressions you have to remember.&lt;/p&gt;

&lt;h2&gt;
  
  
  A low-risk troubleshooting order
&lt;/h2&gt;

&lt;p&gt;Keep the first pass reversible. Save the evidence already on screen, then check one boundary at a time.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Record the router clock, IP address, MAC address, client name, lease duration, and displayed status.&lt;/li&gt;
&lt;li&gt;If you can access the device, confirm which network it's meant to use and whether its Wi-Fi or Ethernet link is active.&lt;/li&gt;
&lt;li&gt;Check one independent local view, such as the router event log, a neighbor table, or a network scan from the relevant subnet.&lt;/li&gt;
&lt;li&gt;If the address changed, compare the old and new client identifiers before removing the old row or creating a reservation.&lt;/li&gt;
&lt;li&gt;Test the named service separately from network reachability, using its expected local address and port only when you administer that service.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Don't release and renew a lease just to clear a stale row. You may interrupt a working device, and you'll replace an observation with a new event. A router reboot also clears useful context and causes a broader outage. Save or copy the relevant timestamps first.&lt;/p&gt;

&lt;p&gt;If a reservation looks like the likely solution, confirm that it uses the identity the client actually presents on this network. A reservation keeps addressing stable. It won't fix Wi-Fi coverage, a sleeping operating system, a failing switch, or an unavailable service. Keeping those possible causes separate makes it easier to verify the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common lease patterns and their limits
&lt;/h2&gt;

&lt;p&gt;An expired row next to a newly assigned address can mean the device simply rejoined the network. Compare identifiers and the order of events before calling it a duplicate device. A still-valid row with no independent response can fit a device that left after receiving its lease, but it doesn't tell you when the device left.&lt;/p&gt;

&lt;p&gt;Frequent renewals or repeated new leases may need a closer look. Start with ordinary causes: a short configured lease duration, intermittent Wi-Fi, a device reboot, a private address change, or a router configuration change. Router logs can tell a renewal from a fresh request, provided you can trust their clock.&lt;/p&gt;

&lt;p&gt;If a device appears in the router table but not in a scan, check subnet boundaries and client isolation before treating the scan as a complete inventory. A device that answers a scan but has no current lease entry in this router’s display may use a static address, obtain its lease from another DHCP server, or have a valid lease that the display has not yet reflected. When the sources disagree, compare them before drawing a conclusion.&lt;/p&gt;

&lt;p&gt;DeviceShelf can provide one local view for recording responding devices and their observed addresses over time. Compare it with router records and the device's own settings. An observed address or name doesn't prove current ownership, identity, or availability.&lt;/p&gt;

&lt;h2&gt;
  
  
  A conclusion for the next check
&lt;/h2&gt;

&lt;p&gt;When you're done checking, keep the conclusion within what the evidence supports. For example: “At 14:10 local router time, the router retained a lease for 192.168.1.42 until 18:00; the device did not answer one local scan, and the Ethernet link was down.” That's stronger and more useful than “the device went offline at 14:10.”&lt;/p&gt;

&lt;p&gt;Choose one observable next action, whether that's inspecting a cable, reconnecting to the intended Wi-Fi network, checking a service log, or waiting for the next renewal. Afterward, check the same identifiers and timestamps again. A short record helps keep an old lease from becoming a lasting explanation for a problem it never proved.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>Test an MQTT Payload Filter in Home Assistant Before Using It for an Alert</title>
      <dc:creator>DeviceShelf</dc:creator>
      <pubDate>Mon, 09 Nov 2026 10:00:06 +0000</pubDate>
      <link>https://dev.to/deviceshelf/test-an-mqtt-payload-filter-in-home-assistant-before-using-it-for-an-alert-2jaa</link>
      <guid>https://dev.to/deviceshelf/test-an-mqtt-payload-filter-in-home-assistant-before-using-it-for-an-alert-2jaa</guid>
      <description>&lt;p&gt;Liquid syntax error: 'raw' tag was never closed&lt;/p&gt;
</description>
      <category>tutorial</category>
      <category>networking</category>
      <category>homelab</category>
      <category>selfhosted</category>
    </item>
  </channel>
</rss>
