I’ve switched over to some new hardware (moved my drives and gpu over) but the on board NIC didn’t work. Long story short, I’ve been using a USB dongle to get by and bought an Intel X550T2 and just now installed it.
On my router I had the previous NIC MAC address set to a static IP, and had the NIC itself on TrueNAS set to DHCP. I can just switch it over to the new NIC, but i was wondering if it was better to configure the card to have the static and set IP (i have a limited pool for DHCP so there is a range of IP’s i can assign to it) given it has two ports (im not sure yet how id’ even utilize that 2nd port yet) or if i should just switch the DHCP over to one of its ports and call it a day?
(im not totally sure how id configure the card though TrueNAS for static IP’s anyway).
Pretty standard concept. I generally like to make everything permanent static although it is convenient to set everything to Mac-based dhcp and let it ride. I’ve done both and as long as you’re managing dns internally it doesn’t seem to matter much. You can set the static ip through the text console I think but it’s definitely in the gui also.
Sorry I’m not much help but this is one of those preferential things, especially if whatever is supplying dhcp is solid and always online.
I’ve checked the setup via console. Seems like it has a 60-sec window to save the changes (GUI works the same way). Did you save them after “applying”?
If you did, maybe you should also try to examine DHCP leases on your router.
It does, and i did apply. It also had another wait to Persist the changes, which i also did.
The last DHCP lease i had was for the USB dongle, (which has a different MAC) so that wasn’t affecting it, but i did release that lease. Still not picking up an IP.
Even tried clearing the static mapping in the router, and manually setting the IP in the console. Still no go.
! My X520-DA2, for one, has very unusual enumeration of ports[1]. And it gave me a hard time once…
The 0 port being on the right and 1 is on the left. I thought this was expectable, as if you place it vertically, 0 would be at the top. But then a seasoned sysadmin said that he also never saw this enumeration. ↩︎
This is your next step - you need to prove that the card/cable is working correctly
Boot live CD /USB and see if the port gets an IP address if not change port
If neither get an IP address you need to provide the system specs including motherboard (make model and version) what slots the cards are in and any BIOS setting / version plus CPU model
I’ve had issues with AMD xxxxG CPUs that the motherboard/cpu combo doesn’t have enough PCIe lanes for a slot to work - it gets power so lights up on network but nothing else
Open a terminal in the live CD and do a lspci -vvv > pci.txt and copy that file to somewhere you can access (another usb drive?) and post that here along with info above
Booted it into Mint. It sees both ports (yes, the right port is port 0), knows one of them is plugged in, and its trying to connect, but its not able to grab an IP from my router so it cant establish a connection to the network.
Specs: Motherboard: MSI Pro B550M-VC Wifi (MS-7C95) CPU : AMD Ryzen 9 3950x RAM : x2 Crucial Pro RAM 64 GB Kit (2x32GB) DDR4 3200MHz (CP2K32G4DFRA32A) 128GB total Boot drive : Crucial P310 500GB NVMe Storage Drives : x2 SEAGATE IRONWOLF PRO 16TB NAS HDD PSU : Corsair RM850x Ethernet Card : Intel X550-T2
PCIe Slot 1 = GPU
PCIe Slot 4 = Intel X550T2
BIOS PCIe settings:
Re-Size BAR Support - Enabled
PCI_E1 Gen Switch - Auto
Chipset Gen Switch - Auto
PCI_E1 Lanes Configuration - Auto
SR-IOV Support - Disabled
Data Link Feature Exchange - Disabled
ASPM Control for CPU PCIe - Disabled
I did try this in a PCIe 3.0 x1 slot (physically a x4 slot, but only wired for x1), but with the two port card variant. What I found is that the ports would never negotiate above 1GB/s, even if set manually to 2.5GB/s (tried both on the server and at the switch). This probably makes sense based on the max bandwidth (1 GB/s mentioned above).
which points to a possible reason you’re having issues
Whilst all of this should work, you’re pushing what has been tested / expected
Can you try swapping the graphics card and the network card? The Graphics card should work in the x16 phy but x1 elec slot and the NIC will get all the lanes it needs in the X16 phy / x16 elec slot
The B550 chipset is the issue - if you can get a cheap used x570 or x470 that would have the lanes