0% found this document useful (0 votes)
17 views7 pages

Lab 4

The document outlines the steps for configuring IP addresses on network devices, naming switches and routers, and displaying interface statistics on R1. It includes commands for checking routing tables, generating ARP requests, and examining MAC address tables. Additionally, it provides specific questions and expected answers related to the configuration and network behavior during the lab exercise.

Uploaded by

anhtai80605
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views7 pages

Lab 4

The document outlines the steps for configuring IP addresses on network devices, naming switches and routers, and displaying interface statistics on R1. It includes commands for checking routing tables, generating ARP requests, and examining MAC address tables. Additionally, it provides specific questions and expected answers related to the configuration and network behavior during the lab exercise.

Uploaded by

anhtai80605
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Lab 4

- 1. Thực hiện cấu hình IP các thiết bị mạng như hình ( 2.5đ)
- 2. Đặt tên các thiết bị Switch, router như hình (0.5 đ)
 Enter the command to display the statistics for the Serial 0/1/0 interface on R1
and answer the following questions: (0.5đ)


 What is the IP address configured on R1?
- 100.10.3.1.
 What is the bandwidth on the Serial 0/1/0 interface?
-The bandwidth (BW) of the Serial 0/1/0 interface is 1544 Kbit as shown
in the output under the "MTU 1500 bytes, BW 1544 Kbit" line.
 Enter the command to display the statistics for the GigabitEthernet 0/0/0 interface
and answer the following questions: (0.5đ)

 What is the IP address on R1?


-The IP address on R1 for the GigabitEthernet 0/0/0 interface is
172.16.3.1/24.
 What is the MAC address of the GigabitEthernet 0/0/0 interface?
-The MAC address of the GigabitEthernet 0/0/0 interface is
00e0.8f8c.0301.
 What is the bandwidth (BW) of the GigabitEthernet 0/0/0 interface?
-The bandwidth of the GigabitEthernet 0/0/0 interface is 1000000 Kbit (or
1 Gbit).
- 3. Gõ các câu lệnh route trên 2 router R1, R2 theo cấu trúc (0.5đ)
R1(config)# ip route < remote network> <next-hop ip address/ exit interface>

-
- 4. Kiểm tra routing table trên R1, R2:

a. What command displays the contents of the routing table? (0.5đ)


-Show ip route
b. Enter the command on R1 and answer the following questions: (0.5đ) ( chụp hình)
1) How many connected routes are there (uses the C code)?
- There are three connected routes (C):
 100.10.3.0/24 directly connected, Serial0/1/0
 172.16.3.0/24 directly connected, GigabitEthernet0/0
 172.17.3.0/24 directly connected, GigabitEthernet0/0/1
2) Which route is listed?
-For the connected routes, we have:
+ 100.10.3.0/24
+ 172.16.3.0/24
+ 172.17.3.0/24
3) How does a router handle a packet destined for a network that is not listed in the routing
table?
-If the router receives a packet for a destination network that is not listed in the
routing table, it will drop the packet because it does not have a route to forward it. If
a default route (gateway of last resort) is configured, it would forward the packet
there instead. However, in this case, the gateway of last resort is not set, so the
packet will be dropped.

- 5. Kiểm tra ARP-request

Step 1: Generate ARP requests by pinging PC1 from PC0.(3đ)


Open a command prompt
a. Click PC0 and open the Command Prompt.
b. Enter the arp -d command to clear the ARP table.
Close a command prompt
c. Enter Simulation mode ( select edit filter, and click only to ARP and ICMP) and enter the
command ping < IP address PC1>. Two PDUs will be generated.
d. Click Capture/Forward once. The ARP PDU moves SW1 while the ICMP PDU disappears,
waiting for the ARP reply. Open the PDU and record the destination MAC address. ( chụp hình)
Question:
Which device does this address belong to?
-the IP address 172.16.3.13 belongs to PC0
Type your answers here.
e. Click Capture/Forward to move the PDU to the next device.
Question:
How many copies of the PDU did SW1 make?
- 2
What is the IP address of the device that accepted the PDU?
- PC1
f. Open the PDU and examine Layer 2.
Question:
What happened to the source and destination MAC addresses?
- Source MAC became destination MAC ,the broadcast destination turned into MAC address
g. Click Capture/Forward until the PDU returns to PC0.
Question:
How many copies of the PDU did the switch make during the ARP reply?
- 1

Step 2: Examine the ARP table. (1d)


a. Note that the ICMP packet reappears. Open the PDU and examine the MAC addresses.
Question:
Do the MAC addresses of the source and destination align with their IP addresses?
- yes
Type your answers here.
b. Switch back to Realtime and the ping completes.
c. Click PC0 and enter the arp –a command.
Question:
To what IP address does the MAC address entry correspond?
- 172.16.3.14

In general, when does an end device issue an ARP request?

- 6. Examine a Switch MAC Address Table


Step1: Generate additional traffic to populate the switch MAC address table.(1.0đ)
Open a command prompt
d. From PC0, enter the ping PC3 command.
e. Click PC3 and open the Command Prompt.
f. Enter the ping < IP address PC2> command.
Question:
How many replies were sent and received?
- 4 replies were sent and received
Close a command prompt
Step 2: Examine the MAC address table on the switches. (0.5đ)
g. Click SW1and then the CLI tab. Enter the show mac-address-table command.
Type your answers here.
h. Click SW0, then the CLI tab. Enter the show mac-address-table command.

You might also like