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:
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: