Task 01 - DNS ARP
Task 01 - DNS ARP
Introduction:
Simulation mode in Packet Tracer captures all network traffic flowing through the entire network .
You will observe the packets involved in DNS and ARP process. These two protocols are the
helping protocols when a web page is requested using HTTP.
Objectives:
• PC0, PC1 and the Local DNS server, BRACU router is part of a Local area network.
BRACU router connects this LAN to the Internet through an ISP. The Test server shown
is on another Local area network.
• You will access the web page www.test.com which is stored in the Test Web Server
through PC1’s web browser.
• To access this web page this activity will show you how and what packets are created and
how the packets move through the network.
• For this activity we will only focus on DNS and ARP.
• In simulation mode, you can visually see the flow of packets when you send data
from an application. A new window named “Event List” will appear. This window will
show the packets (PDUs) as colored envelopes.
•
Step 2 – Run the simulation and capture the traffic.
• Click on the PC1. Click on the Desktop tab. Open the Web Browser from the Desktop.
• Write www.test.com into the browser. Clicking on Go will initiate a web server request.
Minimize the PC1 Client window.
• Look at the Event List Window. Two packets appear in the Event List, a DNS request
from PC1 to the Local DNS server needed to resolve the URL “www.test.com” to the IP
address of the Test server.
• Before the DNS request can be sent, we need to know the DNS Server’s MAC address.
So the 2nd PDU is the ARP request needed to resolve the IP address of the DNS server
to its hardware MAC address.
• Now click the Auto Capture / Play button in the Event List Window to run the simulation
and capture events.
• Sit tight and observe the packets flowing through the network.
• Find the following packets given in the table above in the Event List, and click on the
colored square in the Info column.
• When you click on the Info square for a packet in the event list the PDU
information window opens.
• This windows displays the OSI layers and the information at each layer for each device.
(At Device).
• If you click on these layers, the algorithm used by the device (in this case, the PC) is
displayed. View what is going on at each layer.
• Examine the PDU information for the remaining events in the exchange.
Packet 1 represents the ARP request by PC1. Which devices’ MAC addresses are included
as source and destination?
Source MAC address: 0002.1692.00BC of PC1.
___________________________________________________________________
Destination MAC address: 0000.0000.0000
___________________________________________________________________
Because it needs to find the MAC address of the test server. The ARP packet can
____________________________________________________________________
resolve the MAC address of the destination device.
_______________________________________________________________________
____________________________________________________________________
Since we don't know the MAC address of the destination device, we must check
___________________________________________________________________
with all the available devices and only the target device will respond to this ARP
packet.
___________________________________________________________________
_________________________________________________________________
Packet 2 represents the ARP reply by the Local DNS server. What is the difference in the
devices’ MAC addresses are included as source and destination?
Here the source MAC address is the DNS server's MAC address and the destination
_________________________________________________________________
MAC address is the PC1's MAC address. It is a response ARP packet which is unidirectional
unlike the request ARP packet.
_________________________________________________________________
Packet 3 represents the DNS request made by PC1, why? Which devices’ IP addresses are
included as source and destination?
Because PC1 needs to know the IP address of the target test server which is stored in
______________________________________________________________________
the local DNS server. This DNS request packet will ask the DNS server for the target test
server's IP address.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Click onto “Inbound PDU details” tab. Scroll down, you should come across “DNS Query”.
What is the purpose of this DNS Query?
___________________________________________________________________
This DNS query will tell the DNS server that PC1 needs to know the IP address of the
___________________________________________________________________
www.test.com website which the DNS server might have.
Packet 4 is the reply from the DNS server, what is the difference between Packet 1 and
Packet 2 source and destination IP addresses?
Src: 192.168.10.2, Dest: 192.168.10.3. Packet 1 & packet 2 didn't have a destination
___________________________________________________________________
IP address, but packet 4 does.
____________________________________________________________________
For packet 4, click onto “Inbound PDU details” tab. Scroll down, do you see anything
different after the DNS query?
Yes, there is a DNS answer present here. This is the answer to the DNS query that
___________________________________________________________________
was sent by PC1 and it contains the IP address of the target test server.
__________________________________________________________________
Packets 5 is the HTTP request for the web page made by PC1.