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


stomp

Recommended Posts

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.

Link to comment
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?

Link to comment
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.

 

 

Link to comment
  • 3 weeks later...

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
Link to comment

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
Link to comment

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
Link to comment
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.

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.