When you have a lot of devices on your network (computers), network storage , and Raspberry Pis —it can be boring to constantly search for them.s IP addresses when you need to access them remotely. Make your life easier with a set of static, immutable IP addresses for these machines.
DHCP vs. static IP address
Your router assigns IP addresses to devices on your network at the help from DHCP , or Dynamic Host Configuration protocol. As you connect new devices to the networkwater, the next pool IP address will be assigned to them, and if a device has not logged in for a few days, its IP address "expires " so it can be assigned to something else.
For everyday use, this is perfectly fine, and you 'll never even notice it happening in the background. But if you SSH in your Raspberry Pi regularly, use Wake-on -LAN To activate your computer on the other side of the house, or perform other advanced networking tasks, DHCP can become a hassle.
It's hard to remember which IP address is assigned to which device, and if they ever expire, you have to review everything. This is where a static IP address comes in handy.
Instead of letting your router assign any free IP address at any time, you can assign specific IP addresses to devices that you access frequently. For example, my home server is set on 192.168.1.10, my main office on 192.168.1.11, and so on — easy to remember, sequential, and immutable.
You can assign these static IP addresses on the device itself — by using, for example, the Windows network settings on each computer — or you can do this at the router level.u from the router is called assign a DHCP reservation, although many people (and even some routers ) always refer to it as "static IP address.
DHCP reservations allow you to easily configure everything in one place with all of your computers left at their default settings. Your computer will ask you for an IP address via DHCP, and your router will assign it the one you reserved, your computer not being any more notified.
How to configure a DHCP reservation
To configure a DHCP reservation, head to your router's configuration page —usually by entering its IP address in your browser's navigation bar — and log in . (If you are using a Wi- system Mesh fi with an app instead of a config page, you will find these settings in the app.)
The location is different for each config page, but you are looking for something called "DHCP reservations, " "static IP addresses " or something similar — on my Asus router it is in the LAN settings category.
To assign a reservationon, you will 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 the list of connected devices . Make sure you get the MAC address for the correct network card. If you have both Ethernet and Wi-Fi on your computer, you will have a MAC address for each.
On your router In the configuration page, enter an easy-to-remember label for the device (such as "Whitson 's Desktop PC "), the desired MAC address and IP address. Save your changes and repeat the process for any other IP addresses you want to reserve.
From there, your reserved IP addresses fromshould be assigned to them, and you 'll never have to search again. Tips and Tricks for expert advice on getting the most out of your technology. ", "first_published_at ": "2021-09-30T21: 23: 24.00000Z ", "published_at ": "2021-09-30T21: 23: 24.00000Z ", "last_published_at ": "2021 -09-30T21: 23: 13.000000Z ", " created_at ": null, " updated_at ": " 2021-09-30T21: 23: 24.000000Z "}) " x-show = " showEmailSignUp () "class = " rounded bg-gray-lightest text- md: px-32 md: py-8 p-4 font-brand mt-8 container-xs ">
Like what you read?
Subscribe to the newsletter Tips and Tricks for expert advice on getting the most out of your technology.
Thank you for your inion!
Your subion has been confirmed. Keep an eye on your inbox! Subscribe to other newsletters