[Samba] Samba with 2 NICs

Chris Smith smb_77 at chrissmith.org
Sat Sep 20 16:28:40 GMT 2008


On Saturday 20 September 2008 11:35:42 am hamacker wrote:
> # ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:0c:76:97:04:f3
>           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0

eth0 should not have an address - it should belong only to bond0.
eth0 and eth1 are both slaves to the master bond0.

> # The primary network interface
> auto eth0
> iface eth0 inet static

Should probably more like:
iface bond0 inet static

> my smb.conf :
> [global]
>         unix charset = UTF8
>         workgroup = VIDY2005
>         server string = %h server (Samba %v)
>         interfaces = eth0, eth1

Should be:
interfaces = bond0, lo
bind interfaces only = Yes




More information about the samba mailing list