- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- ping -a hostname in tru64
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
тАО07-11-2006 02:27 PM
тАО07-11-2006 02:27 PM
ping -a hostname in tru64
Can anyone suggest alternate for ping -a hostname in tru64.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2006 03:12 PM
тАО07-11-2006 03:12 PM
Re: ping -a hostname in tru64
So do you want ping to resolve an ip address from a hostname when reporting echo replies? (reverse lookup) That's what "ping -a" does on DOS/Windows and some *nix distributions. With Tru64 you don't need a switch to do this; whatever you specify on the command line will have it's counterpart in the output. If you specify a hostname, the IP address will be returned in the output and vice versa. use the -n option if you just want numeric ouput.
However, in Solaris for example, the -a switch to ping specifies that it probe all addresses, both IPv4 and IPv6, of a multihomed destination. The output will appear as if ping was run once for each IP address of the destination. Is that what you want? If so, I don't think there's a switch for that specifically. Try looking at the -G and -V switches for more info. Here's a man page if you don't have it:
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN8/0289____.HTM
jack
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 01:45 AM
тАО07-12-2006 01:45 AM
Re: ping -a hostname in tru64
Your Tru64 have to be configured as an DNS client for that DNS server. After that, ping will report the hostname of the host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 10:10 AM
тАО07-12-2006 10:10 AM
Re: ping -a hostname in tru64
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 06:34 PM
тАО07-12-2006 06:34 PM
Re: ping -a hostname in tru64
Thanks for your help.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 07:34 PM
тАО07-12-2006 07:34 PM
Re: ping -a hostname in tru64
The purpose of ping -a is probably "reverse DNS resolution" in your case ?
There is a command able of that in Tru64 : Netstat.
To obtain reverse dns lookups you can compare outputs of netstat -a and netstat -an ?
But that can only work for a host with an active connection.
Hope it helps.
Marc