Directly Connecting a NAS to a PC Cuts It Off from the Internet
A direct Ethernet link between a PC and NAS can work with static IP addresses, but it removes DHCP, internet access and access from other devices unless the setup uses a second network connection.
Connecting a NAS directly to a PC with an Ethernet cable bypasses the router, so neither device receives an address from DHCP. Both typically fall back to Automatic Private IP Addressing (APIPA) in the 169.254.x.x range, and those addresses can change after a reboot, sleep cycle or cable reconnection.
The link can be configured manually by assigning static addresses on the same subnet, such as 10.0.0.1 for the PC and 10.0.0.2 for the NAS with a 255.255.255.0 subnet mask. The direct-link adapters should not have a default gateway, and the subnet should be separate from the home network to avoid routing conflicts. A standard Ethernet cable works with modern adapters, including Gigabit, 2.5G, 5G and 10G hardware.
This setup leaves the NAS unable to reach the internet for firmware updates, cloud synchronization and time services, while other home devices can no longer access it. The PC also needs Wi-Fi or a second Ethernet connection to remain online. For most homes, routing NAS traffic through the existing router is simpler, while a direct link is mainly useful as a private connection between two devices.
Once configured, the connection can be tested with ping, and shared folders can be mapped in Windows using the NAS's static IP address. The arrangement works, but it adds configuration and sacrifices network access that a NAS is normally expected to provide.