I'm having a real struggle with samba and specifying which network interface I want it to work with. My OMV3 system has two: eth0 (single) and bond0 (two port card, both ports bonded). I want the samba traffic to go over the bond0 interface, leaving eth0 for admin access and low-traffic uses.
I've put the following lines in the samba config and I can see that OMV copies them faithfully into the [global] section of smb.conf:
interfaces = lo, bond0
bind interfaces only = Yes
... but when I watch the interface traffic with iftop, it's clear that the bulk of the traffic is going out over eth0. My windows PC is showing up with connections active on both interfaces, but when I play a movie from the NAS, the traffic on eth0 is in the megabits/sec while my client PC's connection to bond0 is doing almost nothing - 2~3k/sec.
I've tried manually restarting smbd & nmbd but that didn't resolve the issue.
Anyone have any ideas?