- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can we know know the system external ip addres...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2008 11:18 PM
тАО01-17-2008 11:18 PM
how can we know know the system external ip address in hp-ux:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2008 11:23 PM
тАО01-17-2008 11:23 PM
Re: how can we know know the system external ip address in hp-ux:
All IPs are in
/etc/rc.config.d/netconf
just do a "more" on this file.
You can also do a
lanscan
and show the settings for each NIC, like
ifconfig lan0
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2008 11:38 PM
тАО01-17-2008 11:38 PM
Re: how can we know know the system external ip address in hp-ux:
You can use #netstat -in
and isolate from the class of IPs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2008 02:03 AM
тАО01-18-2008 02:03 AM
Re: how can we know know the system external ip address in hp-ux:
Your question is not clear.
you can check the IP address from the following commands.
First see how many lan cards are installed.
#lanscan
after that
#ifconfig lan0 or lan1 etc
Example:
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x001321D650CB 0 UP lan0 snap0 1 ETHER Yes 119
# ifconfig lan0
lan0: flags=1843
inet 192.xxx.xxx.24 netmask ffffff00 broadcast 192.xxx.xxx.255
#
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.xxx.xxx.24 192.xxx.xxx.24 UH 0 lan0 4136
192.xxx.xxx.0 192.xxx.xxx.24 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
#
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2008 02:06 AM
тАО01-18-2008 02:06 AM
Re: how can we know know the system external ip address in hp-ux:
ADDR=www.whatismyip.org
PORT=80
If you must use a proxy
$ADDR is the address of the proxy
and PORT the proxy port.
for instance
ADDR=web-proxy
PORT=8088
a=$( (echo "GET / HTTP/1.1\nHost: www.whatismyip.org\nUser-Agent:\n\n";sleep 1; echo "^]close")| telnet $ADDR $PORT | tr "
" "\$" )
a=="${a%\$*\$*}"
IP="${a##*\$}"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2008 06:09 AM
тАО01-18-2008 06:09 AM
Re: how can we know know the system external ip address in hp-ux:
or 'ping' the ws with its name and you'll get back the ping statistic with the ip-address.
Volkmar