SMB and NETBIOS

Hi!

Sorry in advance if this is not the right Group for my topic, but since it's related to connecting a Mac to a PC over a enterprise type network, I thought the Windows Compatibility group would be appropriate.

Please let me know if not for the future.

We are trying to connect a number of our Mac users to WinXPSP2 based PC's via SMB. We have shared a folder on the PC's for the Mac users to connect to and share files to and from, but when we attempt to connect the Mac's to the PC's via the PC's NETBIOS name (smb://yadayadayada), the only Mac's that can connect are the ones on the same subnet. Mac's on different subnets have to connect via the PC's computer name or it's IP address.

Does anyone know why that is?

Thanks a bunch!
M

G5/2.5, Mac OS X (10.4.8)

Posted on Jun 26, 2007 1:35 PM

Reply
4 replies

Jun 26, 2007 2:08 PM in response to Marc Monaro

when we attempt to connect the Mac's to the PC's via the PC's NETBIOS name (smb://yadayadayada), the only Mac's that can connect are the ones on the same subnet. Mac's on different subnets have to connect via the PC's computer name or it's IP address.

Actually, that seems like it is normal behavior judging from the following document:

Mac OS X 10.2 [or later]: Windows File Sharing (SMB) Computers Beyond Your Subnet Do Not Appear in Connect to Server Dialog

(Folks with more experience in this sort of thing: contributions of additional advice to Marc would be greatly appreciated.)

Jun 26, 2007 3:00 PM in response to b noir

This is correct behavior.

When a computer browses the network for other machines, it will only be able to browse its local network. It is sending a broadcast message to everything it can see and asking for responses. Computers, servers and printers on the other side of a router are not seen because the routers will not pass the broadcast messages sent by the searching computer. If they did pass the broadcasts then the network could become saturated with traffic and slow down.

DNS or WINS is the service you're looking to use. Your Mac must be configured to use a DNS or WINS server and the computers you're trying to reach must have their names and IP addresses registered with a DNS or WINS server.

WINS (configured in the Directory Access utility in /Applications/Utilities) in a Windows world can give you the perception that you're seeing every computer on the network when browsing but you're really just querying the WINS server and it's returning a list of known computers.

If your company runs a directory service, such as Active Directory or Open Directory, then this can be used for browsing along with DNS.

Hope this helps! bill

1 GHz Powerbook G4 Mac OS X (10.4.9)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

SMB and NETBIOS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.