Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

2nd NIC recognized: how to use it instead of 1st NIC?

Featured Replies

Hello,

 

I installed a second NIC in my server, it's an Aquantia 10 Gbe NIC. I'm using the latest RC (with Aquantia drivers) and the interface is recognized as eth1 10Gbe. I'm also using a 10 Gbe switch and another 10 Gbe NIC in my workstation. Eth0 and eth1 are configured with static IP with the following IP: 192.168.1.140 and 192.168.1.141 (same submask).

 

I want to use it as the main NIC. What I tried so far:

- Switch eth1 with eth0 in Network settings

- Disable onboard NIC (1st NIC) in the BIOS

- Assign a higher metric to eth0 in Network settings

- Reboot rooter several times while doing the above actions

 

None of the above actions worked. It resulted in the impossibility to reach the server over network. Otherwise I could reach the server but with 1 Gbe speeds (writes to cach disk at 110-115 Mo/s).

 

Any suggestion?

 

Thanks.

Did you verify your the nic you want to use is compatible with unRaid? 

Edited by 1812

  • Author
26 minutes ago, 1812 said:

It should be compatible because drivers were added to the rc7 and because it is properly recognized in unRAID. I said in the post you mention that the NIC was working alas I was actually using the 1st NIC (onboard NIC) without noticing. Hence my question: how to enable the 2nd NIC for every usage?

  • Community Expert
5 minutes ago, stomp said:

how to enable the 2nd NIC for every usage?

 

Settings -> Network Settings -> Interface Rules

 

Set the 10GbE NIC as eth0, reboot

16 minutes ago, stomp said:

It should be compatible because drivers were added to the rc7 and because it is properly recognized in unRAID. I said in the post you mention that the NIC was working alas I was actually using the 1st NIC (onboard NIC) without noticing. Hence my question: how to enable the 2nd NIC for every usage?

 

You didn't say you were on rc7.

 

 

  • Author
35 minutes ago, johnnie.black said:

 

Settings -> Network Settings -> Interface Rules

 

Set the 10GbE NIC as eth0, reboot

I did but it didn't work. I'll try again.

  • Community Expert
1 minute ago, stomp said:

I did but it didn't work. I'll try again.

 

That's all you need to do, then use DHCP or static IP, you can use the boot GUI mode if you lose access and need to reconfigure the network.

4 minutes ago, stomp said:

I did but it didn't work. I'll try again.

 

When you swap interfaces and use DHCP, your server will get a different IP address.

  • Author

Doesn't work. I can get an IP, everything seems fine on the router side and on the switch side but I can't reach the server...

IMG_0001.PNG

IMG_0002.PNG

IMG_0003.PNG

IMG_0004.PNG

IMG_0005.PNG

Edited by stomp

  • 3 weeks later...
  • Community Expert

10GbE NIC is set as eth1.

 

On 14/09/2017 at 11:58 AM, johnnie.black said:

Set the 10GbE NIC as eth0, reboot

 

2 problem

 

1) Both NIC can't be same subnet

2) Even rule 1 apply, triangle path would also occur, I believe you have 2 switch ( 1G and 10G ) and both connect each other by a wire.

 

The solution was (a) use the 10G NIC only, (b) set 2 subnet and remove the wire between 2 switch, (c) set 2 subnet and one subnet apply VLAN ...... etc

Edited by Benson

  • Author

Thanks for your feedbacks.

 

@johnnie.blackI produced the previous log file with eth0 as on board NIC (it was just to showcase the problem from a log perspective). Here is the log file with eth0 as the 10GbE NIC. Switching NICs between eth0 and eth1 never worked though.

 

@BensonI'm using only one switch (Asus XG-U2008). My PC is connected to the switch using 10GbE port 1. My unRAID build is connected to the switch using 10GbE port 2. I disconnected the cable between the on board NIC and the switch (both 1GbE ports). I tried the following:

a) setting eth0 as 10GbE NIC and disabling eth1

b) setting eth0 as 10GbE NIC and changing subnet mask of eth1 to 255.255.254.0

c) setting eth0 as 10GbE NIC, changing subnet mask of eth1 to 255.255.254.0 and removing eth1 entry from the routing table

 

Nothing worked. You'll find the log file after a).

 

I don't intend to use both NICs at the same time, I'm fine using only the 10GbE NIC. But that doesn't work yet.

tower-diagnostics-20171003-2120.zip

Edited by stomp

Are you access IP 192.168.1.140 instead of 151 ?

 

From log, it seems the 10G NIC working and have packet in/out, but RX packet just 4 bytes only. Does this grow with time ?

 

Would you try attach the 10G port to previous switch, the aim was verify 10G NIC and setup work or not without new ASUS switch.

 

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.140  netmask 255.255.255.0  broadcast 0.0.0.0
        inet6 fe80::8ad7:f6ff:fea8:9191  prefixlen 64  scopeid 0x20<link>
        ether 88:d7:f6:a8:91:91  txqueuelen 1000  (Ethernet)
        RX packets 4  bytes 144 (144.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 193  bytes 13350 (13.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Edited by Benson

  • Author
7 hours ago, Benson said:

Are you access IP 192.168.1.140 instead of 151 ?

 

From log, it seems the 10G NIC working and have packet in/out, but RX packet just 4 bytes only. Does this grow with time ?

 

Would you try attach the 10G port to previous switch, the aim was verify 10G NIC and setup work or not without new ASUS switch.

 

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.140  netmask 255.255.255.0  broadcast 0.0.0.0
        inet6 fe80::8ad7:f6ff:fea8:9191  prefixlen 64  scopeid 0x20<link>
        ether 88:d7:f6:a8:91:91  txqueuelen 1000  (Ethernet)
        RX packets 4  bytes 144 (144.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 193  bytes 13350 (13.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I tried both 192.168.1.140 and 192.168.1.151 with no luck.

 

I’ll try the old switch as well as one 1GbE port on the new switch.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.