Will It Work? · Guide
DHCP address reservation: the same IP for a printer or console
By Bulan Sarkar, founder of ElectronicsInfoline (since 2000)
When a printer that worked yesterday cannot be found today, or a console's port-forwarding rule stops working, a likely cause is that the router handed the device a different IP address. A DHCP reservation stops that. This guide is drawn from two router makers' support pages (read on their US and India sites), Apple's page on private Wi-Fi addresses and the IETF rule for MAC addresses. Menus differ by model.
In the router's settings, add an address reservation: the device's MAC address and an IP address on the router's own subnet (with the router at 192.168.0.1, anything from 192.168.0.2 to 192.168.0.254). Turn the entry on, then restart the device so it asks again. For a phone, set its private Wi-Fi address to Off or Fixed for your network, or the reservation will stop matching.
What a reservation does
With a reservation, the device always gets the same IP address each time it connects to the router's DHCP server (TP-Link). The makers suggest it for computers and servers that need a permanent address to work (NETGEAR). At home that usually means the things other devices point at: a printer, a network drive, a console with a port-forwarding rule.
The device itself stays on automatic. The router keeps the list, so every fixed address on your network is in one place. The new address is not handed out until the device next contacts the router's DHCP server; restart it, or release and renew its address (NETGEAR).
Pick an address the router accepts
The IP address must be on the same subnet as the router's LAN address. With the default LAN address of 192.168.0.1, one maker gives the range as 192.168.0.2 to 192.168.0.254 (TP-Link). The other maker's routers use 192.168.1.x by default, and the rule is the same: choose an address from the router's LAN subnet (NETGEAR).
Not sure of your router's address? It is often printed on the label underneath, and your computer shows it as the "gateway" or "router" in its network details.
Add a reservation, step by step
On one maker's routers, go to Advanced > Network > DHCP Server > Address Reservation, click Add, and enter the device's MAC address and the IP address. The MAC can be upper or lower case, in the form XX-XX-XX-XX-XX-XX (TP-Link). Then turn the entry's status on and restart the router so the setting takes effect (TP-Link).
On the other maker's routers, go to ADVANCED > Setup > LAN Setup and click Add in the Address Reservation section. If the device is already on the network, copy its MAC address from the Attached Devices page (NETGEAR). Restart the device afterwards. A printer or camera usually shows its MAC on a label or a settings screen too. Wired devices linked through a home Ethernet switch get reserved the same way.
Phones and private Wi-Fi addresses
A reservation follows the MAC address, and phones no longer use one MAC everywhere. An iPhone uses a different MAC address for each Wi-Fi network by default. Its setting has three choices: Off uses the hardware MAC; Fixed uses a private address that does not rotate; Rotating changes to a new private address every 2 weeks (Apple). Resetting network settings also gives a new private address (Apple).
On Android, the same choice is under Settings > Network & Internet > Wi-Fi, the gear next to your network, then Advanced > Privacy > Use Device MAC (TP-Link). You can also tell a private address apart from the label: the second hex digit of the first pair is 2, 6, A or E when the address is locally assigned, because that digit carries the universal/local bit, which is 0 for maker-assigned addresses (IETF). The same RFC warns that previously seen devices can return to the network with a new address (IETF). Router features that match devices by MAC, such as parental controls, are affected in the same way.
Tips and tricks
- Copy the MAC from the router’s connected-devices list rather than typing it from a label: you get the address the device actually uses on your network.
- Turn the entry on: on one maker’s routers a new entry stays off until you enable it.
- Restart the device after you save, or it keeps its old address until it next asks.
- Note the reserved address on a sticker on the printer or camera for the next time you need it.
- If a phone’s reservation stops matching, check its private-address setting for your network first.
What we would do
We would reserve addresses only for the devices other things point at, such as the printer. We would copy each MAC from the router's device list, pick an address on the router's subnet, turn the entry on and restart the device. For a phone or tablet, we would set its private Wi-Fi address to Fixed or Off for the home network first.
Questions people ask
What is DHCP address reservation? A row in the router’s settings that ties one device’s MAC address to one IP address. The device still gets its address automatically from the router, but it gets the same one every time it connects.
Is a DHCP reservation the same as a static IP? They give the same result, a fixed address, but in different places. A reservation is set once on the router and the device stays on automatic. A static IP is typed into the device itself. A reservation keeps every fixed address in one list on the router.
Which IP address can I reserve? One on the same subnet as the router’s LAN address, and not the router’s own. With the router at 192.168.0.1 that is 192.168.0.2 to 192.168.0.254. With the router at 192.168.1.1 it is an address in 192.168.1.x.
Where do I find the device’s MAC address? On the router: one maker lists connected devices on its Attached Devices page, where you can copy the MAC. The device’s own network settings show it too. Type it in the form the router asks for, such as XX-XX-XX-XX-XX-XX.
I added a reservation but the device still has its old address. Why? The reserved address is handed out the next time the device asks the router for one. Restart the device, or release and renew its address. On one maker’s routers you also turn the entry’s status on and restart the router.
Why did my phone’s reservation stop working? Phones use a private Wi-Fi address, a different MAC for each network. On an iPhone, Rotating changes it every 2 weeks, so a reservation tied to the old MAC stops matching. Fixed keeps one private address until you forget the network or reset network settings. Off uses the hardware MAC.
Sources
Each figure on this page is quoted from the source below or worked out from them. Sources checked , each quote read again against the source in a second pass.
- TP-Link, TP-Link FAQ 182 (US): Address Reservation:
the PC will always receive the same IP address each time it connects to the DHCP server. … Go to Advanced > Network > DHCP Server > Address Reservation … The format of the MAC Address is XX-XX-XX-XX-XX-XX The IP Address must be on the same subnet with the LAN IP … you can reserve the IP address from 192.168.0.2 to 192.168.0.254. … turn on the Status … then all the settings would take effect.
tp-link.com/us/support/faq/182/ - NETGEAR, NETGEAR KB 25722: reserving an IP address:
Select ADVANCED > Setup > LAN Setup . … Choose an IP address from the router’s LAN subnet, such as 192.168.1.x. … you can copy its MAC address from the Attached Devices page … The address you reserved is not assigned to your computer until the next time the computer contacts the router’s DHCP server.
kb.netgear.com/25722/How-do-I-reserve-an-IP-address-on-my-NE… - Apple, Apple Support 102509 (US): private Wi-Fi addresses:
By default, your device improves privacy by using a different MAC address for each Wi-Fi network. … Off: When set to Off, your device uses its hardware MAC address. Fixed: When set to Fixed, your device uses a private address, but the private address doesn’t rotate … a private address that rotates to a different private address every 2 weeks. … reset network settings on your device, it uses a different private address
support.apple.com/en-us/102509 - TP-Link, TP-Link FAQ 2643 (US): randomized MAC addresses:
Parental Control identifies devices by their MAC addresses. Some devices use a randomized MAC address by default, which can cause Parental Control to not work properly. … Settings > Wi-Fi > Tap the blue info icon (ⓘ) next to your Deco/router’s Wi-Fi name > Turn off Private Address. … Settings > Network & Internet > Wi-Fi > Tap the gear icon next to your Deco/router’s Wi-Fi name > Advanced > Privacy > Select Use Device MAC. … check the Parental Control device list and add all possible devices to the profile manually.
tp-link.com/us/support/faq/2643/ - IETF, RFC 9542: IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters, section 2.1:
The bottom (least significant) four bits of the first octet of the 6-octet 48-bit MAC have special meaning … For global addresses, X = 0 … X bit - This bit is also called the "universal/local" bit … previously seen devices can return to the network with a new address.
rfc-editor.org/rfc/rfc9542.txt