1. Trang chủ
  2. » Công Nghệ Thông Tin

Packet Tracer Lab: ARP (100 points) ppt

8 295 2
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 8
Dung lượng 243,43 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Step 2: Select ARP and ICMP from the Event List Filters Enter Simulation mode and select only the ARP and ICMP protocols selected in the Event List Filters: Step 3: Perform a simple, l

Trang 1

Packet Tracer Lab: ARP (100 points)

CIS 81, Cabrillo College, Rick Graziani

If you need assistance in using Packet Tracer, refer to the lab Using Packet Tracer

Part 1: ARP and the Local Network

Step 1: Open the following topology

Trang 2

Step 2: Select ARP and ICMP from the Event List Filters

Enter Simulation mode and select only the ARP and ICMP protocols selected in the Event List Filters:

Step 3: Perform a simple, local Ping

Select Add Simple PDU

Select Pc0 as the device that sends the ping:

Select Pc1 as the device that sends the receives the ping:

Trang 3

Step 4: Analyzing the local ping

Using the information in the Event List, explain the sequence of events which is described below Click the forward button and watch as the:

1 Pc0 creates the ICMP ping, Echo

Request

2 Pc0 checks its ARP table and

does not see an entry for the

destination IP Address

3 Pc0 sends an ARP Request

(broadcast) which is flooded out

by Switch0

4 Pc1 sends an ARP Reply

(unicast) which is filtered by

Switch0

5 Pc0 receives the ARP Reply and

adds the IP address and MAC

address to its ARP Table (ARP

Cache)

6 Pc0 sends the ICMP ping, Echo

Request, message that was held

in memory

7 Switch0 filters the ICMP ping,

Echo Request

8 Pc1 sends the ICMP ping, Echo

Reply

9 Switch0 filters the ICMP ping,

Echo Reply

10 Pc0 receives the ICMP ping, Echo

Reply

Trang 4

Examine the individual ICMP and ARP packets

Outcome Part 1:

• Using this information, explain the information in the following fields for both the ARP Request and the ARP Reply

o Ethernet frame:

ƒ Destination MAC Address

ƒ Source MAC Address

ƒ Type

o ARP Message

ƒ Opcode

ƒ Sender MAC address

ƒ Sender IP address

ƒ Target MAC address

ƒ Target IP address

Trang 5

Part 2: ARP and the Remote Network

Step 1: Resetting the Network and Waiting for STP

Whenever you want to reset the network and begin the simulation again, click on Reset Network in the

Event List…

Followed by clicking Delete in the PDU area

Waiting for STP: Click on Realtime mode and wait for green lights on all connections

After the green lights are displayed, click on Simulation to return to mode of operation:

Trang 6

Step 2: Perform a simple, remote Ping

Select Add Simple PDU

Select Pc0 as the device that sends the ping and Pc4 as the device to receive the ping:

The following steps will occur:

1 Pc0 creates the ICMP ping, Echo Request, with Source IP Address of Pc0 and Destination IP Address of Pc4

2 Pc0 checks its ARP table and does not see an entry for the IP Address of the default gateway, Router1

3 Pc0 sends an ARP Request (broadcast) which is flooded out by Switch0

4 Router1 sends an ARP Reply (unicast) which is filtered by Switch0

5 Pc0 receives the ARP Reply and adds the IP address and MAC address to its ARP Table (ARP Cache)

6 Pc0 sends the ICMP ping, Echo Request, message that was held in memory

7 Switch0 filters the ICMP ping, Echo Request

8 Router1 receives the ICMP ping, and removes the Ethernet frame

9 The following information is beyond the scope of this lab and will be discussed later

• At this point the router will lookup the Destination IP Address in its routing table This is beyond the scope of this lab

• Router1 needs to encapsulate the IP packet into an Ethernet frame with the Destination MAC address of Pc4

• Since this information is not in its ARP table, the router issues an ARP Request

• Pc4 returns the ARP Reply

• You will now get the following message from PT:

Trang 7

Note: You will notice that the router does an ARP Request for Pc4, but drops the initial, first, ICMP Echo

Request The Cisco IOS is designed so that if the router receives an ICMP ping, Echo Request for a device

on an Ethernet interface, it will check its ARP cache (table) to see if the destination IP address and MAC address entry is in its ARP table If it is it will forward the ICMP ping, Echo Request If it is not in the ARP table, the router will drop the ICMP ping, Echo Request, but go ahead and issue the ARP Request and wait for the ARP Reply Since most ping programs use multiple Echo Requests (four or more), the next ICMP ping, Echo Request that comes into the router, the router will have the destination IP address and MAC address entry is in its ARP table from the ARP Reply and forward the ICMP message This is designed so that the router uses its memory and processing time effectively

Step 3: Analyzing the remote ping

Outcome Part 2:

• Using this information, explain the information in the following fields for both the ARP Request and the ARP Reply, from Pc0 to Router1

o Ethernet frame:

ƒ Destination MAC Address

ƒ Source MAC Address

ƒ Type

o ARP Message

ƒ Opcode

ƒ Sender MAC address

ƒ Sender IP address

ƒ Target MAC address

ƒ Target IP address

Outcome – Part 3:

• How does your computer decide whether the ARP Request is for the Destination IP Address in the packet or the IP Address of the default gateway (assuming there is not an entry in its ARP Table)?

Trang 8

Step 4: Perform a second simple, remote Ping

DO NOT RESET THE NETWORK

Select Add Simple PDU

Select Pc0 again and send a second ping to Pc4:

Note: This time you will see that the router forwards the ping to Pc4 because it has its IP address and MAC

address in its ARP table from the ARP Request it did in Step 3

Ngày đăng: 27/06/2014, 19:20

TỪ KHÓA LIÊN QUAN

w