Sponsored Content
Full Discussion: ARP Cache
Operating Systems Solaris ARP Cache Post 302124408 by Neo on Saturday 30th of June 2007 01:15:11 PM
Old 06-30-2007
Quote:
Originally Posted by earlysame55
Hi porter,

Thanks for the reply. When a name lookup has been done and initial connectivity is established dosn't it be there in the cache ?
No, not necessarily.

DNS mappings happen when a name is queried againt the DNS system and an IP address is returned (or the reverse, and established in the DNS cache).

An ARP cache entry occurs when a IP packet is in a router LAN segment after a broadcast to determine the IEEE 802 MAC address.

As porter says, DNS and ARP are totally different systems. DNS maps names to IP address. ARP maps IP addresses to MAC address. These mapping are used very differently.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UBC cache vs. Metadata cache

hi, What is the difference between UBC cache and Metadata cache ? where can i find UBC cache Hits and Metadata cache Hits in hp-ux? Advanced thanx for the help. (2 Replies)
Discussion started by: sushaga
2 Replies

2. IP Networking

how can we spoof ethernet by ARP cache poisoning on unix through a program

how can we spoof ethernet by ARP cache poisoning on unix through a program... can anyone post the source code to achieve this... (1 Reply)
Discussion started by: ud4u
1 Replies

3. HP-UX

HW Address and arp

I was checking nettl output for a unstable telnet to my server. this is part of output: ### ***********************************STREAMS/UX*******************************@#% Timestamp : Sun Jun 22 EETDST 2008 22:14:47.492899 Process ID : Subsystem ... (4 Replies)
Discussion started by: xramm
4 Replies

4. Red Hat

Arp Problem

Dear All i have a linux proxy server which has RHEL-5 64 bit, it has two interfaces, it has the following details eth0=10.200.14.42 eth3=10.201.14.42 default gateway=10.201.14.254 one static route=192.168.0.0/24 gw 10.200.14.254 i am facing a problem when i ping 10.201.14.42 from... (2 Replies)
Discussion started by: surfer24
2 Replies

5. Programming

Manipulate the Linux ARP Cache in C

Hello, I need help on how to "access" or manipulate the Linux ARP Cache in C, here is the description of the project i'm working in: There are a lot of tools that analize ARP frames and send an e-mail to the sysadmin, that's easy. What i want to do is to inspect every ARP frame that arrives... (18 Replies)
Discussion started by: semash!
18 Replies

6. Linux

getting info on Cache Size, Data Cache etc..

Hi all I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc.. Do you know if in Linux is available a... (2 Replies)
Discussion started by: manustone
2 Replies

7. Linux

File cache /Page cache Linux

Hi All, could any one point out any open source test-suites for "File cache" testing and as well as performance test suites for the same. Currently my system is up with Linux/ext4. Regards Manish (0 Replies)
Discussion started by: hmanish
0 Replies

8. UNIX for Advanced & Expert Users

arp questions

Can someone please explain this output to me. Why doesn't ifconfig show the same info? ~ $ arp -a ? (10.71.0.1) at 00:1b:21:2b:eb:0c on eth0 (4 Replies)
Discussion started by: cokedude
4 Replies

9. IP Networking

necessary ARP request?

Hello, I have 2 clients with Unix installed. host1: eth0 (192.168.5.10) & eth1 (192.168.10.10) host2: eth0 (192.168.10.20) I've connected host1-eth1 to host2-eth0. host1-eth0 isn't connected. I started 'tcpdump' on wonder that host2 got ARP requests for 192.168.5.10. Any idea why host1... (2 Replies)
Discussion started by: daWonderer
2 Replies

10. War Stories

What arp -s is good for

A customer appears to have drastically misunderstood our instructions for connecting to our WAN. He set his PC IP address to the same as one of the bridges. :mad: :wall: This caused much confusion on the network, to put it mildly. He called to complain about the poor performance of the network... (13 Replies)
Discussion started by: Corona688
13 Replies
arp(7P) 																   arp(7P)

NAME
arp - Address Resolution Protocol DESCRIPTION
ARP is a protocol used to dynamically map between DARPA Internet and hardware station addresses. It is used by all LAN drivers. ARP caches Internet-to-hardware station address mappings. When an interface requests a mapping for an address not in the cache, ARP queues the message that requires the mapping, and broadcasts a message on the associated network requesting the address mapping if the encapsula- tion method has been enabled for the interface. If a response is provided, the new mapping is cached and any pending message is transmit- ted. ARP queues at most one packet while waiting for a mapping request to be responded to; only the most recently ``transmitted'' packet is kept. To facilitate communications with systems that do not use ARP, calls are provided to enter and delete entries in the Internet-to-hardware station address tables. Application Usage: Each call takes the same structure as an argument. sets an ARP entry, gets an ARP entry, and deletes an ARP entry. These calls can be applied to any socket descriptor s, but only by the super-user. The structure contains: The address family for the must be for the it must be The only flag bits that can be written are and Fibre Channel hosts only support the flag. causes the entry to be permanent. specifies that the ARP code should respond to ARP requests for the indicated host coming from other machines. This allows a host to act as an ARP server, which may be useful in convincing an ARP-only machine to talk to a non-ARP machine. ARP watches passively for hosts impersonating the local host (i.e., a host that responds to an ARP mapping request for the local host's address). DIAGNOSTICS
This message printed on the console screen means that ARP has discovered another host on the local network that responds to mapping requests for its own Internet address. WARNINGS
To enable the encapsulation method, use the command (see ifconfig(1M)). AUTHOR
ARP was developed by the University of California, Berkeley. SEE ALSO
ifconfig(1M), inet(3N), lan(7), arp(1M). RFC826, Dave Plummer, Network Information Center, SRI. arp(7P)
All times are GMT -4. The time now is 08:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy