Multiple Subnets and Netbios Names
Julia Holloway
jhllwy at us.ibm.com
Mon Dec 11 23:37:05 GMT 2000
Hello and I hope somebody can help me. I have a rather unique situation.
I have a Linux machine running RedHat 6.2 with a 2.4 Kernel. I have two
ethernet cards each going to a private IP subnet. I would like to have the
Samba server advertise one Netbios name on one subnet, and another Netbios
name on the other subnet. I thought the easiest way to do this was to
bring up two Samba daemons, each with its own smb.conf file. I did this,
installing a complete version of Samba into separate directories, and it
seemed to work fine. But now I have a requirement to save space, so I
installed the bin, lib/codepages, man, private and swat in the
/usr/local/samba directory. I created two other directories,
/usr/local/samba0 and /usr/local/samba1 each with a var and lib
directories. The var has the locks and logs. The lib has the smb.conf
file. I also have a bin directory linking back to the /usr/local/samba/bin
directory. When I invoke smbd -D and nmbd -D from these directories, it
looks to be fine except for the following exception: I cannot seem to be
able to browse from my Windows 98 client.
Samba Server
(samba1) ---------------------------
(samba2)
/
\
20.20.20.0 /
\ 10.10.10.0
-------------------
----------------------
Client1
Client2
The client (10.10.10.41 255.255.255.0) is on the same subnet as the server
(10.10.10.51 255.255.255.0). Net use * works, and Net view works, and if I
type in the server path \\samba0\test from the Network Neighborhod
window, that works as well. But my server won't show up in my browse list
on its own. I followed the Fault tree analysis in the O'Reilly book, and
was not able to find the problem.
My smb.conf file is very simple:
# Samba config file created using SWAT
# from viastingray (127.0.0.1)
# Date: 2000/11/09 23:20:33
# Global parameters
[global]
workgroup = NETCONN
server string = Samba 2.07 Server (ETH0 Only)
netbios name = SAMBA0
interfaces = eth0
bind interfaces only = Yes
encrypt passwords = yes
log level = 0
name resolve order = wins lmhosts host bcast
security = user
debug level = 0
[test]
comment = Share for SAMBA0 (only)
path = /export/samba/test
read only = No
Any Ideas ??
Julie Holloway
More information about the samba
mailing list