Use Ethereal to learn TCP/IP protocol (1)

Source: Internet
Author: User

Lab environment setup:
The operating system is Windows server, because there is only one computer in the dormitory, and there is no Nic, there is only one 56 K old cat), so the Virtual Machine VMware-workstation can be downloaded in many places on the Internet, download is not provided here, and installation is simple); The Virtual Operating System is RedHat 8.0. In order to save space and speed up, the graphic interface is not installed. You can search for the installation of the Virtual System on Google.
Here we will talk about the settings of Virtual Networks, 1-1:

Figure 1-1 set the virtual network
The two virtual networks are VMnet1 with 192.168.126.0 and VMnet8 with 192.168.216.0 respectively. The main operating system is windows, and two virtual network cards are installed. The addresses are 192.168.126.1 and 192.168.216.1, respectively, the network relationship between the primary operating system and the virtual system is in M mode, 1-2:
Figure 1-2 set a VM Nic
Open the VM, log on to redhat as the root user, enter setup, and set the IP address of the VM to 192.168.126.128, 1-3:

Figure 1-3 set the Linux IP Address

Now, the settings are complete. Of course, this is only because of restrictions, so you don't have to worry about it in the LAN.
Objective: to consolidate the knowledge of Ethernet II, ARP, IP, and ICMP Packets
Well, now we start. Enable Ethereal, click Interfaces under the menu Capture, and select the network adapter to Capture packets. Here, select the network adapter with the address 192.168.126.1 to Capture packets, 1-4:


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.