NWC204 Lab4 SE162147
NWC204 Lab4 SE162147
Mọi host trên Lan sẽ cùng được nhận broadcast frame. Host với địa chỉ ip là 192.168.1.1 sẽ gửi lời nhắn
ở chế độ unicast đến PC host ( source). Lời nhắn sẽ chứa địa chỉ MAC của card mạng default gateway
Why does the PC send out a broadcast ARP prior to sending the first ping request?
PC không thể gửi ping request tới host khi mà chưa được xác nhận địa chỉ MAC. Nên PC phải tạo frame
header cho việc ping. ARP broadcast thường được dùng để yêu cầu địa chỉ MAC của host với địa chỉ IP
được chứa trong ARP.
f0:1f:af:50:fd:c8
What is the Vendor ID (OUI) of the Source NIC in the ARP reply?
Netgear
3 octets đầu tiên của địa chỉ MAC biểu diễn OUI
99:c5:72
Part 2: Use Wireshark to Capture and Analyze Ethernet Frames
filter icmp only and ping to default gateway then stop capture
In the first echo (ping) request frame, what are the source and destination MAC addresses?
Source:c0:b5:d7:5f:b5:40
Type your answers here.
Destination: 00:2b:67:ea:71:6d
Type your answers here.
What are the source and destination IP addresses contained in the data field of the frame?
Source: 192.168.1.11
Type your answers here.
Destination: 23.7.211.81
Type your answers here.
Compare these addresses to the addresses you received in Step 6. The only address that
changed is the destination IP address. Why has the destination IP address changed, while the
destination MAC address remained the same?
Frames từ Layer 2 chỉ nằm trong mạng LAN. Khi ping được gửi đến remote host thì source sẽ
dùng địa chỉ MAC của default gateway cho frame destination. Khi default gateway nhận packet
thì sẽ tách thông tin Layer 2 frame từ packet và tạo một frame header mới với địa chỉ MAC tiếp
theo. Quá trình nãy sẽ chuyển tiếp từ router này đến router kia cho đến khi packet đến được địa
chỉ IP destination.
Reflection
Wireshark does not display the preamble field of a frame header. What does the preamble
contain?
Trường mở đầu chứa 7 octets của chuỗi 1010 tuần tự và một octets sẽ kí hiệu điểm bắt đầu của
frame,10101011
7.2.7 Lab - View Network Device MAC Addresses
Part1: Configure Devices and Verify Connectivity
What is the OUI portion of the MAC address for this device? 5C-26-0A
Type your answers here.
What is the serial number portion of the MAC address for this device? 24-2A-60
Type your answers here.
Using the example above, find the name of the vendor that manufactured this NIC
Dell Inc.
Dell Inc.
One Dell Way, MS RR5-45
Round Rock 78682
US
From the command prompt on PC-A, issue the ipconfig /all command
identify the OUI portion of the MAC address for the NIC of PC-A
0005.5E
Identify the serial number portion of the MAC address for the NIC of PC-A.
B4.A52D
Identify the name of the vendor that manufactured the NIC of PC-A.
Cisco Systems, Inc
Cisco Systems, Inc
80 West Tasman Drive
San Jose CA 94568
US
Analyze the MAC address for the S1 F0/6 interface.
Did the switch display the MAC address of PC-A? If you answered yes, what port was it on?
Yes, It was on Port Fa0/4
Reflection Questions
Can you have broadcasts at the Layer 2 level? If so, what would the MAC address
be?
Broadcasts có ở layer . ARP dùng broadcast để tìm thông tin về địa chỉ MAC
What MAC addresses are recorded in the table? To which switch ports are they mapped and to
which devices do they belong? Ignore MAC addresses that are mapped to the CPU.
S1 MAC address được ghi lại và thuộc port Fa0/1,thiết bị PC-A
If you had not previously recorded MAC addresses of network devices in Step 1, how could you
tell which devices the MAC addresses belong to, using only the output from the show mac
address-table command? Does it work in all scenarios?
Show mac address-table chỉ ra những port mà địa chỉ MAC kết nối, giúp xác thực lưới mạng mà
thiết bị với địa chỉ MAC thuộc,trừ trường hợp nhiều địa chỉ MAC cùng kết nối 1 port.
Clear the S2 MAC address table and display the MAC address table again.
Does the MAC address table have any addresses in it for VLAN 1? Are there other MAC
addresses listed?
Không xuất hiện kết quả nào
Wait 10 seconds, type the show mac address-table command, and press Enter. Are there new
addresses in the MAC address table?
Xuất hiện lại kết quả mới.
From PC-B, ping the devices on the network and observe the switch MAC address
table.
b. From PC-B, open a command prompt and type arp -a.
Not including multicast or broadcast addresses, how many device IP-to-MAC address pairs have
been learned by ARP? Không xuất hiện device IP-to MAC address
c. From the PC-B command prompt, ping PC-A, S1, and S2.
d.
Did all devices have successful replies? If not, check your cabling and IP configurations ?
Ping tới các thiết bị đều thành công
From a console connection to S2, enter the show mac address-table command
e. .
Open a configuration window
Has the switch added additional MAC addresses to the MAC address table? If so, which
addresses and devices?
Xuất hiện thêm nhiều địa chỉ MAC mới, là địa chỉ MAC của S1,S2 và PC-A.
Does the PC-B ARP cache have additional entries for all network devices that were sent pings?
Có, các địa chỉ được ping đã xuất hiện.
Reflection Question
On Ethernet networks, data is delivered to devices by their MAC addresses. For this to happen,
switches and PCs dynamically build ARP caches and MAC address tables. With only a few
computers on the network this process seems fairly easy. What might be some of the challenges on
larger networks?
ARP broadcast cos thể gây loạn broadcast. Vì ARP và switch MAC table không xác thực hay kiểm tra
các địa chỉ IP đến địac chỉ MAC. Điều này có thể xuất hiện hiện tượng giả mạo các thiết bị trên mạng
Type your answers here.