![](https://seccdn.libravatar.org/avatar/ae9e1c52f7693f8923e040894660e5e9.jpg?s=120&d=mm&r=g)
On Tue, 2005-10-04 at 21:08 -0400, James Knott wrote:
Mike McMullin wrote:
I have a windows box located on a subnet. My main internal network is on an SMC Barricade (smc7008abr) using 192.168.2.100/24 and the subnet in on a D-Link 604 using 192.168.0.100/24.
I have Samba shares set for the systems on the 192.168.2.* net which includes the dl-604 (192.168.2.103 IIRC)for the subnet.
I have verified that the samba shares are valid and proper user and samba accounts were created on the server. I cannot however see the samba share on the one desktop unit on the subnet. I set up the subnet as a laptop is often used in the same room, and there is a gaming station capable of using the internet (though this isn't set up yet).
There is no firewall on the windows desktop unit, and I haven't tested out the laptop as of yet.
Has anyone run across sharing Samba over subnets?
Yes, I have. You have to configure the "interfaces" parameter in smb.conf, so that broadcasts will use the appropriate interfaces. For example, when I used it with my VPN, I used the command: interfaces = 192.168.1.0/24 tun0
what does the "tun0" signify? I didn't see it in the man page, nor in Olaf Borkner-Delcarlo's Samba Book.
or interfaces = 192.168.1.0/24 10.1.0.2/32
Which is preferable?
man smb.conf for details.
Mike