Req: How do I find the P address of computer on a workgroup ?

  • Thread starter Thread starter Sanal Kisi
  • Start date Start date
S

Sanal Kisi

Hi,

How do I find the IP address of a computer on a workgroup, which I can
access using Windows Explorer.

I can use the command NET VIEW \\CompName and see their available
resources, but I need to find the IP's they obtained through the DHCP.

If I knew their MAC addresses I would lookup from the DHCP logs but
unfortunately I have no clue about their MAC's. Infact, I am after
their MAC's.

Regards.
 
Sanal Kisi said:
Hi,

How do I find the IP address of a computer on a workgroup, which I can
access using Windows Explorer.

I can use the command NET VIEW \\CompName and see their available
resources, but I need to find the IP's they obtained through the DHCP.

If I knew their MAC addresses I would lookup from the DHCP logs but
unfortunately I have no clue about their MAC's. Infact, I am after
their MAC's.

Regards.

Ping the computer by name. For example, here's what I get when I ping
the computer named "laptop" from another computer on the network:

C:\Documents and Settings\Steve>ping laptop

Pinging laptop [192.168.123.101] with 32 bytes of data:

Reply from 192.168.123.101: bytes=32 time<1ms TTL=128
Reply from 192.168.123.101: bytes=32 time<1ms TTL=128
Reply from 192.168.123.101: bytes=32 time<1ms TTL=128
Reply from 192.168.123.101: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.123.101:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Sanal Kisi said:
Hi,

How do I find the IP address of a computer on a workgroup, which I can
access using Windows Explorer.

I can use the command NET VIEW \\CompName and see their available
resources, but I need to find the IP's they obtained through the DHCP.

If I knew their MAC addresses I would lookup from the DHCP logs but
unfortunately I have no clue about their MAC's. Infact, I am after
their MAC's.

Regards.


nbtstat -a Computername

will give you the MAC address directly.
 
or just "ping compname" will show the ip address.


Sure, but he said he wanted their MAC address.

You'd need to do an "arp -a" after pinging to get the MAC address.
That's why I posted the nbtstat alternative.
 
Hi,

both the ping and the nbtstat commands return a "host not found"
error. I have disabled the firewall while ping'in, just in case, but
again with no success.

Aren't the ping and nbtstat commands pure TCPIP based ?
The computers I am trying to detect are shown in the Windows Explorer
through "Client for Microsoft Networks", most probably NetBEUI or so.

Any idea ?
 
If you ping the computer name it should show you the IP address. In fact,
after doing so if you look in your ARP cache (run "ARP -a" from a CMD
prompt) you should see the MAC address as well.

--
J.C. Hornbeck, MCSE
Microsoft Product Support

NOTE: Please reply to the newsgroup and not directly to me. This allows
others to add to and benefit from these threads and also helps to ensure a
more timely response. Thank you!

This posting is provided "AS IS" without warranty either expressed or
implied, including, but not limited to, the implied warranties of
merchantability or fitness for a particular purpose.
 
Sanal Kisi said:
Hi,

both the ping and the nbtstat commands return a "host not found"
error. I have disabled the firewall while ping'in, just in case, but
again with no success.

Aren't the ping and nbtstat commands pure TCPIP based ?
The computers I am trying to detect are shown in the Windows Explorer
through "Client for Microsoft Networks", most probably NetBEUI or so.

Any idea ?



Yes, these are TCP/IP commands.

You said the machines were obtaining IP addresses from DHCP,
and that you wanted to find the IP address in order to determine
the MAC addresses.

NetBEUI shouldnt come into it, unless you have a mix of TCP/IP and
NetBEUI on your network, which I'd not reccomend.

If net view \\machine works, but ping machine fails, then theres possibly a
misconfigured firewall, or possibly a problem with different protocols on
different machines.

I'd use only TCP/IP, and remove any other protocols.

If it's getting an IP address from DHCP, then it's got TCP/IP!
Go over to the other machine and see.
Do an ipconfig /all on the suspect machine.
 
Hello,

actually I have tried the ping command before everything, but with no
success.

the computer names are not necessarily defined in our domain. Everyone
decides on her/his own workgroup and computer_name.

Any other idea ?
 
With the use of some network management tools, you should be able to see
all the machines on the network. May be costly to get these for
Windows, and requires knowledge of how to operate. Free/open source
ones available on Linux. All depends on how important this is, I guess.

Hope this is useful to you. Let us know.

rms
 
Can I find opensource tools on Linux that can show me the IP/MAC info
of MS-Client (NetBeui) computers as seen in
MS-Windows-->Network_Neighbour ?

Can you provide some names please, if possible ?
 
I am not an expert, but start you search at www.sourceforge.net. Take a
look at the recent Linux magazines where I know this topic is often
discussed. Products may be mentioned in various books (try O'Reilly)
about networking. Buy the time of a network consultant for 1-days
consulting.

Hope this is useful to you. Let us know.

rms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top