ARQ Protocols Lectures3 - 4
ARQ Protocols Lectures3 - 4
ARQ Protocols Lectures3 - 4
MIME
TCP UDP
IP
Layer 7: Application
Layer 5: Session
2
ARP
Broadcast
3
1. In this case, IP confirms that the IP address is for the local network.
The source host then check its own ARP cache for the IP
address/hardware address mapping of the destination host.
2. Finding no mapping, the source host broadcasts an ARP request.
The source host’s IP address and hardware address are included in
the request.
3. Each host on the local network receives the broadcast and checks
for a match to its own IP address. If there is no match, the request
is ignored.
4. The destination host determines that the IP address matches its
own IP address and sends an ARP reply containing its hardware
address directly to the source host. It then updates its ARP cache
with the IP address/hardware address mapping of the source host.
Communication is established when the source host receives the
reply.
4
1 ARP Cache ARP Cache
ARP Cache
131.170.185.1 131.170.100.1
08005… Router 08006…
ARP A B
Broadcast
2
5 ARP for
IP Address = 131.170.185.31 Router B IP Address = 131.170.100.55
Hardware Address = 08004… Hardware Address = 08009…
Bit: 0 8 16 31
Hardware Type Protocol Type
HLEN PLEN Operation
28 Sender HA (octets 0-3)
octets Sender’s HA (octets 4-5) Sender’s PA (octets 0-1)
Sender’s PA (octets 2-3) Target’s HA (octets 0-1)
Target’s HA (octets 2-5)
Target’s PA (octets 0-3)