Rashiga Posted December 15, 2022 Share Posted December 15, 2022 Hello all, I'm setting up my first unraid server and I also wanted get experience with 10G data transfer for the first time. I've got a used a pc for my unraid server and got two used 10G Ethernet adapters. My current setup is illustrated on the image below. The problem is when I try to transfer data from my PC to the unraid server it goes through the wifi router which slows down the file transfer. Is there a possibility by-passing the router for data transfer between the pc and the unraid server with unraid server still connected to the wifi router. So I can access the files via internet? Is my only option is to get a 10G router to make this possible? Any help on this issue is highly appreciated. Cheers, Rashiga Quote Link to comment
MAM59 Posted December 15, 2022 Share Posted December 15, 2022 (edited) your setup is wrong (aka: it does not work, but you have already noticed this 😁) What you have to do to get this working: * kill the connection between PC and Wifi Router (the PC is only connected to UNRAID) * on UNRAID create a Bridge containing both connections (eth0 + eth1 I guess) The PC will then only talk to UNRAID and packets meant for other destinations will be forwarded to the Router by UNRAID So you get the fast file access and internet still works. (Drawback: if UNRAID is not running, the PC hangs in thin air, not able to get to the internet) (in the long run you will need a 10G router, this simplyfies the setup and eliminates the drawback) (make sure you have proper cables for the 10G line. "normal" patch cables will result in strange line dropouts, hangs, slowdowns. You did not tell if your cards have SFP+ cages or are fixed with RJ45, so I assume the last, else get fiber and be happy, anything else can give problems) Edited December 15, 2022 by MAM59 Quote Link to comment
JorgeB Posted December 15, 2022 Share Posted December 15, 2022 1 hour ago, Rashiga said: Is there a possibility by-passing the router for data transfer between the pc and the unraid server with unraid server still connected to the wifi router. You can also add the server name to your hosts file, then every time you access the server by name or 10GbE IP it will use that connection, jusr make sure the 10GbE IP addresses are on a different subnet. Quote Link to comment
Rashiga Posted December 17, 2022 Author Share Posted December 17, 2022 @MAM59 thank you for your reply. I will try to learn how to do this and try will out. Yep you are right! To reduce the costs I went with a rj45 10G adapter. I will give this try and switch to spf later. Thank you for the suggestion. @JorgeB thank you for your suggestion as well. I will try it out and let you know how it goes. Quote Link to comment
Rashiga Posted December 18, 2022 Author Share Posted December 18, 2022 Hello @MAM59, I tried your method and it worked. The desktop was able to connect to the internet through the unraid server. However the connection was in 1gig. @JorgeB, when I try to connect only using 10 gig ip I cannot connect to the unraid server. But it only connects via the router. I think I'm doing something wrong here. Quote Link to comment
MAM59 Posted December 18, 2022 Share Posted December 18, 2022 (edited) 5 minutes ago, Rashiga said: he desktop was able to connect to the internet through the unraid server. However the connection was in 1gig. sure, it will never be higher because your router has only 1gig. The thing is that you are accessing UNRAID (and ONLY UNRAID) with full 10gigs. (if your connection PC<>UNRAID is only 1gig, you surely have a "quality of cable" problem. Get something real and retry. The link speed must be 10gigs of course) 5 minutes ago, Rashiga said: But it only connects via the router. I think I'm doing something wrong here. yeah, that method is not not safest one... its a leftover from the 90s and should not be used today anymore. (and with the advent of IPV6 it is totally outdated and useless) Edited December 18, 2022 by MAM59 Quote Link to comment
KingfisherUK Posted December 18, 2022 Share Posted December 18, 2022 This video from @SpaceInvaderOne explains the way to set it up quite simply: Quote Link to comment
JorgeB Posted December 18, 2022 Share Posted December 18, 2022 4 hours ago, Rashiga said: when I try to connect only using 10 gig ip I cannot connect to the unraid server. But it only connects via the router. Are you using different subnets like mentioned? See the video above. Quote Link to comment
Rashiga Posted December 20, 2022 Author Share Posted December 20, 2022 @KingfisherUK thank you for this video! I followed the steps and it worked! @JorgeB thank you, for the suggestion However, when I mapped my drive using the IP address of the 10 gig card, the data get by passed the cache drive. When I searched about it, it was mentioned to change global share settings. But I cannot see any option for cache drive in the global settings. Quote Link to comment
JorgeB Posted December 20, 2022 Share Posted December 20, 2022 39 minutes ago, Rashiga said: However, when I mapped my drive using the IP address of the 10 gig card, the data get by passed the cache drive. When I searched about it Don't understand what you mean, that is controlled by the share settings, nothing to do with the NIC or IP used. Quote Link to comment
Rashiga Posted December 20, 2022 Author Share Posted December 20, 2022 @JorgeB I have set the cache drive for my shared folder in share settings. But when I copy files it straight away get copied to the hdd not the cache (ssd). Previously (before I followed the steps to configure 10 gig card according to the above video) it worked properly. Quote Link to comment
MAM59 Posted December 20, 2022 Share Posted December 20, 2022 only NEW files go to cache. If you want to repeat the same one, delete the copy on the array before (usually this is done automatically, but if you are one of the fast & nervous guys, it may have not happened already, so do it manually to be sure). Quote Link to comment
Rashiga Posted December 22, 2022 Author Share Posted December 22, 2022 On 12/20/2022 at 11:01 AM, MAM59 said: only NEW files go to cache. If you want to repeat the same one, delete the copy on the array before (usually this is done automatically, but if you are one of the fast & nervous guys, it may have not happened already, so do it manually to be sure). You are absolutely right! Thank you all for your help on this! Cheers and Happy holidays! Quote Link to comment
PaulaDavis Posted July 9, 2023 Share Posted July 9, 2023 For anyone searching for this article My router has two 2.5G ports My computer has a 2.5 network port I avoided buying a switch by doing this and managed to get my computer to connect to a nas at 2.5g and access the internet. Interface ethO Interface description: MAC address: Enable bonding: E4:3A:0:39 No Enable bridging: Yes Bridging members of brO: ethO, eth1 Network protocol: IPv4 only IPv4 address assignment: Automatic IPv4 address: 192.168.31.92 IPv4 default gateway: 192.168.31.1 IPv4 DNS server assignment: Automatic IPv4 DNS server: 192.168.31.1 Desired MTU: 1500 Enable VLANs: No Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.