Select the fastest eth interface available


Recommended Posts

Good morning, everyone,

 

I have a problem with my UNRAID server and I will need your knowledge! 🙂

 

Briefly, my server is in a case, with two ethernet ports :
- one on the motherboard connected to a 100 Mbps router (eth0 in UNRAID)
- and one on an external pci card connected to my computer at 1 Gbps (eth1 in UNRAID).

 

The connection to the router allows me to access the NAS on the local network, but is limited to 100 Mbps, while the direct connection (which I use 90% of the time) at 1 Gbps should serve me in my daily life.

I tried different settings (bonding), but I can't configure it properly.

 

Do you know how I can tell UNRAID :
- if the computer is directly connected, to use that connection (eth1, 1Gbps)...
- otherwise use the slower network connection (Wifi, 100Mbps) ?

 

From what I see, eth0 is on ip 192.168.0.25, which is what the Finder (macOS Catalina) sees, but I don't know how to forward my packets through eth1 when it's available...

 

Thanks to you !

 

K.

 

Edited by Keichi
Link to comment

Hello Benson,

 

That is what i ended to do, with Automatic configuration :

(I try to put it on 192.168.1.1 / 24 and 192.168.1.2 for the gateway but not working, mystery as the ips seem free)

485516056_Capturedecran2020-03-15a14_12_26.thumb.png.c63544975ff33191408f3faab24cadaa.png

335939293_Capturedecran2020-03-15a14_12_35.thumb.png.91cf65f257d3b857534eb46a6d389e24.png

2086751006_Capturedecran2020-03-15a14_12_47.thumb.png.48913c25b56dcfc865f72e48e8c1c28e.png

 

And i add a local domain in /etc/hosts to avoid the crappy "192.168.2.4" in the Finder of macOS :

1157341199_Capturedecran2020-03-15a14_15_40.png.b7fac40f61ad6375f576f39c5f36ff97.png

 

As it is not in the same subnet, i create an auto-mount on startup because i can't see it in "Network" tab. Don't know if there is a simple way to do that....

 

Thank you very much !

 

K.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.