nmbd returning wrong IP address?

Kevin Wheatley hxpro at cinesite.co.uk
Tue Mar 16 10:56:23 GMT 2004

Tom Dickson wrote:
> I have a test unit that has the following network configuration:
> eth0      inet addr:  Bcast:  Mask:
> eth1      inet addr:  Bcast:  Mask:
> with the following routes:
> Kernel IP routing table
> Destination     Gateway         Genmask      Flags Metric Ref Use Iface
>  U     0      0   0 eth0
>  U     0      0   0 eth1
>    U     0      0   0 lo
>      UG    0      0   0 eth0


> However, if I change the netmask on eth1 to it returns the
> correct answer,

for a start your route netmask for eth1 doesn't match your interface,
if the route is right then you should set the eth1 interface to match

If it's the other way round, then your supernetting and I'd guess that
your WINS server doesn't handle it, in my experience not much does,
your better sticking with heirachical subdivision in your network
along the lines of CIDR than


| Kevin Wheatley                   | These are the opinions of |
| Senior Do-er of Technical Things | nobody and are not shared |
| Cinesite (Europe) Ltd            | by my employers           |

More information about the samba-technical mailing list