An IP address is a unique identifier for a specific device on your network. Your router assigns them to these devices using Dynamic Host Configuration Protocol (DHCP). As you connect new devices to the network, they will be assigned the next IP address in the pool, and if a device hasn’t connected in a few days, its IP address will “expire” so it can be assigned to something else.
For everyday use, this is perfectly fine, and you will never even notice it happening in the background. But if you regularly SSH into your Raspberry Pi, turn your computer on from across the house with Wake-on-LAN, or perform other advanced networking tasks, DHCP can become an annoyance.
It’s hard to remember which IP address is assigned to which device, and if they ever expire, you have to look it up all over again. This is where a static IP address comes in handy. Here’s how to set them up.
What is a Static IP Address?
Instead of letting your router assign whatever IP address is free at any given time, you can assign specific IP addresses to the devices you access frequently. For example, I have my home server set to 192.168.1.10, my main desktop to 192.168.1.11, and so on—easy to remember, sequential, and unchanging.
You can assign these static IP addresses on the device itself—using, say, Windows’ network settings on each computer—or you can do it at the router level. If you do it through the router, it will likely be called a DHCP reservation, though many people (and even some routers) still refer to it as a “static IP address.”
DHCP reservations allow you to easily set everything up in one place with all your computers left at their default settings. Your computer will ask for an IP address via DHCP, and your router will assign it the one you reserved, with your computer being none the wiser.
How to Set Up a DHCP Reservation
To set up a DHCP reservation, you need to know your IP address, which is easy enough to find out. You must then head to your router’s configuration page—usually by typing its IP address in your browser’s navigation bar—and log in. (For mesh Wi-Fi systems, you would use an app instead of a config page.)
The location is different for every config page, but you’re looking for something called “DHCP reservations,” “static IP addresses,” or similar. On my Asus router, for instance, it’s in the LAN settings category.
To assign a reservation, you need the MAC address of the device in question. This is a unique string of characters that identifies a particular network adapter, and you can usually find it in your router’s list of connected devices. Make sure you’re getting the MAC address for the correct network adapter—if you have both Ethernet and Wi-Fi on your computer, you have one MAC address for each.
On your router’s config page, enter an easy-to-remember label for the device (like “Whitson’s Desktop PC”), the MAC address, and your desired IP address. Save your changes, and repeat the process for any other IP addresses you want to reserve.
From then on, those devices should have your reserved IP addresses assigned to them, and you will never have to look them up again.
Like What You’re Reading?
Sign up for Tips & Tricks newsletter for expert advice to get the most out of your technology.
This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.
Hits: 0