Copy to and from smb share network traffic happens over different NICs. Why?

otpi

Contributor
Joined
Feb 23, 2017
Messages
117
Another network question:

Just redid wires so I now have a 2.5 G connection to this switch.

I have two physical connections from this switch to Truenas scale. One 1G rj45 and one 10G sfp+. The 1G IP is .11 (eno1), and the sfp+ is member of bridge 'br0'. br0 IP is .13.
  • If I copy to/from my 'smbshare (.11)' I get the expected 109-113 MB/s. Traffic moves through eno1.
  • If I copy files to 'smbshare (.13) I get the expected 284 MB/s. Traffic happens over br0 (i.e. 2.5G -> sfp+).
  • BUT! If I copy from 'smbshare (.13)' I get 109-113 MB/s. Traffic moves through eno1?
Is this expected behavior? Why?

br0 has DHCP enabled, since I usually reserve IPs using pfSense. I tried to add br0 alias 10.0.0.13/24, but it complains that "The network 10.0.0.0/24 is already in use by another interface."
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
You cannot have two NICs in the same network. IP does not work that way.
 

otpi

Contributor
Joined
Feb 23, 2017
Messages
117
Oh... I'm not sure I understand. Please elaborate?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I don't know what's to elaborate. You cannot have two interfaces with addresses from the same network in the same network. That will lead to unpredictable "odd" behaviour. Your setup is not standard compliant and will never work the way you expect it to. Use the 10G only.
 
Top