HC110110005 Address Resolution Protocol
HC110110005 Address Resolution Protocol
Page 1 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this section, you will be able to:
Explain how the MAC address is resolved using ARP.
Page 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ARP
IP: 10.1.1.1/24 IP : 10.1.1.2/24
MAC: 00-01-02-03-04-AA MAC: 00-01-02-03-04-BB
Host A Host B
Dest IP : 10.1.1.2
Source IP : 10.1.1.1
Data link forwarding relies on knowledge of the MAC address of the data
link layer destination.
Page 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ARP Format
0 15 31
The ARP packet operates within the boundaries of the data link layer, as
can be understood by the absence of an IP header.
Page 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ARP Process
Host B
10.0.0.2
00-01-02-03-04-BB
Host A Host C
10.0.0.1 10.0.0.3
00-01-02-03-04-AA 00-01-02-03-04-CC
Page 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ARP Cache Lookup
Host B
10.0.0.2
00-01-02-03-04-BB
Host A Host C
10.0.0.1 10.0.0.3
00-01-02-03-04-AA 00-01-02-03-04-CC
Host A>arp -a
Page 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ARP Request Process
Host B
10.0.0.2
00-01-02-03-04-BB
Host A Host C
10.0.0.1 10.0.0.3
00-01-02-03-04-AA 00-01-02-03-04-CC
Page 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ARP Reply Process
Host B
10.0.0.2
00-01-02-03-04-BB
Host A Host C
10.0.0.1 10.0.0.3
00-01-02-03-04-AA 00-01-02-03-04-CC
Host C>arp -a
Internet address Physical address Type
10.0.0.1 00-01-02-03-04-AA Dynamic
Page 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ARP Reply Process
Host B
10.0.0.2
00-01-02-03-04-BB
Host A Host C
10.0.0.1 10.0.0.3
00-01-02-03-04-AA 00-01-02-03-04-CC
Page 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Page 9
ARP Cache
Host B
10.0.0.2
00-01-02-03-04-BB
Host A Host C
10.0.0.1 10.0.0.3
00-01-02-03-04-AA 00-01-02-03-04-CC
Host A>arp -a
Internet address Physical address Type
10.0.0.3 00-01-02-03-04-CC Dynamic
Page 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Proxy ARP
Proxy
G0/0/0 G0/0/1
10.1.0.2/16 10.2.0.2/16
Host A Host B
10.1.0.1/8 10.2.0.1/8
IP: 10.0.0.1/24
MAC: 00-01-02-03-04-AA
Host A
When are gratuitous ARP messages generated and propagated on the local
network?
Page 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com