When the fiber optic network card is inserted into the Linux server, there are only three questions from recognizing the card to running stable traffic: whether the driver module is correct, whether the link is up or down, and whether the configuration can survive a restart. Taking Intel mainstream chip cards as an example, this article provides a complete self-examination path.

Check the chip model first and then check the module

Execute lspci -nn to find the network card row and confirm that the model number: 82599 and X550 should be bound to ixgbe, XXV710 corresponds to i40e, and E810 corresponds to ice. Then use ethtool -i device name to see if the driver line matches. It's probably because the kernel is too old and the new module is not loaded. At this time, install the corresponding driver package or upgrade the kernel. Do not force modprobe the wrong module.

Three commands to confirm link and optical port status

  • Use ip link show to see if the interface is in state UP and whether the MAC and slot match.
  • ethtool device name Check Speed, Duplex, and confirm that the optical port negotiates to the nominal speed
  • Use dmesg to filter the link keyword and check whether it is up/down repeatedly. If there are too many flips, it may be a problem with the optical fiber or module rather than the driver.

On PCI-EX8 25G dual optical port fiber optic network card (Intel XXV710 chip)If you still cannot see the interface after modprobe, you can use modinfo -F version to compare the matching relationship between the module version and the kernel.

Boot persistence is handed over to the configuration manager

ip addr add will be invalid after restarting. RHEL uses ifcfg or NetworkManager to connect, Debian/Ubuntu uses netplan, and the physical MAC binding shall prevail. The naming of the optical port network card is related to the slot. Once bond or VLAN is added later, it will be expensive to change the name. It is recommended to fix the naming rules on the day of installation.

After the driver and configuration are finalized, the link can be optimized. EB-LINK can provide a one-page installation quick check of mainstream distributions with the goods. The consultation phone number is 0755-83179002. The supporting module isPCI-EX16 100G single optical port fiber optic network card (Intel E810 chip)The port speed of other models is optional.