ARP
When a device needs to send an IP packet to another device on the local network, the IP software will first check to see if it knows the hardware address associated with the destination IP address. If it founds then the sender simply transmit the data to the destination. However, if the destination system's hardware address is not known then the IP software has to locate it before any data can be sent. at this point, IP will call on ARP to locate the hardware address of the destination system.
ARP achieves this task by issuing a low level broadcast onto the network, equesting that the system that is using the specified IP address respond with its hardware address. if the destination system is powered up and on the network, it will see this broadcast (As will all of the other devices on the local network), and it will return an ARP response back to the original system. not that the response is not broadcast back of the network. but is instead sent directly to the requesting device.
When a device needs to send an IP packet to another device on the local network, the IP software will first check to see if it knows the hardware address associated with the destination IP address. If it founds then the sender simply transmit the data to the destination. However, if the destination system's hardware address is not known then the IP software has to locate it before any data can be sent. at this point, IP will call on ARP to locate the hardware address of the destination system.
ARP achieves this task by issuing a low level broadcast onto the network, equesting that the system that is using the specified IP address respond with its hardware address. if the destination system is powered up and on the network, it will see this broadcast (As will all of the other devices on the local network), and it will return an ARP response back to the original system. not that the response is not broadcast back of the network. but is instead sent directly to the requesting device.
ARP structure
ARP packets work at the data-link layer, the same as IP packets. As such, ARP packets are completely separate from IP packets; they even have a different protocol ID of 0806, instead of 0800 as used with IP.ARP packets contain several fields, although only five of them are actually used to proved ARP's functionality.Field | Usage |
---|---|
Source Hardware address | The hardware address of the sender's device |
Source IP address | The network address of the senders device |
Destination Hardware address | The hardware address of the receiver's device (when this field is unknown ARP set it to all-zero) |
Destination IP address | The network address of the reciver's device |
Message-Type | Indicates whether the current ARP packets is a request or a response to a request |
No comments:
Post a Comment