Saturday, August 10, 2019
Simulation of Address Resolution Protocol Dissertation
Simulation of Address Resolution Protocol - Dissertation Example HTYPE (Hardware Type). This is a 16-bit field defining the type of the network on which ARP is running. Each LAN has been assigned an integer based on its type. For example, Ethernet is given the type 1. ARP can be used on any physical network. PTYPE (Protocol Type). This is a 16-bit field defining the protocol. For example, the value of this field for the IPv4 protocol is 080016. ARP can be used with any higher-level protocol. HLEN (Hardware Length). This is an 8-bit field defining the length of the physical address in bytes. For example, for Ethernet, the value is 6. PLEN (Protocol Length). This is an 8-bit field defining the length of the logical address in bytes. For example, for the IPv4 protocol, the value is 4. OPER (Operation). This is a 16-bit field defining the type of packet. Two packet types are defined: 1 for ARP request and 2 for ARP reply. SHA (Sender Hardware Address). This is a variable-length field defining the physical address of the sender. For example. For Ethernet this field is 6 bytes long and contains the MAC address of sender. SPA (Sender Protocol Address). This is a variable-length field defining the logical (for example, IP) address of the sender. For the IP protocol, this field is 4 bytes long. THA (Target Hardware Address). This is a variable-length field defining the physical address of the target. For example, for Ethernet, this field is 6 bytes long. For an ARP request message, this field is all 0s because the sender does not know the physical address of the target.... ARP can be used with any higher-level protocol. HLEN (Hardware Length). This is an 8-bit field defining the length of the physical address in bytes. For example, for Ethernet, the value is 6. PLEN (Protocol Length). This is an 8-bit field defining the length of the logical address in bytes. For example, for the IPv4 protocol, the value is 4. OPER (Operation). This is a 16-bit field defining the type of packet. Two packet types are defined: 1 for ARP request and 2 for ARP reply. SHA (Sender Hardware Address). This is a variable-length field defining the physical address of the sender. For example. For Ethernet this field is 6 bytes long and contains the MAC address of sender. SPA (Sender Protocol Address). This is a variable-length field defining the logical (for example, IP) address of the sender. For the IP protocol, this field is 4 bytes long. THA (Target Hardware Address). This is a variable-length field defining the physical address of the target. For example, for Ethernet, this field is 6 bytes long. For an ARP request message, this field is all 0s because the sender does not know the physical address of the target. TPA (Target Protocol Address). This is a variable-length field defining the logical (for example, IP) address of the target. For the IPv4 protocol, this field is 4 bytes long. Encapsulation: An ARP packet is encapsulated directly into a data link frame. For example, an ARP packet is encapsulated in an Ethernet frame. Operation: Let us see how ARP functions on a typical internet. First, the steps involved have been described, then the four cases in which a host or router needs to use ARP have been discussed. STEPS INVOLVED. These are the steps involved in an ARP process: 1. The
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.