I already have a TrueNAS and several PCs connected to a switch and router using 1GB connections.
I would like to add 10GB cards to one of the PCs and the NAS to enable this one PC to have a high speed link to the NAS. Both the NAS and my PC are Intel boxes with the NAS running TrueNAS Scale 24.04 and the PC running Windows 11.
The first step is to install 10Gb NICs in the PC and NAS.
One solution is to add a 10GB switch to the network and connect the PC and NAS to it and make a 1Gb connection to the existing switch. The NAS should communicate to my PC at 10Gb and to the rest of the devices and the internet at 1GB. This is simple but expensive (for now).
Alternately, I have heard that I could connect my PC and the NAS with a direct cable between the 10Gb ports and also leave them connected to the 1G switch to connect to the other devices and internet.
I’d like to try option 2 if I can find some guidance for the project. Any help would be appreciated.
10G switches are not necessarily expensive. See Mikrotik CRS-305 for a managed switch, or the many reviews of cheap unmanaged 10G+2.5G switches at ServeTheHome.
For option 2, the only requirement is that the direct link uses a different subnet. So if your home network is 192.168.x.x you could use, say, 172.16.0.1 and .2.
My advice for a direct connection (with no DHCP - so fixed IP addresses) is to define a 169.254.. subnet as this subnet is specifically designed to be used for non-routable, non-DHCP addressing (though I would recommend you use fixed IP addresses rather than rely on the (pseudo-)random automatically assigned IP address.
I have a similar situation and have already set up a 10G switch along with 10G network cards in both the server and my desktop. The server is configured with a static IP, and the router has a DHCP reservation for both my desktop and the server. Unfortunately, the DHCP server and the wireless access point (AP) are only 1G connections to the switch. I initially thought that since my desktop, server, and switch all support 10G, I would achieve 10G speeds directly between the server and my desktop. However, I am only getting 1G speeds when transferring data between them. Will I need a 10G DHCP server to resolve this issue?
Your AP have no influence , since you are running on cable (wired).
Your DHCP Server (Router) does not influence the speed between the 10G machines, provided they reside in the same subnet (L2 lan/vlan segment)
1:
Do you have any active 1G Cards in the 10G machines ?
2:
Are the 10G machines on the same subnet ?
What are the ip addresses of the machines 10G interfaces.
Sigh …
1:
We are NOT talking about multiple interfaces on the same subnet.
We are talking about performance.
2:
What would happen if they weren’t on the same subnet (L2 lan/vlan segment) ?
Note the OP stated above that his router was 1Gb.
Do you think that would ressemble the OP’s situation (Hint … Yes)
3:
I used the term “subnet” because the OP did’t seem to be that much in to IP networking , but i specifically added (L2 lan/vlan segment) as a qualifier.
4:
Could you please explain why the IP Stack would ARP for an ip address, that is not on the same subnet ?
ARP might “be lucky to get an answer” if the router was running proxy arp, but that was discouraged many years ago.
Both machines are connected through their 10G ports, each equipped with Intel 10G dual-port cards. However, when I change the MTU to 9000, the connection drops, and the network interface card (NIC) loses connectivity. To restore the connection, I have to log in directly and reset the networking settings.
I can confirm that both cards are on the same subnet and /16 subnet mask.
My windows PC reports the connection as 10G and the card shows in lspci on the server but I just can’t get a 10G connection.
Yes, it’s running on bare metal.
I have no virtualization running; it is a basic setup currently with one share.
I don’t have any VLANs setup it’s just my home network with a basic Asus router nothing fancy going on
An hub with 2sfp 10gb 4 2.5gb costs 35eur on aliexpress. Just remeber to add at least 2 transceiver r45 at 24eur each, so the tranceivers costs more than switch