How to Disable DHCP and Use Static IP Addresses

Protect your wireless network from unwelcome devices

Burglar fishing for information from a businessman on a laptop

Tumisu / Wikimedia Commons / CC BY 2.0

One of the great things about home routers, wired and wireless alike, is they generally automatically assign IP addresses to devices trying to connect to the network. Since most users don't know anything about IP addresses, subnet masks, and other details, it's both efficient and convenient to let the router take care of those details. But, doing so comes with some risks. We'll show you how to protect your data by changing the settings on your home router that allow untrusted or unfamiliar devices to connect to your wireless network.

The instructions in this guide were tested using Windows 10.

Potential Risks

The downside to automatic IP addresses is that the router shows no discretion about which devices it assigns addresses to. A wireless device that gets within range of your wireless network equipment can acquire an IP address from your router. Once added to the network, the connected device can access any open network resources, including unsecured media streamers and poorly secured local files.

An Ounce of Prevention

For small networks like a home network, you can add some extra protection by turning off the DHCP, or automatic IP addressing, feature of the router and manually assign static IP addresses.

Refer to your wireless network router or access point owner's manual for details about how to access the administration and configuration screen and disable the DHCP functionality.

After you do that, you need to configure each one of your wireless network devices with a static IP address rather than automatically acquiring IP address information using DHCP.

How to Find Your IP Address Information

To find out what your current IP address information is, follow these steps:

  1. Type "command" into the Windows 10 search bar and select the Command Prompt app.

    Typing "command" into the Windows 10 search bar locates the Command Prompt app
  2. Type ipconfig /all in the command prompt console and press Enter.

    Use the Command Prompt app to find your IP information
  3. The results displayed will tell you the device's current IP address, subnet mask, and default gateway as well as the current DNS Servers.

How to Reconfigure Your IP Address Settings

To reconfigure the IP address settings of a device in Windows, follow these steps:

  1. Type "network" into the Windows 10 search bar and select View Network Connections.

    Typing "network" into the Windows 10 search lets you view your network connections
  2. Locate the device you want to configure. Right-click it and select Properties.

    A view of the connections on a particular network in Windows 10
  3. Under the This connection uses the following items window, scroll to the Internet Protocol (TCP/IP) entry and click the Properties button.

  4. Select the radio button next to Use the following IP address and enter the IP address, subnet mask, and default gateway of your choosing (use the information extracted above as a reference).

  5. Select the radio button next to Use the following DNS server addresses and enter the DNS server IP addresses from the information extracted above.

Secure the Router

Establish a strong administrator password on your wireless router. Take advantage of its built-in firewall capabilities as well. Keeping its firmware updated is also an important factor in your overall network's security posture.

If you're still using the vulnerable WEP-based encryption and your router doesn't support the newer Wi-Fi Protected Access 2 standard, then it may be time to buy yourself a new router.