Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Analysis of TCP and UDP protocols

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Case 1 Analysis of 1:TCP and UDP protocols

1.1 question

1. Analyze the package format of TCP and UDP by grabbing packets.

2. Analyze the TCP three-way handshake by grasping the bag.

1.2 scenario

1. The experimental environment consists of two hosts, PC1 and PC2. PC1 uses host and PC2 uses VMWare virtual machine to ensure normal communication between the two hosts (you need to turn off the firewall of PC2).

2. The operation section will grab the package on PC1.

3. Access PC2 through remote Desktop on PC1, and then analyze the packet on PC1, as shown in figure-1.

1.3 steps

To implement this case, you need to follow these steps.

1. The first handshake, as shown in figure-2.

2. the second handshake, as shown in figure-3.

3. The third handshake, as shown in figure-4.

2 case 2: configure application services

2.1 question

1. ENSP configure HTTP service

2. ENSP configure DNS service

2.2 scenario

The topology diagram is shown in figure-5.

2.3 steps

To implement this case, you need to follow these steps.

1. Open the HTTP service, as shown in figure-6.

Turn on the DNS service and add www.nsd.com corresponding to 192.168.1.1, as shown in figure-8 and figure-9.

3 case 3:Telnet remote management

3.1 question

Use Telnet to remotely access switches and routers.

3.2 scenario

As shown in figure-11.

3.3 steps

To implement this case, you need to follow these steps.

1. Configure the management IP address of SW1

[SW1] interface vlan 1

[SW1-Vlanif1] ip address 23.1.1.3 255.255.255.0

[SW1-Vlanif1] undo shutdown

2. Configure static rout

[R1] ip route-static 23.1.1.0 255.255.255.0 12.1.1.2

[SW1] ip route-static 12.1.1.0 255.255.255.0 23.1.1.2

3. Configure Telnet

[Huawei] user-interface vty 0 4

[Huawei-ui-vty0-4] authentication-mode password

Please configure the login password (maximum length 16): huawei123

[Huawei-ui-vty0-4] protocol inbound telnet

[Huawei-ui-vty0-4] user privilege level 15

test

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report