Re: netsh - get Pc name ???

From: Dusty Harper {MS} (DHarper_at_Online.Microsoft.com)
Date: 05/02/05


Date: Mon, 2 May 2005 10:52:29 -0700

The DHCP server is client host name agnostic. It cares about a MAC Address
to IP Address mapping What you could do is use a Ping -a on each of the IP
leases, or use NSLookup to query the DNS servers to get the addresses.

--
-- 
Dusty Harper
Microsoft Corporation
----------------------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
----------------------------------------------------------------------------
" Mathew" <matthieu_in_hk@hotmail.com> wrote in message 
news:uM5PDajRFHA.3972@TK2MSFTNGP14.phx.gbl...
> Hello,
>
> I'm using the command :
> netsh dhcp server scope 192.168.1.0 show clients > clientsdhcpv4.txt
> to get the names of the machines associated to each IP adresse. But I only
> get MAC adresses of the machines
> ============================================================================
> ======
>
>
> ============================================================================
> ======
>
>
>
> 177.78.16.101   - 255.255.255.0  - 00-10-75-00-7a-ed   -2005/04/21
> 43:20    -D
>
> 177.78.16.103   - 255.255.255.0  - 00-00-39-5c-3b-17   -2005/04/21
> 05:56    -D
>
> 177.78.16.105   - 255.255.255.0  - 00-30-13-15-f2-86   -2005/04/21
> 05:55    -D
>
> 177.78.16.106   - 255.255.255.0  - 00-02-55-20-92-4b   -2005/04/21
> 00:42    -D
>
> 177.78.16.108   - 255.255.255.0  - 00-10-b5-3c-f3-06   -2005/04/21
> 15:15    -D
>
> 177.78..16.109   - 255.255.255.0  - 00-0b-cd-52-2c-9a   -2005/04/21
> 16:15    -D
>
> ============================================================================
> ======
>
>
> ============================================================================
> ======
>
> Does someone know how could I get the pc name or user name or something 
> like
> that ?
>
> Or how to get from the mac adress the pc name (what cmd should I use ?)
>
> Thanks
> Matthieu
>
> 


Relevant Pages

  • Re: mac address issue
    ... mac address that was different in some way that just resulted in the DHCP ... Sounds like the client is sent our a DHCP request, ... your DHCP server is replying with an offer, but the client is sending back ... Modeled after the famous Black Hat event ...
    (Security-Basics)
  • Re: Network Security
    ... >>I've been tasked to protect out network from unwanted clients ... > configure the DHCP server to only give out addresses to specific MAC ... > that says no visiting computers. ... >>not 'known' to us then we can stop it getting an IP from the DHCP server? ...
    (linux.redhat)
  • Re: Buffalo router disupts internet connection on lease renewal
    ... Using MAC addresses from guaranteed incompatible hardware (or obsolete ... my best guess is that it's something on the Cox DHCP server ... DHCP client might be looking for a server that is offline or dropped ...
    (alt.internet.wireless)
  • Re: [Bulk] Re: Messed up my ISP/Networkmanager connection !?
    ... DHCP Server Enabled Firewall Enabled ... System Boot Up Time ... to have 2 mac addresses with sequential addressing means that you have ... Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org ...
    (Fedora)
  • Strange problem with MacOS 9 and isc-dhcpd
    ... I realize this is probably not really a FreeBSD question, ... I am running isc-dhcpd 3.0.1.r14_6 on a FreeBSD 4.11-REL machine. ... my G3 Mac running Mac OS 9.2.2 won't get its reserved ... The DHCP server is to simplify maintenance. ...
    (freebsd-questions)

Quantcast