- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nslookup and arp
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
тАО06-08-2006 10:18 PM
тАО06-08-2006 10:18 PM
Is there any difference in nslookup and arp command.as per my knowladge..
-->arp displays the mac address
-->nslookup ..?
help me..
Solved! Go to Solution.
- Tags:
- nslookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 10:25 PM
тАО06-08-2006 10:25 PM
Solutionnslookup used to query name servers interactively, where as arp command displays and modifies the Internet-to-Ethernet and
Internet-to-Fibre Channel address translation tables used by the
Address Resolution Protocol (ARP)
You can find these information by doing a man.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 11:12 PM
тАО06-08-2006 11:12 PM
Re: nslookup and arp
Tell me whether nslookup wil give the IP address to hardware address translation table.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 11:17 PM
тАО06-08-2006 11:17 PM
Re: nslookup and arp
Try this,
# nslookup mail.yahoo.com
Name Server: engmaho1.eng.emc.com
Address: 10.254.66.23
Trying DNS
Non-authoritative answer:
Name: login.yahoo.akadns.net
Address: 209.73.168.74
Aliases: mail.yahoo.com, login.yahoo.com
nslookup is a UNIX command that queries a DNS server for machine name and address information. To use nslookup on the unix machines, type "nslookup" followed by an IP address or a machine name. nslookup will return the name, all known IP addresses and all known aliases (which are just alternate names) for the identified machine.
It is debugging tool for DNS.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 11:21 PM
тАО06-08-2006 11:21 PM
Re: nslookup and arp
nslookup just can query the DNS.
for your purpose you should use "arp -a"
here are some examples:
# arp -a
192.168.5.108 (192.168.5.108) at 0:40:ca:85:d7:92 ether
192.168.5.125 (192.168.5.125) at 0:80:48:2e:3d:d0 ether
192.168.5.59 (192.168.5.59) at 0:30:48:54:1:f8 ether
192.168.5.58 (192.168.5.58) at 0:12:79:66:81:89 ether
192.168.5.54 (192.168.5.54) at 0:a0:c9:ee:fd:f8 ether
192.168.5.10 (192.168.5.10) at 0:e:7f:b1:5e:55 ether
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 11:26 PM
тАО06-08-2006 11:26 PM
Re: nslookup and arp
Name Server:
Address:
Trying DNS
Non-authoritative answer:
Name: www.l.google.com
Addresses: 64.233.161.104, 64.233.161.147, 64.233.161.99
Aliases: www.google.com
nslookup translates a hostname to an IP address. arp translates an IP address to a MAC address and vice versa via the address translation table. To answer your other question, nslookup will not output the contents of this table. Of course, both of these commands have additional functionality, but these are the are the most common uses.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2006 12:11 AM
тАО06-09-2006 12:11 AM
Re: nslookup and arp
And arp will display hardware addresses *ONLY* for machines that have some activity with the local system. However, it is a cache and entries will disappear after a period of inactivity.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2006 01:23 AM
тАО06-09-2006 01:23 AM
Re: nslookup and arp
# arp -a |wc -l
4
In fact, my workstation isn't even listed in the address table.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2006 02:19 PM
тАО06-11-2006 02:19 PM
Re: nslookup and arp
nslookup tells you what DNS you use and echo IP of server when hostname is given and vice versa!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2006 05:10 PM
тАО06-11-2006 05:10 PM
Re: nslookup and arp
I got the solution for the Thread.