how to find ipaddress | Unix Linux Forums | HP-UX

  Go Back    


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

how to find ipaddress

HP-UX


Tags
linux

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-28-2005
shruti_mgp shruti_mgp is offline
Registered User
 
Join Date: Feb 2005
Last Activity: 17 August 2005, 6:24 AM EDT
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
how to find ipaddress

Hi,
Pls tell me any command in Hp-unix to find out the machine ipaddress
Thanks,
shruti
Sponsored Links
    #2  
Old 07-28-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
AFK
 
Join Date: Dec 2004
Last Activity: 10 October 2013, 8:46 AM EDT
Location: UK
Posts: 2,351
Thanks: 0
Thanked 6 Times in 6 Posts
You can use `lanscan` to see the various network interfaces that are attached, and then use `ifconfig 'interface_name'` to see the ip address on that interface.
Sponsored Links
    #3  
Old 07-28-2005
shruti_mgp shruti_mgp is offline
Registered User
 
Join Date: Feb 2005
Last Activity: 17 August 2005, 6:24 AM EDT
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
I dnt have permission to see the lanscan.is there any command that can display ipaddress like ipconfig in windows machine?i think ipaddress is the major in networking..without any easy interface how unix people manage to know ipaddress of that machine..
    #4  
Old 07-28-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
AFK
 
Join Date: Dec 2004
Last Activity: 10 October 2013, 8:46 AM EDT
Location: UK
Posts: 2,351
Thanks: 0
Thanked 6 Times in 6 Posts
Just try using `ifconfig lan0` or `ifconfig lan1`. That should show your interface details.
Sponsored Links
    #5  
Old 07-28-2005
shruti_mgp shruti_mgp is offline
Registered User
 
Join Date: Feb 2005
Last Activity: 17 August 2005, 6:24 AM EDT
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
no use..:-(.no such interface iam getting..any other command that can show ipaddress as well?
Thanks for replying..
Sponsored Links
    #6  
Old 07-28-2005
MizzGail's Avatar
MizzGail MizzGail is offline
Registered User
 
Join Date: Sep 2001
Last Activity: 8 June 2011, 9:41 AM EDT
Location: Syracuse, NY
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
Are you logged onto the machine that you want to find the IP address for?
You can ping your DNS name or do an nslookup.
Sponsored Links
    #7  
Old 07-28-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 25 July 2014, 11:38 AM EDT
Location: Ashburn, Virginia
Posts: 9,895
Thanks: 58
Thanked 413 Times in 248 Posts
Try:
netstat -in
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find xterm ipaddress? Arun_Linux UNIX and Linux Applications 2 06-19-2012 12:57 AM
How to find out the ipaddress? DineshV UNIX for Dummies Questions & Answers 4 06-08-2009 05:25 AM
how linux knows ipaddress of it? Gopi Krishna P UNIX for Advanced & Expert Users 3 05-28-2009 09:23 AM
ipaddress in HP-UX RockyC123 Shell Programming and Scripting 7 03-25-2008 07:27 AM
Add IpAddress Through Programatically ykmraju Programming 6 07-17-2006 10:48 AM



All times are GMT -4. The time now is 03:06 AM.