- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: i/p address
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
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
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
тАО02-04-2004 03:05 AM
тАО02-04-2004 03:05 AM
Ganesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 03:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 03:08 AM
тАО02-04-2004 03:08 AM
Re: i/p address
You should also have the IP Address and FQDN and short name in /etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 03:08 AM
тАО02-04-2004 03:08 AM
Re: i/p address
'ifconfig lanx' is the command you are looking for.
netstat -in will also give the information on all the lancards and the IP addresses associated with it.
Hostname will be only one on the box. If the server has multiple lan cards and multiple address, each address may have a different DNS name. An 'nslookup' can give you the name corresponding to the IP address which is displayed in 'netstat -i' output.
'hostname' gives the hostname of the server.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 03:09 AM
тАО02-04-2004 03:09 AM
Re: i/p address
The use 'ifconfig lan?' (where lan? = lan0, lan1, whatever') to get the IP address.
You could then use 'nslookup ip.addy' to get the hostname.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 03:12 AM
тАО02-04-2004 03:12 AM
Re: i/p address
netstat -in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 03:13 AM
тАО02-04-2004 03:13 AM
Re: i/p address
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 03:16 AM
тАО02-04-2004 03:16 AM
Re: i/p address
regards
cl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2004 06:02 PM
тАО02-04-2004 06:02 PM
Re: i/p address
IP Address:
1. #ioscan -fnC lan
Find out the device number from the output. Ex.: lan0, lan2 etc.
2. #ifconfig lanX where X is to be substituted accordingly
Hostname: This is unique to a machine and not to a networkcard. For finding out the hostname,
1. #hostname