Mystery Network Issue: 2 Computers on Same Switch

Abstract: Resolve asymmetric network connectivity where one computer on a shared switch can ping the entire network while another only reaches half by checking subnet masks, IP conflicts, and VLAN settings.

Created: 2026-09-14 by
When one computer on a shared switch can ping the entire network while another only reaches half, the issue typically stems from IP address conflicts, incorrect subnet masks, or VLAN segmentation. The affected machine likely has a misconfigured network stack or is placed in a different logical broadcast domain than its peer.

Verify IP Configuration and Subnet Masks

The most common cause for this asymmetric connectivity is a mismatch in subnet definitions. If Computer A has an IP address of 192.168.1.10 with a subnet mask of 255.255.255.0, it considers all addresses from 192.168.1.1 to 192.168.1.254 as local. However, if Computer B has the same IP but a subnet mask of 255.255.255.128, it only considers addresses up to 192.168.1.127 as local. Any device beyond that range appears "remote," requiring a gateway for communication. If the default gateway is unreachable or misconfigured for that specific interface, pings to the second half of the network will fail. To diagnose this, open a command prompt on the affected computer and run ipconfig /all. Compare the IPv4 Address and Subnet Mask against the working computer. If the masks differ, correct the setting on the problematic machine. In many cases, this is caused by a static IP assignment that was manually entered incorrectly. Switching back to automatic (DHCP) acquisition often resolves the discrepancy immediately, ensuring both devices adhere to the same network topology rules defined by your router.

Check for IP Address Conflicts

Another frequent culprit is an IP conflict. If two devices on the same subnet are assigned the same IP address, network switches and operating systems may experience ARP table instability. This can result in intermittent connectivity where one machine responds correctly while the other drops packets or fails to establish connections to certain hosts. The working computer might be receiving fresh ARP responses, while the conflicted machine is stuck with stale entries. You can detect conflicts by observing network behavior. If you notice random disconnections or slow response times alongside the ping failure, check the system event logs on Windows or /var/log/syslog on Linux for messages indicating duplicate IP detection. Running arp -a can also reveal if multiple MAC addresses are associated with a single IP address, confirming a collision. Resolving this involves identifying the rogue device and reassigning its IP address, either through DHCP reservation or manual correction.

Investigate VLAN or Port Segmentation

If both computers have identical IP configurations and no conflicts exist, the physical switch itself may be isolating traffic. Managed switches often use Virtual LANs (VLANs) to segment network traffic for security or performance reasons. It is possible that the port connected to the problematic computer is assigned to a different VLAN than the working one. In such scenarios, Layer 2 isolation prevents direct communication between the two segments, even though they share the same physical hardware. Check the switch configuration to see if port-based VLAN assignments are active. If the switch is unmanaged, this is less likely unless it is part of a larger routed infrastructure. However, some advanced unmanaged switches offer basic QoS or isolation features that might inadvertently restrict broadcast domains. Additionally, check if Network Access Control (NAC) policies are in place, which might block devices that do not meet specific compliance standards from accessing the full network range.

DNS and Routing Table Issues

While ping uses ICMP rather than DNS, routing table errors can still mimic DNS problems. If the affected computer has a corrupted routing table, it may know how to reach local subnets but fail to route packets to others. This can happen after changing network adapters or switching between Wi-Fi and Ethernet connections. The system might prioritize a non-existent route over the correct local subnet path. Clear the routing cache by running route print and looking for conflicting routes. If you see multiple routes for the same destination with different metrics, remove the incorrect entry using route delete. Furthermore, ensure that the default gateway is correctly set. As noted in similar networking challenges, a missing or unreachable default gateway can severely limit network access. For more insights on gateway issues, refer to our guide on Default Gateway cannot be reached for networked computer.

Firewall and Security Software Interference

Local firewall software on the affected computer might be configured to drop ICMP echo requests from specific IP ranges or subnets. While this usually blocks inbound pings, some advanced firewalls can also restrict outbound traffic based on zone policies. If the computer is classified as being in a "Public" zone rather than "Private" or "Domain," strict filtering rules may apply. Inspect the firewall settings to ensure that network discovery and file sharing are enabled for the current network profile. Disable any third-party security suites temporarily to test if they are causing the restriction. If connectivity returns, adjust the firewall rules to allow ICMP traffic across the required subnets. This step is crucial because modern security tools often default to restrictive modes to protect against unauthorized access.

Frequently Asked Questions

Why does one PC ping everything while another doesn't?

This asymmetry usually indicates a configuration mismatch, such as a different subnet mask or an incorrect default gateway. The working PC operates within the expected broadcast domain, while the failing PC is logically isolated due to its own network settings.

Can a faulty cable cause partial ping failure?

A damaged cable typically causes complete link loss or severe packet corruption leading to timeouts, rather than selective ping failures. However, if the cable supports only one pair of wires due to damage, it might affect speed but rarely isolate specific IP ranges.

How do I reset the network stack on Windows?

Open Command Prompt as Administrator and run netsh winsock reset followed by ipconfig /flushdns. Restart the computer afterward to apply the changes and restore default network adapter states.

Is this problem related to Starlink or ISP issues?

No, this is a local network configuration issue. While external connectivity problems like those discussed in Troubleshooting Starlink Connectivity Issues with a Multi-WAN Router and Blocked DNS affect internet access, they do not cause internal ping discrepancies between two wired devices.

What if the switch is unmanaged?

If the switch is unmanaged, it simply forwards all traffic within the same broadcast domain. Therefore, the issue must lie in the IP configuration, firewall settings, or OS-level routing tables of the individual computers, not the switch hardware itself.

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