LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-15-2004, 12:44 PM   #1
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Is ARP on OSI layer 2 or 3 ?


I'm studying for CompTIA's Network+ exam and have gotten two different answers to this question. I know TCP/UDP operates on layer 4 (transport) and IP/ICMP on layer 3 (network), but where does ARP fall into the OSI scheme? Since it resolves IPs to MAC addresses I would have thought layer 2 (data link), as this page seems to indicate: http://www.mindflip.com/inet/sevenlayer.html
Yet other sources indicate layer 3: http://www.skillsoft.com/corporate/c...164/64164a.htm
So which is it? Looks like CompTIA wants the layer 3 answer, but they've been wrong before... like the A+ tests seem to think "ipconfig /all" only works on NT/2000 and you have to use the GUI winipcfg utility with 98/ME... which is completely wrong. The CLI command works on all of those OSes (and the similarity to "ifconfig -a" makes it easy to remember too.) So I'd like to know the right answer in addition to CompTIA's.

Thanks in advance.

Last edited by Crito; 04-15-2004 at 12:49 PM.
 
Old 04-15-2004, 11:38 PM   #2
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
Both ICMP and ARP (As will as IGMP and RARP) are somewhat controversial.

Some people will put ICMP on L3, while some other will put it on L4 (because in the IP packet header, there is a place for a Protocol ID, for TCP it's 6, for UDP it's 17, and for ICMP it's 1, which puts ICMP right there with TCP and UDP as a layer 4 protocol).

The same goes for ARP, some will say it is a L2 protocol (because it is used to resolve L2 addresses), while some others will say it is a layer 3 protocol (because IP is a L3 address, and a L2 device implementing L2 protocols only will not know that it has a IP address, and wouldn't allow you to configure one because it doesn't know you are talking about, so you'll need the L3 functionality).

If you are setting a CompTIA exam, and CompTIA wants ARP to be L3, then this is the answer you'll need, as you might get your answer marked as wrong if you answered otherwise.

Good luck !

Last edited by jalal; 04-15-2004 at 11:39 PM.
 
Old 04-16-2004, 09:55 AM   #3
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Original Poster
Rep: Reputation: 53
Thanks for the reply jalal. Cisco's docs gave me a similar answer. They don't put it squarely on either layer, placing it between L2 and L3 instead: http://www.cisco.com/univercd/cc/td/...ito_doc/ip.htm
I guess that means L2.5 So I'll just round up for CompTIA.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange ARP behavior : A linux server responds to all ARP requests Hdvd21 Linux - Networking 4 10-24-2013 05:02 AM
DVD Drives - Dual Layer or double layer? Groundhog1248 Linux - Hardware 2 09-23-2009 09:30 PM
Dual Layer ISO onto 2 Single Layer Medias iammike SUSE / openSUSE 3 05-11-2005 05:15 PM
Disabling ARP probes after receiving an ARP request AltecLansingMan Linux - Networking 1 03-30-2004 01:25 PM
How to create an proxyarp entry in arp table by using arp command? himalayas Linux - Networking 0 06-04-2003 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration