No networking on physical port for PCIe ethernet

Hello,

I have an HP homelab server running XCP-ng 8.2.1.

I installed a 4-port gigabit ethernet card so that I can have dedicated physical ports for some of my VMs. In the UI I can see networks created for these ports, and can assign them to the VM. In the VM I can see a network interface and configure it. But I can’t ping out and I can’t ping in. I set a static IP on both ends in the same subnet, no go. I have a similar setup wtih the built-in ports that came with the HP server and those work perfectly fine.

When I look at lspci I see the following:

02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5717 Gigabit Ethernet PCIe (rev 20)
02:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5717 Gigabit Ethernet PCIe (rev 20)
06:00.0 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)
06:00.1 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)
06:00.2 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)
06:00.3 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)

The top two are the built-in ports that are working, and the bottom four are from the PCI card.

When I go into XCP-ng Center and click on my server, then click on the network tab, I can see that the Link Status is “Disconnected” even though I have a cable plugged into it, and the other end plugged into another machine.

I am not sure how to further diagnose this. Could it be a driver issue?

Any help is appreciated.

Did you install the network adapter after you installed XCP-NG? If so there is a process to adding another NIC interface.

Also, XCP-NG Center is not well supported an you should be using Xen Orchestra.

Thanks for the reply.

To answer your first question, the card was already inserted when I installed XCP-NG. As for your second statement, I have both XCP-NG Center and Xen Orchestra. I only mentioned xcenter because I know about the network interface tab there. If there is something I can look at in Xen Orchestra to provide more info, I’d be happy to do that.

I’ll look at that doc, though I imagine that since it has a network associated with it and I can create VMs and add it to that interface’s network, the NIC should be added, it just isn’t communicating properly with the hardware for some reason…

In XO it would be under “Home” → “Host” and the network tab of the host.
Braodcom NIC cards work but can be buggy and have low performance, but the Intel 82580 should work fine in XCP-NG. Maybe the network adapter is bad.

This is odd considering the broadcom ports are the built-in ones and are working fine. The Intel one is giving me the problems. I see a steadily blinking green light on the card, and the fact that it is showing up indicates it’s getting power. I ordered a new NIC card and will try it when it gets here. Thanks

It did appear to be the network card. I got a new network card and added it per the instructions you posted, and was able to get it working. Thanks

1 Like