Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > IP address of computer on network

IP address of computer on network
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2006
Status: Offline
Reply With Quote
Oct 4, 2006, 10:31 AM
 
Is there any way to find out what the IP address of another computer on a wireless network is? Is there a way to find out using finder>network?
     
Addicted to MacNN
Join Date: Oct 2002
Location: England | San Francisco
Status: Offline
Reply With Quote
Oct 4, 2006, 10:33 AM
 
no, easiest to go to your wireless router and look for a client table.
we don't have time to stop for gas
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Oct 4, 2006, 11:12 AM
 
Actually, you can just ping their Bonjour address (either with ping in the Terminal or with Network Utility) and it will give you their IP.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Moderator
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
Oct 4, 2006, 11:49 AM
 
Oooh, I have a similar question, but on a wired network, on Windows in cmd prompt if I type ping <Computername> I get its IP, in OS X in the terminal ping <Computername> gets me unknown host. Is there anyway to do this on OS X?
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 4, 2006, 02:29 PM
 
Originally Posted by seanc
Oooh, I have a similar question, but on a wired network, on Windows in cmd prompt if I type ping <Computername> I get its IP, in OS X in the terminal ping <Computername> gets me unknown host. Is there anyway to do this on OS X?

If it says unknown host, doesn't that mean that the machine is unreachable?
     
Moderator
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
Oct 4, 2006, 02:31 PM
 
Thats what I thought, but I know the computer is there and Windows can do it. What I want to be able to do is to be able to ping or do something with the name of a computer on my network so that I can find it's IP address without having to go to the computer or use Windows.
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Oct 4, 2006, 02:38 PM
 
Try computername.local
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Oct 4, 2006, 02:39 PM
 
Originally Posted by seanc
Thats what I thought, but I know the computer is there and Windows can do it. What I want to be able to do is to be able to ping or do something with the name of a computer on my network so that I can find it's IP address without having to go to the computer or use Windows.
Hmm, I can do that all day long using the "ping" command in Terminal and just typing in any computer's name...
     
Moderator
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
Oct 4, 2006, 02:51 PM
 
Tried that Simon, still doesn't work.


Would it make any difference if I said that i'm trying to ping Windows computers?


Code:
PowerMac:~ seancurran$ ping Gateway ping: cannot resolve Gateway: Unknown host
Gateway is an old Gateway pc (funnily enough) running Windows 2000. Windows XP can ping it and give me the IP address, OS X gives me the above error.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 4, 2006, 02:52 PM
 
are these WIndows computers bound to Active Directory?
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 4, 2006, 02:53 PM
 
what are your search domains set as?

Doing a "ping Gateway" (where "Gateway" is a machine name) will not work if there are no search domains defined.
     
Moderator
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
Oct 4, 2006, 02:55 PM
 
Ah, maybe this is the problem, I have no domain . This is my home network, all WIndows computers just have a workgroup, we used to have a server and a domain and reliased there was no point in it. The servers been gone for at least a year or two and all the pcs have had Windows re-installed at least once since then so they shouldn't be getting confused.
     
Mac Enthusiast
Join Date: Feb 2006
Status: Offline
Reply With Quote
Oct 4, 2006, 03:21 PM
 
Run tcpdump on the relavant interface, ping the broadcast address of the network, you'll get replies from everything on your subnet. Apple's ping follows standard Unix rules, so if a system isn't in a DNS table, it will have an unknown hostname. Windows probably reports a WINS name.
     
Moderator
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
Oct 4, 2006, 03:30 PM
 
Originally Posted by dimmer
Run tcpdump on the relavant interface, ping the broadcast address of the network, you'll get replies from everything on your subnet. Apple's ping follows standard Unix rules, so if a system isn't in a DNS table, it will have an unknown hostname. Windows probably reports a WINS name.
I see. I assume I can't ping a WINS name from OS X
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Oct 4, 2006, 04:31 PM
 
You might if you set the WINS server preference.
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Oct 4, 2006, 09:04 PM
 
Why is this in the OS X forum, when it's ALL about networking?
Glenn -----
OTR/L, MOT, Tx
     
Moderator
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
Oct 5, 2006, 11:55 AM
 
How do I set the Wins server preference?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2