This recipe configures a Raspberry Pi so that it has a static IP address.
A static IP address, unlike the dynamic addresses provided by a DHCP (Dynamic Host Configuration Protocol) server, does not change. Network servers on a wired network connection (for example, web servers, wikis, and wireless access points) generally have static IP addresses to provide a consistent telephone-number-like reference for use by its network clients (for example, web browsers, mobile phones, and other Internet devices). Servers that have a static IP address are easier to find.
After completing this recipe, you will be able to configure a static network IP address.
Ingredients:
An Initial Setup or Basic Networking setup for the Raspberry Pi that has been powered on. You have also logged in as the user pi
(see the recipes in Chapter 1, Installation and Setup for how to boot and log in and the recipes in Chapter 2, Administration for how to log in remotely).
This recipe...