[KLUG Members] WINS using old IP address question
bill
bill at billtron.com
Thu Jul 14 13:03:52 EDT 2005
On Wed, 2005-07-13 at 22:50, Adam Tauno Williams wrote:
> > >Sometimes when I log in to a network with a computer I get a different
> > >IP address than I did logging in last time with the same computer. This
> > >might happen by logging in wirelessly or logging in remotely with
> > >OpenVPN.
> > >For example:
> > >First time: 192.168.0.100
> > >Second time: 192.168.0.200
> > >The network has a SMB server and a WINS server.
> > OK, but not relevant to IP addresses. Those are handed out by a dhcp
> > server.
>
> Do we know that this addresses is dolled out by a DHCP server? Or
> simply handed out from a pool on the VPN server (I don't recall how
> OpenVPN does this)?
In the case I'm looking at, it was doled out from a VPN server.
> What does "host mycomputer" say? In the Samba configs what is the name
> resolution order?
wins lmhosts hosts bcast
> > >When I do
> > >smbclient -L mycomputer
> > >it tries to connect to the old IP address, even when the box is on the
> > >network with a new IP address.
> > The dhcp and DNS server are supposed to be able to talk to each other,
> > and the dhcp server will update dynamic DNS records on the DNS server so
>
> True. (1) Is this lookup occuring via WINS or DNS? If it is WINS then
> updating the DNS doesn't get you anything. (2) Registering a name to a
> new addresses doesn't necessarily deregister that name for the other
> address.
I think the lookup is occuring via WINS
> You need to generate a deregistration event when the client goes away.
How is this done?
> > >Is there a way to announce when logging in, "Hey, I'm over here now!" ?
>
> This is the purpose of WINS.
That was my understanding... which is why I'm surprised it isn't
working.
> Is the problem that the client IP address changes or the server?
client ip
>
> ______________________________________________________________________
More information about the Members
mailing list