Need clarity on ARP operation

Hi,
I just wanna know whether i'm properly understandin ARP or not.
As per the OSI model if we take the communication between any two devices, the sender host will go through the
Application,Presentation,Session,Transport,Network,Datalink,Physical and the receiving host will go through the reverse process that
is from physical to application.
So if PC-A wants to speak to PC-B it is not possible for them to communicate only with the IP address (Network layer address), PC-A also
needs the MAC (Datalink layer address) of the PC-B because the information that PC-A sending has to travel through the physical layer and then
it should be validated with the MAC address of PC-B at the datalink layer then after it reaches the Network layer and there again PC-B checks that
that packet is destined for it and then PC-B acknowledges PC-A.
Please correct me if i'm worng somewhere.
And i read that ARP uses local broadcast 255.255.255.255 at layer3 and FF:FF:FF:FF:FF:FF at layer2. I understood that since it doesn't have the MAC
of the destined PC it will use the layer2 broadcast but what is the purpose of using a layer3 broadcast when the sender PC know the IP address of the
destination PC.
Regards,
Chandu

Yes you are correct Chandra.
But briefly to go over ARP, in words.....
To understand the neccesity of ARP, we firstly need to understand how packets are routed on the local network.
Most networks in this day and age largely utilizing ethernet. Several computers are connected to a switch, the switch in turn is connected to some kind of router that has got the capabilities to route packets to other networks.
Then how are packets on a ethernet routed?
Every network card has got a MAC address. This address is global unique and is burnt in to the card BIA (burned in address). In ethernet every packet has got a source-mac and a destination-mac. The switches, (purely layer 2) don't look at the IP addresses, they only use the MAC-adresses to find the right destination for a packet - normally based on some sort of table (CAM table).
The MAC-adresses are only used to find the destinations for packets in a local network MAC is on Layer 2 in the ISO/OSI Model, IP is on Layer 3
So why do we need ARP?
Let's assume that you have got two computers, 10.0.0.1 and 10.0.0.2 that are connected to a switch. 10.0.0.1 wants to send a packet to 10.0.0.2.
I've explained that ethernet only uses MAC adresses. So 10.0.0.1 has got to stick the MAC address of 10.0.0.2 in front of the IP packet so that it can be sent into the network - how will it get there in the first place?
But 10.0.0.1 does not know that address right? ARP comes to the rescue. 10.0.0.1 sends an ARP packet into the network that asks every computer "have you got the address 10.0.0.1? If you have please send your mac address to me, my MAC-address is xxxxx". This packet is broadcast to the whole network and does not need an destination MAC.
10.0.0.2 now answers and sends it's own MAC-address to 10.0.0.1 who in turn can stick the MAC address of 10.0.0.2 in front of the IP packet which now can be sent to the network.
Try using a packet capturing tool to see this arp process.
Take a look below
A host 10.1.1.1 is trying to see where its default gateway is which is 10.1.1.254. It doesn't know the mac address. What does it do?
1) From the host which is 10.1.1.1 - the arp destination is broadcast, asking who has 10.1.1.254 - tell me, I am 10.1.1.1
1a) At this point the destination is unknown, what would a switch do if its destination is broadcast? If the switch had the MAC address in its CAM table it would have forwarded direcly to the correct port, if it does not, then it will forward out of every forwarding interface in the layer 2 domain.
2) Note that the Mac address is the source of this frame, this is how the gateway learns of the hosts mac address too
3) Next the gateway responds saying 10.1.1.254 is at (MAC address) directly to host.
With layer 3 its different, application/protocols - it may be intended or not, to send to all hosts in the network for various reasons. Example of this being used would be DHCP.
As seen below:
Hope this helps.
Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Similar Messages

  • Need help with 'division' operation in RTF template

    We are using variables in RTF template to perform all data manipulations
    To calculate columns where we need to do division operation, using ‘/’ or ‘DIV’ is not working.
    Using <?xdofx: op1 DIV op2?> is working only when op1 and op2 are numbers like ex. <?xdofx: 100 DIV 50?> returns result 2.
    But the same tag used for columns or variables is not working.
    For ex.
    <?xdofx: (xdoxslt:get_variable($_XDOCTX, 'var1')) DIV xdoxslt:get_variable($_XDOCTX, 'var2') ?> is not returning any result, though
    <?xdoxslt:get_variable($_XDOCTX, ‘var1’)?>
    <?xdoxslt:get_variable($_XDOCTX, ‘var2’)?>
    both are returning values stand alone.

    On Thu, 03 Jan 2008 00:22:31 -0500, Alan
    <[email protected]> wrote:
    >yes, the use of child page comments in a template file is
    probably the
    >problem. But if that is solved, having two editable
    regions with the same
    >name will cause problems.
    >
    >short version- things be horked big time.
    <chuckle /> Methinks you're right. It looks like the
    copy/paste monster
    has been munching on it. One guess to fix it would be to open
    it in a
    text editor and change this:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    To this:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    And change this:
    <!-- InstanceEndEditable --></head>
    To this:
    </head>
    Gary

  • I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    Hello,
    That means it can find the Hard Drive, or can't find the things needed for booting.
    See if DU even sees it.
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • I need to update my operating system so i can get the latest version of Flash player - 11. This is so I can continue to watch 4 OD. How do I go about this?

    I need to update my operating system to install Flash player version 11 so I can continue to use the 4 od player. How do I go about this? The version of OSX required is 10.6. Can anyone help?

    Make sure your Mac meets the System Requirements for Snow Leopard...
    Snow Leopard Specs:
    http://support.apple.com/kb/SP575
    Mac OS X 10.6 Snow Leopard

  • Do I need to rebuild the operating concern once again.

    Hi,
    I have added extra field to the COPA data soruce (1_CO_PA_XXX) and written CMOD code to populate the data. But I am not able to see the newly added field while trying to fill the data through RSA3.
    1. Why am I not able to see the newly added field.
    2. Do i need to rebuild the operating concern once again? If yes, Do i need to resbuilt in every system or can it be transported?
    3. I am also seeing another data source (1_co_pa_xxx_oc). What's the difference between data sources 1_CO_PA_XXX and 1_co_pa_xxx_oc?

    When you're doing a test extraction in RSA3, is the column there but with no data or is the column not even showing up (you may have to right-click on the columns and click on Show... to get the new column to show in RSA3)? Try deugging the 1_CO_PA_XXX DataSource in RSA3 on your R3/ECC source system to determine why the code in CMOD isn't being invoked, or not providing the data. We have been able to modify our 1_CO_PAXXX DataSource by enhancing the extraction structure with an append and then creating code in CMOD, so you shouldn't have to recreate it.
    As for the 1_CO_PA_XXX_CO DataSource, it appears that someone has created a second COPA DataSource. It could be that one was created opposite of the 1_CO_PA_XXX DataSource in that it's account-based v. cost-based or it could be the same basis with different fields.

  • I have a HP laptop, i need a Windows 7 operating disk

    I have a HP laptop that my husband is trying to fix for my sister-n-law.  She purchased it in 2010 and my husband is needing a Windows 7 operating disk in order to fix it.  Could you please let me know how we can get one?
    Thank you

    June1991 wrote:
    I have a HP laptop that my husband is trying to fix for my sister-n-law.  She purchased it in 2010 and my husband is needing a Windows 7 operating disk in order to fix it.  Could you please let me know how we can get one?
    Thank you
    Hi, try this:
    http://www.pcworld.com/article/248995/how_to_install_windows_7_without_the_disc.html
    Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
    Testing - HP 15-p000
    HP Touchpad provided by HP
    Currently on Debian Wheeze
    *Please, help other users with the same issue by marking your solved topics as "Accept as Solution"*

  • I need to update my operating system from 10.5.8 to 10.6, I believe its the one before snow leopard and is just called leopard.

    i need to update my operating system from 10.5.8 to 10.6 on my mac mini, I believe its the one before snow leopard and is just called leopard.

    You seem to have your OS's confused.   Your profile says 10.6 but you are asking to update from 10.5.8.
    10.5.8 is Leopard.   It is also the highest level of Leopard you can achieve.
    10.6.(x) is Snow Leopard.   And 10.6.8 is the highest level you can achieve.
    If you have 10.6 then all you will need to do is download and apply the combo updater.
    If you have 10.5.8, then you will need to review the machine ... Mac OS X v10.6 Snow Leopard -Read the Technical Specifications
    Subject the machine will take it, you will then need to buy Snow Leopard from your National on-line Apple store.
    Before you start upgrading, back up your files.   If you are unsure how best to do this, the following link is hugely informative.   Most commonly used backup methods: Apple Support Communities
    Once you have upgraded to Snow Leopard, your upgrade will take you to 10.6.3 and you then will need to apply the Combo updater.  Mac OS X 10.6.8 Update Combo v1.1
    and follow with software updates to pick up the most recent security and iTunes updates.
    This will give you the best and highest level includine the App Store.
    Good luck.

  • Need help in String operations

    HI all,
    I need help in String operations.I am getting file path of an image as
    c:\test\img\abc.gif"
    I need to convert it in to c:/test/img/abc.gif".
    Can any one suggest the solution for this.
    Thanks,
    Durga.

    [email protected] wrote:
    I used String replace method but I am not able to do it because "/" is a special character."/" is not a special character, "\" is a special character, which needs to be escaped by "\" itself.

  • I need to install an operating system on your hard Disk

    My hp laptop is 1 year old and is advising I need to install an operating system on my hard disk? What do I do?

    It did have an operating system before right? The hard drive has gotten corrupted or possibly has died. Try hitting F10 as you power up, go into the BIOS (setup) and run the hard drive test to see if it can pass. If so, you have a corruption of the boot files on the hard drive. If there is a failure you are going to have to get a new hard drive. A merely corrupt as opposed to damaged drive can be fixed by running a hard drive scan and repair utility or possibly the operating system will have to be reinstalled. This kind of thing can be caused by a virus, for example. Post back with the results of the hard drive test and we can walk you through your options. I am assuming you are past the warranty period.

  • Cannot push from ipad calendar either wirelessly or by sync through itunes into macbook running 10.5.8 is this because I need to update my operating system?

    cannot push from ipad calendar either wirelessly or by sync through itunes into macbook running 10.5.8 is this because I need to update my operating system?

    cannot push from ipad calendar either wirelessly or by sync through itunes into macbook running 10.5.8 is this because I need to update my operating system?

  • Hi all. I can't seem to update my itunes and my Iphone 4,do I need to update my operating system?

    Hi all. I can't seem to update my itunes and my Iphone 4,do I need to update my operating system?

    Jaiden106 wrote:
    I'm running Mac OS X version 10.5.8
    The first step in Upgrading... is to Snow Leopard = OS X 10.6.x
    It is Not available as a download... It is a Paid Upgrade.
    Do this first...
    Check that your Mac meets the System Requirements for Snow Leopard...
    Snow Leopard Tech Specs
    http://support.apple.com/kb/SP575
    If so... Purchase a Snow Leopard Install Disc...
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    Other countries...
    http://support.apple.com/kb/HE57
    After the Successful Install, run Software Update to get the latest updates for Snow Leopard and iTunes.
    Be sure to make a Backup of your Current System Before Upgrading...
    NEXT:
    Check that your Mac meets the System requirements for Lion...
    Lion Tech Specs  >  http://support.apple.com/kb/SP629
    If so Contact Apple in your Country to Purchase a Lion Download code...
    http://support.apple.com/kb/HE57
    In the US...
    1-800-MY-APPLE or 1-800-676-2775
    Be sure to make a Backup of your Current System Before Upgrading...
    Also... Check here for compatibility of 3rd party Software you may be using...
    http://roaringapps.com/apps:table
    You should also consider more RAM... Lion is a hungry beast...
    It is important to get the Correct and Matching RAM
    See Here  >  OWC RAM  >  http://www.macsales.com
    The above site also has videos on how to Install RAM should you need it..

  • I need to update my operating system, and I am not sure which to purchase.  I currently have OS 10.5.8

      I need to update my operating system, and I am not sure which to purchase.  I currently have OS 10.5.8. Which one should I buy?

    Click here.
    (79581)

  • Need clarity on data federator workarounds for BW as mentioned in threads

    Hi Experts,
    We checked a related thread with (Re: Restricted key figures from a Data Federator Universe), with Ingo Hilgefort's reply that we can create filtered measures on universe level, but in our scenario it is not working, since in the generated SQL, all the where conditions created for filtered measures are getting combined with AND operator, and hence not producing any report.
    For eg, if we are creating two different filtered measures for sales in US, and sales in UK, the generated SQL will combine the conditions as below:
    select sales, sales from <tbl name>
    where country = "US" AND country = "UK"
    which definitely wouldn't produce any result, since country can be either US or UK, not both for any record.
    We need to know how to proceed with this scenario.... will it be by creating aliases for fact table and using different contexts, writing subqueries in custom SQL, or any other workaround...?
    Guidance on the same is needed urgently. Please share your experience and thoughts regarding the same.
    Regards,
    Suzane

    You can do a DB Connect to MySQL DataBase. What is the OS and DB of your BW app server and OS for My SQL.
    refer: http://help.sap.com/saphelp_nw70/helpdata/EN/58/54f9c1562d104c9465dabd816f3f24/frameset.htm for list of supported DB's
    If you want to automate the flat file, than write a SQL procedure to generate a CSV file daily from the DB.
    Use OS command in the process chain to copy file to the BW server
    Next perform data load in process chain.

  • All you need to know about Operator-Variant softwa...

    There are lots of myths and misunderstandings about phone software, and you don't need to search far on this forum to see the issues that can be caused, so this post will try to answer the common questions.
    What is Operator Variant / Branded phone software?
    In many markets, mobile network operators dominate the sale of mobile phones, and their power in the market gives them the leverage to demand changes to the phones that they sell. Branding may include unique colour schemes for outer casings, logos on cases, default themes showing the network logo and using network colours, changes to the phone software to remove features, change features or add extra features, and in some cases different pre-installed applications.
    What features might be missing?
    Common ommissions in branded phones are features for which the network makes no money. For example, some networks including Vodafone removed VOIP capabilities from their versions of the N95 in many markets because they preferred their customers to make chargeable GSM calls instead. Another good example is the American network AT&T, which removes the voice-dialling feature of phones in favour of its own network-based service which requires a monthly subscription.
    You will often also find that the section of the S60 Settings Wizard that deals with settings for MMS and internet access points is also missing, making it difficult for people who switch to other networks to reconfigure their phones for the new provider.
    Who changes the software?
    You often see people saying that "(operator name) changes the software...", but this isn't strictly true - your operator doesn't open every box and change the software before selling you the phone, they provide a list of their required modifications to the phone manufacturer before they accept to place any orders, and the modified (or branded) software is then presented back to the network for approval, after which orders are placed - the phone leaves the factory in its branded state, and in many cases in a SIM-locked state.
    Why can't I update?
    The network holds intellectual rights to the branded software, and just as they approve the changes in the initial version before they begin to sell any particular model, they also exercise the right to approve software updates before the manufacturer can release them. This often causes delays to software releases, and can even prevent software releases. For example, our old friends the Orange and T-mobile groups hit N95 owners by refusing to approve v20 for their branded versions at a time when N-Gage gaming was being relaunched, meaning that N95 users couldn't meet the minimum software requirements to run N-Gage software.
    It is common for networks to stop approving updates after they stop selling a particular model, as they no longer see any profit in supporting the handset any more. Some networks, and any customers of the Hutchinson 3G group around the world will testify to this, seldom approve any updates at all. If you have a problem related to software and call your network for support, expect to be told that the problem is a delay on the part of the manufacturer, but this common excuse is simply untrue - the manufacturer can only release updates for branded phones when it receives network approval.
    Why does branded software cause so many problems?
    This one you'll never get an official answer to, because the phone manufacturers and mobile networks walk a fine line in their professional relationships, but my educated guess is that the manufacturer doesn't extensively test modified operator-variant software because since the network needs to give approval, it is assumed they will test that the changes meet their requirements and work correctly. The network likewise doesn't fully test the software because it assumes that the manufacturer has done it - classic lack of communication.
    Can I remove branding and install the standard Nokia software?
    Strictly speaking, No. There are plenty of people on the internet ready to tell you how to do it and provide software to help, but anything you do yourself is an unauthorised change that will invalidate the warranty. You risk causing additional damage to an expensive phone and losing support to repair it.
    It is known that you can have this officially changed by a Nokia service point or Flagship store, provided that any SIM-lock has already been officially removed by the network, and in some cases that the network provides written consent for this change; the phone would be changed to a generic product code, the software reflashed, and if completed properly, a new product information label will be put in the battery compartment reflecting the change. However, we also know from this forum that not all service points offer this service, and in some countries the local Nokia head office does not permit it.
    It's my phone, I bought it, I own it, I can do as I please!
    Yes, and no. Network operators and retailers are guilty of not warning customers that their product is a modified version rather than an original version, but at the end of the day you have paid for and accepted a branded phone. In order to benefit from the support of the device warranty, any work has to be carried out by an authorised person, just like any other product from calculators to cars.
    Edit: one of my trademark typos corrected.
    Message Edited by mccbleue on 13-Oct-2009 05:17 PM

    Make sure you have entered your Voyager licence code in CMC.
    I'm using BOXI R3. but is same for BOXIR2 Make sure you have defined a voyager connection in the CMC.
    in here you need to specify
    Server type: Server
    Server: your SSAS 2005 server name
    then click the Connect and type a user ID with appropriate authority to the cubes.
    then select the cube you want.
    then specify:
    Authentication: User Specified
    User: Authorised user
    Password:
    Click Save.
    You then should be able to create a new Vouager workspace from the infoview.
    Hope this Helps (ive got about 20 cubes accessed by Vouager... not such a flash viewer but its the only thing BO offer. OLAP intelligence (a good product) is no longer available!

  • HT1364 I need to reload my operating system on my computer.  I created a folder, itunes media, on a external drive. When I download itunes again how do move my library information back?

    I have to reload my operating system.  I created and copied my library info to a folder, itunesmedia, on a external drive.  when I download itunes again, how do move the files back?

    You need to follow the moving media per: http://support.apple.com/kb/HT1364

Maybe you are looking for

  • How to rename a macbook pro 13 inch 10.7.3 version

    how to rename a macbook pro 13 inch 10.7.3 version?

  • How can I login and retrieve my user file from the trash?

    I was trying to find out where all my HD had gone, which a did using 'What Size'. I found what looked like an old backup file so I put the file in the trash. It turns out that the file was my user file. So now I can't login to as the user. How can I

  • Outlook Sync issue - Calendar Note Field not synci...

    Hello I recently bough a 6233. Very happy with the phone BUT for one issue. I work from two offices and planned to use the phone to carry meeting & appointment data between two computers (syncing both). When I sync with outlook the large notes field

  • Xi-Fi Fatal1ty update , software no longer works

    just bought fatality card and installed with drivers /software of cd, then went to creatives site and downloaded newest driver 2.07.004 released 5//05, now none of the software works, stating audio device incompatible!, tried rebooting and also reins

  • Can't delete baggage files/folders

    Running robohelp x3, I've somehow generated files in my baggage files that I can't delete. They are missing files (since I didn't create them in the first place) and I can't delete their reference or (because they are referenced) the folder it's in.