Networking Forums

Networking Forums > Computer Networking > Linux Networking > Difference between the kernel arp module and arp protocol

Reply
Thread Tools Display Modes

Difference between the kernel arp module and arp protocol

 
 
jeniffer
Guest
Posts: n/a

 
      05-15-2006, 12:29 PM
I am confused between the arp kernel module (man 7 arp) and the arp to
access system cache..Are they both not the same? What are the
differences between the two.For what are both of them used?
Where is the address resolution protocol that does the arp request
broadcast and gets arp replies?
I read that arp cache has static and dynamic entries.I think that
dynamic entries are made by broadcasting arp request packets.Is this
true?
I did vi proc/net/arp .This has showed me the arp entries ...Who has
made these entries? the kernel arp module or the arp used to access the
system arp cache? Is there only one cache or two separate caches for
both of them?
Please help me out .I am not able to understand.

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      05-15-2006, 12:57 PM
jeniffer wrote:
> I am confused between the arp kernel module (man 7 arp) and the arp to
> access system cache..Are they both not the same? What are the
> differences between the two.For what are both of them used?
> Where is the address resolution protocol that does the arp request
> broadcast and gets arp replies?
> I read that arp cache has static and dynamic entries.I think that
> dynamic entries are made by broadcasting arp request packets.Is this
> true?
> I did vi proc/net/arp .This has showed me the arp entries ...Who has
> made these entries? the kernel arp module or the arp used to access the
> system arp cache? Is there only one cache or two separate caches for
> both of them?
> Please help me out .I am not able to understand.
>

If you are just "using" the system, you don't have to worry about ARP.
Your kernel will emit an ARP packet when:
1. It needs to send an IP packet to an IP address on the local network, and
2. It doesn't know the ethernet (MAC) address of the interface that owns
that IP address.

It will then send an ARP packet instead of the IP packet.

The RFC <http://www.ietf.org/rfc/rfc0826.txt> tells you all about it.

Robert
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get data in kernel SEND buffer for a TCP socket from a netfilter based kernel module Rohit Linux Networking 0 05-10-2007 11:27 AM
Kernel module W.P. Linux Networking 9 04-04-2007 06:36 PM
killing a kernel thread ....... UDP server (kernel module)......... alex Linux Networking 0 09-20-2006 11:26 AM
UDP server as a kernel module alex Linux Networking 2 09-04-2006 09:48 AM
Difference between a protocol hierarchy and protocol stack christopher.bloomfield@bt.com Linux Networking 0 04-18-2006 05:56 PM



1 2 3 4 5 6 7 8 9 10 11