Windows 11 Pro PC Connects to Local Private Network but No Internet Connection

Abstract: Resolve Windows 11 Pro internet loss by resetting the network stack and fixing DHCP IP mismatches.

Created: 2026-09-10 by
A Windows 11 Pro PC that connects to the local network but lacks internet access typically suffers from an incorrect IP configuration, specifically a DHCP-assigned address outside the router’s valid range. This mismatch prevents traffic from reaching the default gateway, isolating the device from external networks while keeping local LAN communication intact.

Understanding the DHCP Address Mismatch

The most common cause for this specific symptom is that the Dynamic Host Configuration Protocol (DHCP) server on your router has assigned an IPv4 address that does not align with the subnet mask or gateway settings required for internet routing. In many cases, the computer receives an APIPA address (Automatic Private IP Addressing), which falls within the 169.254.x.x range. These addresses are self-assigned when a DHCP request fails or times out, meaning the device cannot communicate with any router beyond the immediate physical link. Even if the address looks like a standard private IP (such as 192.168.1.x), it might be outside the pool of active leases defined by your router’s firmware, leading to a situation where you can ping other local devices but not the gateway itself. To verify if this is the root cause, you must inspect the current network adapter status. Open the Command Prompt and run ipconfig /all. Look for the IPv4 Address line under your active Ethernet or Wi-Fi adapter. If the address begins with 169.254, the DHCP client failed entirely. If it starts with 10., 172.16-172.31., or 192.168., check the Default Gateway field. If the Default Gateway is blank or shows an address different from your router’s actual IP (often 192.168.1.1 or 192.168.0.1), your routing table is broken. This scenario often requires manual intervention to reset the lease or correct static settings. For broader context on general connectivity failures, you may find Troubleshooting LAN Connection Issues on a Brand New Windows 11 Machine helpful, as it covers similar baseline diagnostics.

Resetting the Network Stack via Command Line

Before altering hardware settings, the most effective software fix is to clear the corrupted network state in Windows 11. This process forces the operating system to drop existing connections, flush DNS caches, and request fresh configurations from the DHCP server. Start by opening the Start menu, typing cmd, right-clicking Command Prompt, and selecting Run as administrator. Execute the following commands in order, pressing Enter after each one:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
The netsh winsock reset command repairs the Windows Socket (Winsock) catalog, which handles network protocol bindings. The netsh int ip reset command resets TCP/IP settings to their default state. Following these resets, ipconfig /release tells the adapter to give up its current IP address, and ipconfig /renew initiates a new handshake with the router. Finally, ipconfig /flushdns clears stale DNS records that might be directing traffic to invalid servers. After running these commands, restart your computer. Upon reboot, Windows will attempt to obtain a new IP address automatically. Check if internet access is restored by pinging 8.8.8.8 (Google’s public DNS). If the ping succeeds but web browsing still fails, the issue may lie with DNS resolution rather than connectivity.

Configuring Static IP Settings Manually

If automatic DHCP renewal fails repeatedly, forcing a static IP configuration can bypass the router’s faulty assignment logic. This method ensures your PC uses a known-good address that matches your network’s subnet. First, determine your router’s IP address and subnet mask. You can find this by looking at the label on your router or by checking the Default Gateway value from the ipconfig /all output mentioned earlier. Navigate to Settings > Network & internet > Ethernet (or Wi-Fi). Click on Hardware properties or IP assignment. Change the setting from Automatic (DHCP) to Manual. Toggle IPv4 to On. Fill in the fields as follows:
  • IP address: Choose an address outside the router’s DHCP pool to avoid conflicts. If your router is 192.168.1.1, use 192.168.1.50.
  • Subnet mask: Typically 255.255.255.0 for home networks.
  • Gateway: Your router’s IP address (e.g., 192.168.1.1).
  • DNS Server: Use 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare) for reliability.
Click Save. This manual entry bypasses the DHCP negotiation phase entirely. If internet access returns immediately, the problem was indeed a DHCP scope exhaustion or misconfiguration on the router side. Note that if you move this PC to a different network (like a coffee shop), you must switch back to Automatic (DHCP) to ensure compatibility. For users experiencing intermittent drops alongside this issue, reviewing driver stability is crucial, as seen in Windows 11 (ASUS B550M-WIFi) Realtek NIC disconnects.

Frequently Asked Questions

Why can I ping local IPs but not websites?

This indicates that Layer 2 (data link) and Layer 3 (network) connectivity to the local subnet is working, but the default gateway route is missing or blocked. Your computer knows how to talk to neighbors but doesn’t know how to send data to the internet. Verify that the Default Gateway in ipconfig /all matches your router’s actual IP address.

What if my IP address is 169.254.x.x?

An address starting with 169.254 is an APIPA address, meaning the DHCP client timed out waiting for a response from the router. This usually happens due to a disabled DHCP service on the router, a faulty network cable, or a temporary router glitch. Restarting both the modem/router and the PC often resolves this by forcing a fresh DHCP discovery.

How do I check if my firewall is blocking internet?

While firewalls rarely block LAN traffic while allowing internet, they can sometimes corrupt routing tables. Temporarily disable third-party antivirus firewalls or Windows Defender Firewall to test connectivity. If internet returns, create an inbound/outbound rule exception for your browser or networking services in the firewall settings before re-enabling protection.

Should I update my network drivers?

Yes, outdated NIC drivers can cause DHCP renegotiation failures. Visit your motherboard or laptop manufacturer’s website and download the latest LAN/Wi-Fi drivers for Windows 11. Avoid using generic drivers from Windows Update if they are older than the vendor-specific versions, as they may lack proper power management features that keep the connection alive.

Can a bad subnet mask cause this issue?

Absolutely. If your subnet mask is set incorrectly (e.g., 255.255.0.0 instead of 255.255.255.0), Windows may calculate that the gateway is on a different network segment. This causes it to send internet-bound traffic to the local broadcast instead of the router. Always ensure your subnet mask matches the majority of devices on your network, which is almost always 255.255.255.0 for home environments.

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