RASPBERRY PI GETTING STARTED SERIES

How To Set A Fixed IP Address

In this lesson you will learn how to set a fixed IP address for your Raspberry Pi.

In addition to setting a hostname, it is good practice to set a fixed IP address to network hosts that provide services to other hosts. This way, a client will be able to use the same IP address for all its requests to the server, instead of first doing a lookup request to the DHCP server.

To set a fixed IP address for your Raspberry Pi, you will need to login to your router’s admin panel. Every router has an admin panel with its own “branded” design elements, but in general there is a page titled “DHCP” or “Bind IP” that allows you to edit the configuration of a host’s IP address.

In the screenshot below you can see the relevant page in my router’s administration panel. This page is available under the LAN menu item.

My router allows me to bind an IP address to a MAC address.

To bind an IP address to a MAC address, first select the Raspberry Pi by identifying its hostname from the ARP Table (“1”), then click on the “Add” button (“2”), you may change the IP address to something else, or accept the one that DHCP has already assigned).

In the IP Bind List box, you can now see the fixed IP address for your Raspberry Pi ("3").

Ready for some serious learning?

Start right now with Raspberry Pi Full Stack - Raspbian

This is our most popular Raspberry Pi course & eBook.


This course is a hands-on project designed to teach you how to build an Internet-of-Things application based on the world’s most popular embedded computer.


You will learn how to build this application from the ground up, and gain experience and knowledge with technologies such as...


  • The Linux operating system and the command line, 
  • The Python programming language,
  • The Raspberry Pi General Purpose Input Output pins (GPIOs), 
  • The Nginx web server,
  • The Flask Python web application microframework,
  • JQuery and CSS for creating user interfaces,
  • How to deal with timezones, 
  • How to create charts with Plotly and Google Charts, 
  • How to do datalogging with Google Sheet, 
  • How to create applets with IFTTT,
  • How to secure your application with SSL.
  • Last Updated 8 months ago.

    We publish fresh content each week. Read how-to's on Arduino, ESP32, KiCad, Node-RED, drones and more. Listen to interviews. Learn about new tech with our comprehensive reviews. Get discount offers for our courses and books. Interact with our community. One email per week, no spam; unsubscribe at any time

    {"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}