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:10.73.0.105 Bcast:10.73.255.255 Mask:255.255.0.0
>
> eth1 inet addr:10.111.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
>
> with the following routes:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.73.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> 10.111.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 10.73.0.1 0.0.0.0 UG 0 0 0 eth0
[snip]
> However, if I change the netmask on eth1 to 255.255.0.0 it returns the
> correct answer, 10.73.0.105.
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
it.
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
--
| 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