Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > NETWORK ADMINISTRATION , HARDWARE & TROUBLESHOOTING > Networking Interview / Technical Questions
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

Networking Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 23-01-07, 10:28 PM   #1 (permalink)
Senior Member
 
Join Date: Jan 2007
Age: 27
Posts: 283
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4 radhika_btech is on a distinguished road
Networking - What is ARP and how does it work?

What is ARP and how does it work? <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
radhika_btech is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-03-07, 07:45 PM   #2 (permalink)
Member
 
Join Date: Sep 2006
Posts: 40
Thanks: 0
Thanked 4 Times in 3 Posts
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Power: 5 muralipn has a spectacular aura about muralipn has a spectacular aura about muralipn has a spectacular aura about
Re: Networking - What is ARP and how does it work?

Hi Radhika,

ARP:
----


When an Ethernet frame is sent from one host on a LAN to another, it is the 48-bit Ethernet address that determines for which interface the frame is destined.

Address resolution provides a mapping between the two different forms of addresses: 32-bit IP addresses and whatever type of address the data link uses.

Working of ARP:

1. The application, the FTP client, calls the function gethostbyname to convert the hostname into its 32-bit IP address. This function is called a resolver in the DNS (Domain Name System).
2. The FTP client asks its TCP to establish a connection with that IP address.

3. TCP sends a connection request segment to the remote host by sending an IP datagram to its IP address.

4. IP datagram is sent to a host or router on a locally attached network.

5. The sending host must convert the 32-bit IP address into a 48-bit Ethernet address.

6. ARP sends an Ethernet frame called an ARP request to every host on the network. This is called a broadcast.

7. The destination host's ARP layer receives this broadcast, recognizes that the sender is asking for its hardware address, and replies with an ARP reply.

8. The ARP reply is received and the IP datagram that forced the ARP request-reply to be exchanged can now be sent.

9. The IP datagram is sent to the destination host.

Regards,
Murali

muralipn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16-05-07, 04:36 PM   #3 (permalink)
Senior Member
 
Join Date: Oct 2006
Location: In Bangalore
Age: 24
Posts: 126
Thanks: 1
Thanked 6 Times in 6 Posts
Thanks: 1
Thanked 6 Times in 6 Posts
Rep Power: 0 jithendra.b will become famous soon enough
Re: Networking - What is ARP and how does it work?

ARP stands for Address Resolution Protocol. The primary objective of ARP is to obtain the physical
address for the logical address.

Example : Consider that system A wants to transfer a packet to system B on the other side. In
order to transfer the packet ,it needs to be stuffed with additional details like address of the destination etc.

At first system A sends an ARP request to all the machines that are on the other side. This is called broadcasting. The ARP request frame contains the sender's logical and physical address followed by the logical address of the destination.This frame is received by all the machines at the destination. Now the machine whose logical address matches with the one present in the frame processes the frame and other ignore it.

Then the machine(the one which had processed the packet) sends a reply to the source(system A ).This reply contains the physical address of the machine.

This is how ARP works.
jithendra.b is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On


All times are GMT +6.5. The time now is 05:50 PM.





Search Engine Optimization by vBSEO 3.1.0