The second experiment: the use of paker tracer application layer protocol analysis

Name: ZHANG Li-fen

Student ID: 201821121095

Class: calculated 1814

1 Purpose

Familiar with Packet Tracer tool. Analysis caught application layer protocol packets, application layer protocol-depth understanding, including syntax, semantics, timing.

2 experimental content

Use Packet Tracer, properly configured network parameter, packet data capture and analysis application layer protocol, the protocol comprising DNS, FTP, DHCP, stmp, pop3. Steps include:

  • Establish a network topology
  • Configuration parameters
  • Ethereal
  • Analysis of the data packet

3. The test report

1 ) establish a network topology

Packet Tracer selected toolbar at the bottom of the terminal device (End Devices), and select one of the analog device pc and Serve connected;

        

 

 

 

 

Network topology is as follows:

 

 

 

2) configuration parameters

Configuration Client IP address (eg: 192.168.1.xx)

Format related to domain names can be used: firstname.lastname

1. Click on the pc, select Desktop in the IP Confiquration, the following picture appears:

 

 

 2. Configure the IP address of the pc, as follows:

 

 

 

 3. The method of configuring the same IP address as the serve, this time to pay attention to with the same address can not you just configured.

 

 

3.1 DNS

1 ) configuration parameters

1. Set the server's DNS service, add the relevant domain name information, while DNS Service option is selected ON :

 

 

 

2. The pc end of the DNS Server 's address to Serve address of the client;

 

 

 

3. In the pc end Web Browser of the URL enter the domain name added in

 

 

 

4. Select the capture option only DNS

 

 


5.
Click play to start capture

2) capture and analyze packets captured

 

 

 

 

 

 

 

 

 

 

NAME, represents the domain name information to be queried, lifen as second level domain, zhang as a domain name;

 TYPE, represents the query type; CLASS: Query categories: usually 1, stands for Internet data. 0 only when the cache but not output.

LENGTH: Resource data length IP: IP address corresponding to the domain name.

3.2 FTP

1 ) configuration parameters:

1. Set the server's FTP service, select Service is on only select, capture option FTP

 

 

 

 

 

2. Enter the commands on the command line in the Command Prompt pc end:

 

 

 

3. capture success.

 

 

 

2 ) analysis of the captured data packet:

 

Code: 230 represents the successful landing

 

 

 

 

code: 220 represents a successful entry interface

 

 

 

FTP Conmmand: USER user name for outgoing

 

 

 

 

Code: 331 incoming password is required

 

 

 

FTP Command: PASS represented by password authentication

 

3.3 DHCP          

1 ) Configuration

1. Set the service side of the DHCP service, select Service is ON;

2. The pc end Desktop 's IP Confuguration to the DHCP :

 

 

 

3. The capture option only select the DHCP , start packet capture

 

 

 

4. capture success

 

 

 

 

 

 

 

 

 

 

 

 

2 ) analysis of captured data packet

 

 

 

YOUR CLIENT ADDRESS: server assigned to the client's IP address

SERVER ADDRESS: 192.168.1.96: successfully assigned an IP address and server address is 192.168.1.96

SERVER HOSTNAME (64 BYTES): 64 bytes server host name

FILE (128 BYTES): This file contains 128 bytes

3.4 smtp and pop3

1 ) configuration parameters:

1. After configuring the address, set the pc Default Gateway address is the address of Service

2. The DNS Service is set to end on, add the domain name and address information:

 

 

 

3. Select the EMAIL, adding new users at EMAIL:

 

 

 

 

4. PC side of the mailbox option to add your own email account, address, and pop3 and smtp front of the domain name;

 

 

 

4. Set capture options for pop3 and smtp

 

 

 

 


5.
return just the interface, select compose, fill in the appropriate information, click Send:

 

 

 

Click play, start packet capture is displayed:

 

 


2 ) analysis of the captured data packet:

Sent successfully:

 

 

 

Click to receive, to receive success

 

 

 

 

 

 

 

 

 

 

 

 

 

3 ) problems encountered in the experiment: domain name has been displayed error, later found to be wrong setting serve, mail can be sent to normal after corrections.

 

 

Guess you like

Origin www.cnblogs.com/end1/p/11567480.html