I have the same setup. 2 NIC's, one gets its IP from a DHCP server
(connected using ADSL), the other is static (Internal LAN). You might want
to check the following settings in your smb.conf file. NOTE: I did not list
the second interface as the comments recommend in the smb.conf file. Samba
still works as it should.
Hope this helps
Steve Cowles
BTW: My Internal LAN is as follows:
Network Address: 192.168.1.16/28 (255.255.255.240)
Internal Address (Linux): 192.168.1.17
Broadcast Address: 192.168.1.31
<cut/paste of smb.conf file>
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = COWLES
# server string is the equivalent of the NT Description field
server string = Cowles's Linux Server
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.1.16/255.255.255.240
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
interfaces = 192.168.1.17/28
# Configure remote browse list synchronisation here
# request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
; remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
remote announce = 192.168.1.31
Quote:> I am running linux with 2 network adapters and samba is not working
> it is said to put the 2 ip adresse in smb.conf file but one card (eth0)
> use dhcp
> but i want to share files with the other one (eth1 with fixed ip)
> thanks for any help