Unable to Access Local Network: Router and Two PCs Acting as DHCP Servers

Abstract: Resolve local network access failures caused by IP conflicts from multiple DHCP servers by disabling the router's DHCP service or assigning static IPs.

Created: 2026-08-19 by

Local network access failures caused by multiple DHCP servers are resolved by disabling the router’s DHCP service or assigning static IP addresses to the client PCs. This eliminates IP address conflicts and ensures that all devices receive consistent configuration from a single authoritative source, restoring stable connectivity across the LAN.

Understanding the Dual DHCP Conflict

The root cause of this issue lies in the fundamental role of the Dynamic Host Configuration Protocol (DHCP). In a standard home or small office network, there should be exactly one device responsible for handing out IP addresses to connected clients. When both your main router and two separate PCs are acting as DHCP servers, they create a chaotic environment where devices may receive conflicting subnet masks, gateway addresses, or DNS settings. This often results in intermittent connectivity, inability to ping other devices, or complete loss of local network access.

For example, if PC A requests an IP address, it might receive a response from the router with a gateway of 192.168.1.1, while PC B receives a response from another PC with a different gateway or no gateway at all. Devices configured this way cannot communicate effectively because they do not share a common understanding of how to route traffic within the local segment. This scenario is particularly problematic when the rogue DHCP server on the PC is misconfigured or running software that inadvertently enables a DHCP relay or server function.

Identifying the Rogue Servers

To confirm which devices are providing DHCP services, you can use diagnostic tools available in both Windows and Debian-based Linux systems. On Windows, open the Command Prompt and run ipconfig /all. Look for the line labeled "DHCP Server". If it does not list your router’s IP address, another device is interfering. Similarly, on Linux, you can use cat /var/log/syslog | grep DHCP or check the configuration files for services like dnsmasq or isc-dhcp-server.

Another method is to disconnect one PC at a time and observe if network stability returns. If the network stabilizes after disconnecting a specific PC, that machine is likely running an unauthorized DHCP service. It is also worth checking if any network adapters are set to bridge mode or if virtualization software (like VMware or VirtualBox) has created virtual network interfaces that include DHCP capabilities.

Solution One: Disable Router DHCP

In many cases, the router itself is the primary source of confusion if it is set up incorrectly alongside existing infrastructure. However, the prompt suggests the router and PCs are *both* acting as servers, which implies the router is actively handing out IPs. The most robust solution is to ensure only one device handles this task. If you intend for the router to remain the central management point, you must disable its DHCP server function if it is somehow conflicting with a dedicated server elsewhere, but typically, you want the router to handle it for simplicity.

If you decide to let the router be the sole DHCP server, log into its administrative interface via a web browser using its default gateway IP. Navigate to the LAN or Network Settings section. Look for an option labeled "DHCP Server" or "DHCP Service." Change the status from "Enabled" to "Disabled." Save the settings and reboot the router. Afterward, ensure your PCs are set to obtain IP addresses automatically (Dynamic IP).

This approach simplifies the network topology significantly. All devices will receive their IP configuration from the same source, ensuring consistency in subnet masks and default gateways. This is generally the preferred method for home networks unless you have a specific enterprise requirement for a dedicated DHCP appliance.

Solution Two: Assign Static IP Addresses to PCs

If you prefer to keep the router’s DHCP server enabled for other devices (such as smartphones or IoT gadgets) but want to remove the PCs from the pool of potential DHCP providers, you can assign them static IP addresses. This prevents the PCs from needing to request an IP via DHCP, thereby removing the need for them to act as servers if they were doing so due to misconfiguration.

On Windows:

  1. Open Control Panel > Network and Sharing Center.
  2. Click on Change adapter settings.
  3. Right-click your active network adapter and select Properties.
  4. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
  5. Select Use the following IP address and enter a static IP outside the router’s DHCP range (e.g., if the router hands out 192.168.1.100-200, use 192.168.1.50).
  6. Enter the correct Subnet Mask (usually 255.255.255.0) and Default Gateway (your router’s IP).

On Debian-based Linux:

Edit the network configuration file, typically located at /etc/network/interfaces or managed by Netplan in newer versions. Define the interface with a static address, netmask, and gateway. For example, in Netplan, you would edit the YAML file to specify addresses and gateway4. Restart the networking service using systemctl restart networking or netplan apply.

By assigning static IPs, you eliminate the dependency on DHCP for these machines. If the PCs were previously running DHCP server software, they may stop serving IPs once they are statically configured, depending on the software’s behavior. You should also audit the PC for any installed DHCP server applications and uninstall or disable them to prevent future conflicts.

Verifying Network Stability

After implementing either solution, verify the fix by pinging other devices on the network. Use ping 192.168.1.1 to test connectivity to the router and ping [other_PC_IP] to test peer-to-peer communication. Additionally, check that internet access remains functional. If issues persist, flush the DNS cache by running ipconfig /flushdns on Windows or sudo systemd-resolve --flush-caches on Linux.

It is also advisable to review your network diagram to ensure no physical loops exist, which can exacerbate DHCP issues. For more insights on resolving complex loop scenarios, see Resolving a Loop Scenario Network Issue Due to a Physical Short Circuit. Ensuring a clean, single-source DHCP environment is critical for maintaining a reliable local network.

Frequently Asked Questions

Can two routers provide DHCP on the same network?

No, having two routers provide DHCP on the same broadcast domain causes IP conflicts and network instability. You must disable DHCP on the secondary router and connect it via a LAN port to act as a switch or access point instead.

How do I find my router's DHCP range?

Log into your router’s admin page and look for the DHCP Server settings under LAN or Local Network options. The range is usually displayed as a starting and ending IP address, such as 192.168.1.100 to 192.168.1.200.

Why did my PC start acting as a DHCP server?

This often happens due to misconfigured virtualization software, bridged network adapters, or third-party utilities that enable sharing of internet connections. Check your network adapter properties for "Allow other network users to connect through this computer" settings.

Is it safe to disable DHCP on the router?

Disabling DHCP on the router is safe only if you have another DHCP server on the network or if all devices are manually configured with static IPs. Without a DHCP server, new devices will not be able to join the network automatically.

What happens if I don't fix this DHCP conflict?

Devices may receive invalid IP configurations, leading to intermittent connectivity, inability to access shared resources, or complete loss of internet access. It can also cause ARP table corruption and increased network latency.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More