+ Reply to Thread
Results 1 to 3 of 3
  1. Junior Member
    Join Date
    Nov 2005
    Posts
    16

    Certifications
    CCNA, CCNP
    #1

    Default arp and default gateway.

    Hi guys am stuck....help!!

    How does a workstation use arp to determine if a host its trying to communicate with is in the local or a remote network? (i would have thought it would do a logical and but the books seem to say am wrong)

    secondly what is the role of the default gateway vis a vis arp?ie why would a workstation choose to send a packet to the default gateway rather than issue an arp broadcast??

    Thirdly,if proxy arp is not enabled on a router connecting two devices,will an arp broadcast be dropped even if the router has a path to the destination network?

    Hope someone can switch on the lights for me.Will really appreciate.
    Reply With Quote Quote  


  2. Login/register to remove this advertisement.
  3. Resident Underachiever EdTheLad's Avatar
    Join Date
    May 2005
    Location
    Globe trotter, nfa
    Posts
    1,843

    Certifications
    CCNP/CCIP/IE Written
    #2

    Default Re: arp and default gateway.

    Quote Originally Posted by melo
    Hi guys am stuck....help!!

    How does a workstation use arp to determine if a host its trying to communicate with is in the local or a remote network? (i would have thought it would do a logical and but the books seem to say am wrong)
    A workstation will examine is local ip address and mask, from this examination it will know the range of possible host addresses on the local segment.If the destination ip address is not within this range, it will use the default gateway.
    To encapsulate the packet,the data is encapsulated with an ip header that contains the src and dest ip address.Then the packet gets encapsulated in a frame,so you need the src and dest mac address!! This is a problem, we dont know the destination mac address to this is why we use arp.
    To send to a remote machine we used the default-gateway, to send to the DG we need the mac address of the default gateway,so the workstation first must arp the DG.


    secondly what is the role of the default gateway vis a vis arp?ie why would a workstation choose to send a packet to the default gateway rather than issue an arp broadcast??
    An arp broadcast is sent, this broadcast has a layer 2 broadcast address FF.FF.FF.FF.FF.FF and the layer 3 ip address of the default-gateway.
    Thirdly,if proxy arp is not enabled on a router connecting two devices,will an arp broadcast be dropped even if the router has a path to the destination network?
    Yes, if the arp broadcast doesnt have the destination ip address of the routers interface
    it will be discarded when proxy arp is disabled.
    Reply With Quote Quote  

  4. Junior Member
    Join Date
    Nov 2005
    Posts
    16

    Certifications
    CCNA, CCNP
    #3
    Hi Ed,
    thanx for that.I realise i was separating layer 2 from three but they work together!!
    Let me digest that.

    thanx alot.
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks