You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Rocky Linux系统无法识别未激活的10gig端口问题求助

Rocky Linux系统无法识别未激活的10gig端口问题求助

Hey there, let's troubleshoot this 10G port detection issue together step by step. The key thing to note here is that nmcli connection show only displays configured network connections, not unconfigured or downed hardware ports. So we need to start by verifying if the system can even see the 10G hardware first.

Here are some actionable steps to try:

  • Check if the 10G hardware is detected by the system
    Run lspci | grep -i ethernet to list all Ethernet controllers. Look for entries mentioning "10-Gigabit" or specific 10G NIC models (like Intel X520, Mellanox ConnectX, etc.). If you don't see a 10G entry here, the problem might be physical: double-check the NIC is seated properly, the 10G switch port is powered/enabled, or verify the BIOS hasn't disabled the 10G slot.

  • List all network interfaces (including unconfigured ones)
    Use ip link show — this command will display every network interface the kernel recognizes, even if there's no active connection profile for it. Look for interfaces with names like enpXsYfZ (common for multi-port NICs) that aren't your existing 1G ports. This will give you the actual interface name you need for nmcli.

  • Verify the 10G NIC driver is loaded
    If you saw the 10G NIC in lspci but not in ip link, run lspci -k | grep -A 3 -i ethernet to check if a kernel driver is attached to the device. Look for the line Kernel driver in use: [driver-name]. If no driver is listed, try loading it manually with modprobe [driver-name] (common 10G drivers: ixgbe for Intel, mlx5_core for Mellanox). After loading, re-run ip link show to see if the interface appears.

  • Create a connection profile for the 10G port
    Once you have the interface name from ip link show, create a new connection with nmcli con add type ethernet con-name "10G-Port" ifname [interface-name]. You can then activate it with nmcli con up "10G-Port". If you prefer a more intuitive tool, run nmtui — it's a text-based interface that simplifies creating and editing network connections.

  • Check system logs for NIC initialization errors
    Run dmesg | grep -i eth or journalctl -u NetworkManager | grep -i error to look for any error messages related to the 10G NIC failing to initialize. This can give clues about driver conflicts or underlying hardware issues.

Let me know what you find from these steps, and we can dig deeper if needed!

备注:内容来源于stack exchange,提问作者skyrin

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 12:37:58