[Samba] samba resolves wrong wins ip address

Thomas Reiß thomas at mypoint.franken.de
Sat Jan 3 21:17:49 GMT 2004


Hallo John Russell, 

> berlioz:/home/jorussel# arp -a
> bxb2-bb-hsrp.cisco.com (161.44.79.1) at 00:00:0C:07:AC:01 [ether] on
> eth0
> ? (161.44.79.176) at 00:02:8A:36:63:87 [ether] on eth0
> ? (161.44.79.220) at 00:0C:29:46:EE:9A [ether] on eth0
> 
> berlioz:/home/jorussel# nmblookup jorussel-w2ks  <--vmware guest name
> querying jorussel-w2ks on 161.44.79.255
> 161.44.79.220 jorussel-w2ks<00>
> 
> berlioz:/home/jorussel# nmblookup mendelssohn <--vmware host and machine
> 1
> querying mendelssohn on 161.44.79.255
> 161.44.79.176 mendelssohn<00> <-- this is the CORRECT address.  
> 
> berlioz:/home/jorussel# ping mendelssohn  
> PING mendelssohn (192.168.35.1) 56(84) bytes of data. <-- this is the 
> 	WRONG address  AAGGH!!  So what is ping doing?

What happend's (ping mendelson) when you do the following ?

remove wins entry in nsswitch.conf
hosts:       files dns

When you use dhcp then you should dynamically update your DNS !

Greetings
Thomas


More information about the samba mailing list