Thursday, May 21, 2015

networking - Static IP settings wrong? Why?



I have this issue when I try to copy files over my network (from PC to NAS).
The first file seems to copy without a problem until it reaches 99%.
It hangs for minutes and fails eventually.



Let me summarize my equipment:





  • NAS: Brand new Synology RS815 with 4x3TB in RAID10 configuration

  • Transfer medium: CAT6 cabling

  • Switch: Cisco SG500-28P

  • Patch Panel: Tried T568A and T568B termination on the patch panel. No difference there.



I'm building up my network and connected already a few cables to the patch panel.
My PC is connected to the switch without use of the patch panel (RJ45 connector on the cable). The NAS is placed near my PC for testing and is connected to a cat6 wall socket. The other end of the cable is connected to the patch panel where it is patched to the switch.
I can browse the NAS, manage the NAS by web interface

I believe it has something to do with the wiring on the patch panel or with the switch.
When I connect the NAS on another small switch near my pc, I don't have the issue.



EDIT:
I figured out that it has something to do with my static IP configuration.
After putting my NAS and Switch to DHCP, the transfers go without a problem.
I'm confused, because my setup is pretty straight forward. However, I nerver worked with a L2/L3 switch.



My internet provider has a modem with 4 ethernet ports and allows me to go online with 4 devices (wow.. thank you Telenet. 4 devices!! not..).
Their modem is also functional as router but has not many features.

From my modem I go to my own Netgear router (IP of the Netgear in the DMZ of the ISP modem).
From that netgear, I go to the cisco swtich.



How would you config the network?
The Netgear has a DHCP server, the Cisco switch has a DHCP server and also the Synology NAS has a DHCP server.


Answer



I have seen similar issues when the MTU setting is incorrect/mismatched.



Did you enable Jumbo Frames on the NAS? If so try disabling it.




Maybe with a static IP you need to set the MTU manually, but with DHCP it is detecting and setting it automatically.



Also for your Network/DHCP config. Make sure you only have one of the 3 DHCP servers enabled (I would suggest use the one on the Netgear router).


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...