Windows 11 often fails to recognize Ethernet connections from non-Windows switches because it expects DHCP. Since the external device cannot assign an IP, you must manually configure a static IPv4 address and subnet mask in the Network Connections settings. This bypasses the missing DHCP server and establishes immediate link-layer connectivity without requiring gateway configuration for local communication.
Understanding the Connection Failure
When a Windows 11 laptop connects directly to a switch or a non-Windows network device, the standard expectation is that a Dynamic Host Configuration Protocol (DHCP) server will automatically provide an IP address, subnet mask, and default gateway. However, many dedicated switches, embedded systems, or simple networking hardware do not run a DHCP service. In these scenarios, Windows detects the physical link but remains stuck in an "Identifying" or "Unidentified Network" state because it cannot complete the IP assignment handshake.
The operating system does not inherently assume that a direct link requires manual intervention unless configured to do so. Without a DHCP response, the network adapter cannot function at Layer 3 of the OSI model, even if Layer 1 (physical) and Layer 2 (data link) are active. This results in the inability to ping the connected device or access shared resources, despite the Ethernet cable being properly seated and the link lights illuminating on both ports.
Configuring a Static IP Address
To resolve this, you need to assign a static IP address that resides within the same logical subnet as the non-Windows device. You must first determine the IP scheme used by the external device. If the other device uses 192.168.1.10, your Windows machine should use a different address in the same range, such as 192.168.1.50.
- Open the Settings application and navigate to Network & internet.
- Select Ethernet from the left-hand menu. Click on the Hardware properties section to view current status details.
- Scroll down to the IP assignment section and click Edit next to "Edit DNS server assignment" or the IP assignment dropdown.
- Change the setting from Automatic (DHCP) to Manual.
- Toggle the IPv4 switch to On. Do not enable IPv6 unless specifically required by the target device.
- Enter an IP address that is unique on the network but in the same subnet as the target device. For example, if the target is
192.168.1.x, enter192.168.1.50. - Set the Subnet prefix length to
24(which corresponds to a subnet mask of255.255.255.0). This is the standard configuration for most local area networks. - Leave the Gateway field blank. A default gateway is only necessary for traffic destined outside the local subnet. Since you are communicating with a local switch or device, no gateway exists or is needed.
- For DNS servers, you can enter
0.0.0.0or leave them blank if you are only performing local pings or file transfers. If name resolution is required, enter the IP of a known DNS server on the network.
After entering these values, click Save. Windows may briefly disconnect and reconnect the network interface. Check the status indicator to see if the network is now recognized. It might still show as "Unidentified Network" if there is no internet access, but the icon should change from a red "X" to a computer monitor, indicating that the IP stack is active and configured.
Verifying Connectivity
Once the static IP is applied, verify that the connection is functional by using the Command Prompt. Open cmd.exe as an administrator or standard user and type ping [Target_IP_Address]. Replace [Target_IP_Address] with the actual IP of the non-Windows device.
If the ping returns replies, the Layer 3 connectivity is established successfully. If the request times out, check the following:
- Cable Integrity: Ensure the Ethernet cable is not damaged. Try swapping the cable or using a different port on the switch.
- Subnet Mismatch: Verify that the subnet prefix length matches exactly between the Windows machine and the target device. A mismatch here prevents routing even if the IPs look similar.
- Firewall Rules: The non-Windows device may be blocking ICMP echo requests. Test with a different protocol, such as a web browser request if the device hosts a web interface, to rule out firewall interference.
If you experience intermittent drops, consider checking for driver updates via Device Manager under Network adapters. Outdated drivers can sometimes mishandle static configurations or fail to maintain link stability with certain switch hardware.
Switching Back to DHCP
When you no longer need the direct connection or wish to return to a standard router-based setup, you must revert the changes. Go back to the IPv4 settings in Network & internet > Ethernet > Properties. Change the IP assignment back to Automatic (DHCP). This allows your primary router to assign a valid IP address again, restoring full internet access and proper network identification.
For more detailed guidance on general LAN troubleshooting, see Troubleshooting LAN Connection Issues on a Brand New Windows 11 Machine. If you encounter issues where ping commands behave unexpectedly due to multiple network interfaces, refer to Windows 'ping IP' Uses Wrong IP Address.
Frequently Asked Questions
Why does Windows still say "Unidentified Network" after setting a static IP?
This status indicates that Windows cannot reach Microsoft's network diagnostic servers, which is expected when you are disconnected from the main internet router. As long as the link light is green and you can ping the local device, the connection is functional for local tasks. The "Unidentified" label is purely informational regarding internet availability, not local connectivity.
Do I need to set a Default Gateway for a direct switch connection?
No, you should leave the Gateway field empty. A gateway is only used to route traffic to destinations outside your local subnet. Since the non-Windows device is on the same local network segment, all communication happens directly without needing a gateway. Setting a gateway incorrectly can actually break local routing.
What should I do if the ping times out after configuring the static IP?
First, verify that the target device is powered on and its own IP address matches the one you are pinging. Second, ensure the subnet mask (prefix length) is identical on both ends. Third, check if the target device has a firewall enabled that blocks ICMP (ping) packets. Try accessing the device via its specific service (e.g., HTTP) to test connectivity beyond ping.
Can I use IPv6 instead of IPv4 for this connection?
While possible, IPv6 is less commonly pre-configured on older or specialized non-Windows switches. Most embedded devices and simple switches rely on IPv4. Unless the documentation for your switch explicitly mentions IPv6 support and addresses, stick to IPv4 manual configuration to avoid unnecessary complexity.
How do I know which IP address to choose for my Windows machine?
You must choose an IP address that is not already in use by another device on that specific switch segment. Look at the IP address assigned to the non-Windows device (e.g., 192.168.1.10) and pick a different number in the same range, such as 192.168.1.50. Avoid choosing addresses that are typically reserved for routers, like .1 or .254, to prevent conflicts.