31.07.2015 Views

network protocols handbook.pdf

network protocols handbook.pdf

network protocols handbook.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

97Protocols GuideTCP/IP - Data Link Layer ProtocolsData Link Layer ProtocolsProtocol NameARP and InARP: Address ResolutionProtocol and InverseARPProtocol DescriptionAddress Resolution Protocol (ARP) performs mapping of an IPaddress to a physical machine address (MAC address for Ethernet)that is recognized in the local <strong>network</strong>. For example, in IPVersion 4, an address is 32 bits long. In an Ethernet local area<strong>network</strong>, however, addresses for attached devices are 48 bitslong. A table, usually called the ARP cache, is used to maintaina correlation between each MAC address and its correspondingIP address. ARP provides the rules for making this correlationand providing address conversion in both directions.Since protocol details differ for each type of local area <strong>network</strong>,there are separate ARP specifications for Ethernet, Frame Relay,ATM, Fiber Distributed-Data Interface, HIPPI, and other <strong>protocols</strong>.InARP is an addition to ARP to address ARP in FrameRelay environment.There is a Reverse ARP (RARP) for host machines that don’tknow their IP address. RARP enables them to request their IPaddress from the gateway’s ARP cache. Details of RARP arepresented in a separate document.Protocol StructureARP and InARP have the same structure:7 Dynamic RARP error.8 InARP request.9 InARP reply.• Sender hardware address -HLen bytes in length.• Sender protocol address - PLen bytes in length.• Target hardware address - HLen bytes in length.• Target protocol address - PLen bytes in length.Related <strong>protocols</strong>ARP, RARP, InARPSponsor SourceARP/IARP are defined by IETF (http://www.ietf.org) in RFC 826,2390, 2625.Referencehttp://www.javvin.com/protocol/rfc826.<strong>pdf</strong>An Ethernet Address Resolution Protocolhttp://www.javvin.com/protocol/rfc2390.<strong>pdf</strong>Inverse Address Resolution Protocol (Frame Relay)http://www.javvin.com/protocol/rfc2625.<strong>pdf</strong>IP and ARP over Fibre Channel16 32 bitHardware TypeProtocol TypeHLen Plen OperationSender Hardware AddressSender Protocol AddressTarget Hardware AddressTarget Protocol Address• Hardware type - Specifies a hardware interface type forwhich the sender requires a response.• Protocol type - Specifies the type of high-level protocoladdress the sender has supplied.• Hlen - Hardware address length.• Plen - Protocol address length.• Operation - The values are as follows:1 ARP request.2 ARP response.3 RARP request.4 RARP response.5 Dynamic RARP request.6 Dynamic RARP reply.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!