Press "Enter" to skip to content

No network connection when connecting to server directly to router, connections over switch work

        this is my first question in this forum. Normally all my question getting answered here, but with my newly installed home server im a little bit stuck.

Situation/Build

First of all i build a small home server for storage proposes. It runs on Linux. Ubuntu 20.04.3 with Kernel 5.13 (HWE) enabled to be more specific. I used a MSI MPG B460I Gaming Edge WIFI. I will call it NAS to keep it simple. Normally, Ubuntu 20.04.3 comes with Kernel 5.4 but after booting up i recognised my ethernet interface card an RTL8125 is not listed when using
ip -a
After googling around, i found out, that kernel 5.4 does not support RTL8125 so i upgraded it to 5.13 and after a reboot it appeared and i configured it with a static ip address. So far so good. To install it, i connected it to a 5-Port D-Link Switch which is located on my desk. This Switch is connected to my FritzBox 7360 which i use as a central access point for my local network at home. Everything works perfectly.

Problem

After building, installing and setting everthing up i wanted to change the location of my NAS and connect it directly to my FritzBox. After booting i recognized, that leds on the ethernet port are turned off and no network connecting could be established. So i brought it back on my desk and connected it to my swtich and it worked perfectly fine.

Approaches

  • connect my NAS with another port on my switch, ethernet port remains turned off
  • tested both ports on my FritzBox wih my notebooks (Windows 10, Arch-Linux) which are working perfectly fine
  • tried multiple operating systems with different kernels (Debian 11 - 5.11, Opensuse Leap 15.3 - 5.3, Ubuntu 20.04.3 - 5.13 (HWE))
  • switching between dhcp or static ip on my NAS
  • connected my laptop and my NAS directly which also leads to an active ethernet port
  • I can use any port on my 5-Port for connecting my NAS and it can connct to my home network
For all tests I used the same network cable, because multiple connections with different devices are working fine with the same cable.

Idea

My Fritzbox uses a 100Mbit connection and my NAS can use up too 2.5 Gbit. But this should not be the problem at all, because Eternet Standards are backward compatible? Does anyone of you have experienced a similar problem?

tldr;

  • NAS connects to local network:
    • ROUTER -> SWITCH -> NAS
  • NAS does not connect to local network (ethernet ports leds remain turned off):
    • ROUTER -> NAS

Be First to Comment

Leave a Reply