How to find IP Address of connected server

Discussion in 'Mac Apps and Mac App Store' started by chidambaram, May 2, 2011.

  1. chidambaram macrumors member

    Joined:
    Mar 9, 2008
    #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)
    //developer@172.16.3.225/d on /Volumes/172.16.3.225 (smbfs, nodev, nosuid, mounted by luser)
    //sathya_j@172.16.3.202/cetools on /Volumes/cetools (smbfs, nodev, nosuid, mounted by luser)
    //sathya_j@172.16.3.202/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 from terminal command or from applescript?

    Thanks in advance...
     
  2. dpetree macrumors member

    Joined:
    Oct 22, 2010
    Location:
    Florida

Share This Page