[Samba] Netbios name resolution with DHCP

Jon Gerdes gerdesj at whl.co.uk
Thu Feb 14 02:17:07 GMT 2002


As you have noticed, aren't those Win PCs clever ...  They magically "resolve" nodenames to IP addresses via NetBIOS.  Whereas your boring old Linux boxen follow the standard way, which is to use host/NIS/BIND etc etc

What you need is a /etc/hosts file populated with IP address to names but you use DHCP, so you will have to use "Dynamic DNS".  Now in theory bind 9 and dhcpd 3 can do this, both of which are on your Smoothwall box (assuming current version of SW).

Docs are on ISC's web site along with the source code or failing that try Linuxdoc

Jon G

>>> Robert Wood <Robert.Wood at apostrophe.org.uk> 13/02/2002 23:42:32 >>>
I have a network with RH7.2 (netbois name "server"), Mandrake 8.1 
("Linuxbox"), Smoothwall ("Smoothwall"), WinNT ("di-bosco"), Win 98 
("robertw" & "Nicole") x 2 and Win 2k ("DiBosco2k").

Smoothwall is the DHCP server.

Why would it be that all the Windows machines can ping to a netbios name, eg 
ping server, ping Linuxbox etc, but non of the Linux based machines can? 
Linux machines all say

unknown host machinename

What do I have read up on to make this work on the linux machines as well?A
 ll the machines bar Smoothwall and RH server are dynamic IP addresses, I am 
under the impression this makes things somewhat more complicated!



To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list