Connecting the Synology via a router and using the Synology Assistant is so easy but what happens when don’ have a router and external DHCP to provide an IP address to your NAS but still, you want to connect it directly with your personal Windows Laptop or PC. What will you do at that moment to access the files resides on your NAS?
So here in this tutorial, we will let you how to directly connect your Windows PC with Synology using Ethernet cable but without a router.
- For this tutorial, we are using the Synology DS218j NAS.
- Look at the back side of Synology NAS you will find an Ethernet LAN port.
- Now use an ethernet cable to connect the NAS with your PC.
- Once connected Switch ON the NAS box.
- Wait until you get a beep that means the NAS system successfully booted up.
- The Game starts now. Actually, as soon as you connect the NAS to your computer it starts looking for an IP address from a DHCP server. But unfortunately neither we have a router nor any external DHCP server. So, we need to create one on our own Windows operating system.
- When you connect the Synology NAS directly to the PC, both NAS and your Windows PC need unique identification or IP address in order to communicate with each other. And if you manually entered an IP address for your own Windows PC network adapter, it got the IP but still the NAS system not. So, we need to download an open source portable DHCP software called DHCP server for Windows. You can download it from this link.
- The open source DHCP server for Windows works for all Windows version such as Windows 10, 7, 8 and Vista. After downloading the DHCP server portable software which is in ZIP format; unzip to extract the files.
- After extracting, go to Start-> Control Panel- Network & Internet-> Network and Sharing from the right side click on the Change Adapter Settings option.
- Now identify the Ethernet Adapter for which you have plugged the Ethernet cable from your Synology NAS box. Like in my case it is Ethernet 3 and might be different in yours.
- Double click on that ethernet adapter after than on the Details button and you will see under the IP address section you are getting the APIPA ( Automatic Private IP Addressing).
- Now get back you to the downloaded and extracted DHCP for Windows software folder and open it. Inside the folder, you will find the three files and folder. Right click on the dhcpwiz.exe file to configure the DHCP server on your Windows system.
- After running, the DHCP configuration file clicks on the NEXT button.
- Select the Ethernet card interface that you used to connect the Synology NAS and click on the NEXT button.
- Check the HTTP Web server box to get the web server protocol compatibility.
- Now you need to give some random IP address pool series to your DHCP from which it assigns an IP to your computer system ethernet card interface and to Synology NAS box. You can give the same I have used 184.108.40.206. Now click on the Next button.
- It’s time to write the configuration file which is INI. For that just click on the Write INI file Button. In case you already using this software then also need to check the box given before the text Overwrite existing file. Once you are done click on the NEXT button.
- Now click on the Configure button to add a firewall exception and then Finish button.
- Now again go the DHCP server software folder you downloaded and unzipped. From there right click on the dhcpsrv.exe file and run it as administrator.
- Once it runs, click on the Start button in order to run the DHCP server on your Windows PC.
- After performing all the above steps. Go to the Network connection, select the above assigned Ethernet adapter, right click and disable it.
- Once it disables, again right click on it and enable it.
- Double click on the Ethernet network adapter and then Details button. This time you find under the IPv4 section, the APIPA has gone and you got the proper IP address from the DHCP pool you assigned above.
- You can see the IPv4 address we got for our PC from our Windows DHCP server is the 220.127.116.11. Now open the web browser and type http://127.0.0.1/dhcpstatus.xml. This should show the configured and be operating connections and also all currently active clients.
- You can see in the screenshot, the devices those assigned an IP address using the DHCP server for Windows software; One of them is for Synology DIsk station and other is for our Windows PC.
- Once you got the assigned IP address for your Synology Nas box, its time to access that. Go to your browser and type the Synology assigned IP address with port number 5000. For example, our IP address is 18.104.22.168 then in the browser we will type 22.214.171.124:5000.
- And finally, you can access your Synology NAS directly via PC without any router.
I hope this tutorial helps you to solve your problem in somehow. In case you have any confusion or have any suggestion the comment box is all yours!!