The third test report using Cisco Cacket Tracer TCP connection established analysis

Gilbert 20,162,112,106 calculated 1813

table of Contents

  1. Establish topology

  2. Configuration Parameters

  3. Test

  4. Data analysis

 

1. Establish topology

  Cisco Cacket Tracer establish a connection using the TCP 

  A PC, a router, a server

 

2. Configuration Parameters

  Pc Ip address is 192.168.1.26       Default Gateway is 192.168.1.27

    Server Ip address is 192.168.2.26  Default Gateway is 192.168.2.27

      Router 192.168.2.26 server-side Ip pc segment 192.168.2.27 255.255.255.0 Default Gateway

 

   Click the router CLI instruction set for using the CLI instruction router configuration parameters

 

 

 

      

  • Use the command erase startup-config clear the existing configuration on the router:
  • Router> enable # to enter the privileged EXEC mode
  • Router # erase startup-config # remove existing configuration on the router
  • Router # configure terminal # enter the global configuration mode
  • Router (config) #no ip domain-lookup # Disable DNS lookup

 

Configure and activate port
  • Router> enable # to enter the privileged EXEC mode
  • Router # configure terminal # enter the global configuration mode
  • Router (config) #hostname R # router name is configured to R
  • Configure G0 / 0 Interface:
  • R(config)#interface G0/0
  • R(config-if)#ip address 192.168.1.80 255.255.255.0
  • R (config-if) #no shutdown # interface to activate
 
 
3. Verify parameter configuration is correct
  • Verify the correct IP address and the interface is active
  • show ip interface brief

 

 The results show that activated

  • Check the routing table
  • show ip route

 

 

  • any two machines can ping success
  • ping 192.168.2.26 at PC
 
4. Data analysis capture
Check the TCP HTTP packet capture performed by PC access 192.168.2.26

 

 The results obtained for the TCP data

TCP analysis results

  1033 80 Source Port Destination Port

      Serial Number 1

      Acknowledgment number 102

  Header Length Reserved 0 0 bit window size 0b011000 16384

  Inspection and emergency 0 0

The HTTP port 80 or web service  

Recombinant sequence numbers for data

Confirmation number indicating that the data has been received

Header length of TCP header length

This field is reserved for future use

And a code control bit includes a bit flag indicates the purpose and function of TCP

Window size indicates a size of the received data segment can

Testing and error checking for data header and data segment

Data indicate whether urgent emergency

A feature of TCP is to ensure that each data segment can reach the destination (reliable and secure transmission mode), and confirmed by the window size to ensure the reliability of TCP transmission.

 

 

HTTP result

 

 

 

 

 TCP connection process

 

 

 

 

 

 

 

  

  

 

Guess you like

Origin www.cnblogs.com/li-dao-blog/p/11695706.html
Recommended