![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find out the ipaddress? | DineshV | UNIX for Dummies Questions & Answers | 3 | 05-06-2008 01:20 AM |
| Add IpAddress Through Programatically | ykmraju | High Level Programming | 6 | 07-17-2006 07:48 AM |
| how to find ipaddress | shruti_mgp | HP-UX | 14 | 05-04-2006 03:58 AM |
| unable ping ipaddress | pdoug76 | UNIX for Dummies Questions & Answers | 1 | 05-30-2003 07:25 AM |
| change the IPAddress and local name | lapnguyen | UNIX for Dummies Questions & Answers | 2 | 07-10-2002 10:49 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
ipaddress in HP-UX
Hi,
How can I figure out the IP address of my node in HP-UX? Here is uname -a: /throra10 >uname -a HP-UX finprod B.11.23 U ia64 3832216299 unlimited-user license This is to launch Xterminal. Thanks. |
| Forum Sponsor | ||
|
|
|
|||
|
Your system could have multiple LAN cards. Type 'lanscan' to see all LAN devices configured for your system. HP LAN interface names usually look like: lan0, lan1, lan2, etc. Type 'ifconfig lan0' for that interface's ip address.
A different option would be nslookup. If you're logged into the box then you must know its hostname. Type 'nslookup <hostname>' to see what the box thinks its ip address is. It is possible that this may give you the wrong information if DNS sees the ip as different than its hosts file but in most cases it should work. Try logging in to that specific ip to verify that it is indeed the correct one. |