How to Configure an IP Address: A Complete Guide

Understanding how to configure an IP address is one of those foundational networking skills that pays off whether you're setting up a home office, managing a small business network, or troubleshooting a stubborn connection. The process varies more than most guides admit — and knowing why makes the difference between a fix that holds and one that breaks again next week.

What Is an IP Address Configuration, Really?

Every device on a network needs an IP address to communicate — think of it as a postal address for data. When you "configure" an IP address, you're telling your device (or router) what address to use, how to reach other devices, and how to find the broader internet.

There are two fundamental approaches:

  • Dynamic IP (DHCP): Your router automatically assigns an IP address each time your device connects. This is the default for most home and office setups.
  • Static IP: You manually assign a fixed address that doesn't change between connections. Common for servers, printers, smart home hubs, and remote access setups.

Neither is universally better. The right choice depends on what the device does and how your network is structured.

Key Terms You'll Encounter

Before touching any settings, it helps to know what each field actually means:

TermWhat It Means
IP AddressThe unique address assigned to your device on the network (e.g., 192.168.1.100)
Subnet MaskDefines which portion of the IP identifies the network vs. the device (e.g., 255.255.255.0)
Default GatewayThe router's IP address — the exit point to other networks and the internet
DNS ServerTranslates domain names (like google.com) into IP addresses
DHCPDynamic Host Configuration Protocol — the system that auto-assigns IPs

Getting any one of these wrong is usually enough to break connectivity entirely, which is why static IP configuration requires a bit more care than simply typing in numbers.

How to Configure an IP Address on Windows 🖥️

  1. Open Settings → Network & Internet → Ethernet (or Wi-Fi, depending on your connection)
  2. Click your active connection, then select Edit under IP assignment
  3. Switch from Automatic (DHCP) to Manual
  4. Enter your desired IP address, subnet mask, default gateway, and DNS servers
  5. Save and reconnect

On older Windows versions, this is done through Control Panel → Network and Sharing Center → Change adapter settings, right-clicking your connection and choosing Properties → IPv4.

How to Configure an IP Address on macOS

  1. Go to System Settings (or System Preferences) → Network
  2. Select your active connection and click Details (or Advanced on older macOS)
  3. Navigate to the TCP/IP tab
  4. Change Configure IPv4 from Using DHCP to Manually
  5. Fill in the IP address, subnet mask, router (gateway), and DNS fields

How to Configure an IP Address on Linux

Linux users typically configure IP addresses through the terminal or a GUI like NetworkManager. Using the command line:

For persistent changes across reboots, edits go into configuration files — the location varies by distribution (e.g., /etc/netplan/ on Ubuntu, /etc/network/interfaces on Debian-based systems).

Configuring IP Addresses on Routers

Many configurations actually happen at the router level, not the device level. Your router's admin panel (typically accessed at 192.168.1.1 or 192.168.0.1 in a browser) lets you:

  • Reserve a static IP for a specific device via DHCP reservation — the device still uses DHCP, but the router always gives it the same address
  • Change the router's own IP address (useful when combining multiple routers)
  • Configure WAN IP settings if your ISP has assigned you a static public IP

DHCP reservation is often the cleaner approach for home networks — you get the reliability of a static address without manually configuring every device.

IPv4 vs. IPv6: Does It Matter? 🌐

Most home and small business networks still run primarily on IPv4 (the 32-bit system that produces addresses like 192.168.x.x). IPv6 uses a longer 128-bit format and was developed to address IPv4 address exhaustion. Many modern routers and operating systems support both simultaneously (called dual-stack).

For most local network configurations, you'll be working in IPv4. IPv6 becomes more relevant in enterprise environments and when configuring public-facing services.

What Can Go Wrong

Common configuration mistakes include:

  • IP address conflicts — assigning a static IP that the router's DHCP pool might also hand out to another device
  • Wrong subnet mask — causes the device to think it's on a different network than it actually is
  • Incorrect gateway — breaks internet access even if local network communication works
  • DNS left blank or wrong — websites won't load even though the connection technically works

A clean way to avoid IP conflicts is to assign static addresses outside your router's DHCP range, or use DHCP reservation instead of fully manual configuration.

The Variables That Determine Your Approach

How you configure an IP address — and which method makes the most sense — depends on factors specific to your situation:

  • What the device does: A printer or NAS drive benefits from a fixed address. A laptop used on multiple networks generally doesn't.
  • Your router's capabilities: Consumer routers vary in how much control they offer over DHCP ranges and reservations.
  • Your operating system and version: Steps and menu locations shift between OS versions.
  • Whether you're working with local (private) or public IPs: Your ISP controls your public IP; your router controls the private addresses on your local network.
  • Network scale: A single home router is a different environment than a managed switch with VLANs.

The mechanics of configuration are learnable in an afternoon. What takes longer to figure out is which approach actually fits the device, the network, and the way everything connects in your specific setup.