How to find IP Address

Joined
Sep 16, 2008
Messages
5
Reaction score
0
Points
1
Hi,

I need to find ip address of connected server.

If i connect my server using smb then i can get the ip and path using mount command in terminal.

If i connect my server using afp then mount command did not show the ip.

my mount output is

/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s3 on /Volumes/BOOTCAMP (ntfs, local, read-only, noowners)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
afp_00yVhe00yVhe00yVhe00yVhe-3.2e000003 on /Volumes/06macdata02 (afpfs, nodev, nosuid, mounted by luser)
//[email protected]/d on /Volumes/172.16.3.225 (smbfs, nodev, nosuid, mounted by luser)
//[email protected]/cetools on /Volumes/cetools (smbfs, nodev, nosuid, mounted by luser)
//[email protected]/data on /Volumes/data (smbfs, nodev, nosuid, mounted by luser)
afp_00yVhe00yVhe00yVhe00yVhe-2.2e000009 on /Volumes/06macdata01 (afpfs, nodev, nosuid, mounted by luser)


Here i connect 06macdata01 from 172.16.3.206 server. How can i find this ip address using terminal command or from applescript?

Thanks in advance...
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top