In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Today, I will talk to you about how to analyze the deployment of the GNS3 environment and the two testing methods, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
The case described today is to use vmare to connect the switches in GNS3 to achieve interconnection. There are generally two ways to achieve interconnection:
1. Use built-in VPC to connect switches for interconnection and interworking
two。 Using vmare to connect the interconnection and interworking of switches in GNS3
Therefore, you need to create the following environments
1.GNS3 environment
2.Wireshark
The environment of 3.SecureCRT
One:
GNS3 is a network virtual software with a graphical interface that can run on multiple platforms (including Windows, Linux, and MacOS, etc.). Cisco network equipment administrators or people who want to pass the Cisco certification exam such as CCNA,CCNP,CCIE can use it to complete the relevant experimental simulation operations. At the same time, it can also be used to virtually experience the Cisco Internet operating system IOS or to verify the relevant configuration that will be deployed on a real router.
Objective: to provide the ability to access the underlying network
Advantages: good compatibility and support for file format export
Two:
Wireshark is a network packet analysis software. The function of network packet analysis software is to capture network packets and show the most detailed network packet data as much as possible. Wireshark uses WinPCAP as the interface to exchange data messages directly with the network card.
Purpose: data message exchange
Application: Wireshark will not modify the content of network packets, it will only reflect the current packet information. Wireshark itself does not send packets to the network.
Three:
SecureCRT supports SSH, as well as Telnet and rlogin protocols. SecureCRT is an ideal tool for connecting operations, including Windows, UNIX, and VMS. Encrypted files can be transferred by using the included VCP command line program. There are all the features of popular CRTTelnet clients, including: automatic registration, different features for different hosts, printing function, color setting, variable screen size, user-defined key bitmap and excellent VT100,VT102,VT220 and ANSI competition. Can be run from the command line or from a browser. Other features include text manuscripts, easy-to-use toolbars, user's key bitmap editor, customizable ANSI colors, etc. SecureCRT's SSH protocol supports DES,3DES and RC4 passwords and password authentication with RSA.
Enter the case as soon as you understand the environment that needs to be installed today. Here are the download addresses of the installation packages for the three environments.
Baidu cloud disk: https://pan.baidu.com/s/1dXDcDtBdIJJxSxxpmAfqWg extraction code: lggz
The decompression password for SecureCRT package is: SPOTO
Install ① GNS3, as shown in the figure:
Uncheck Wireshark and Solar, after which he will download and install online, which will take a long time, even installation errors, so we choose to install it directly at a later stage. Next step:
It should be noted that during installation, the file path must not have Chinese, preferably the default address, which is easy to find, etc. After clicking next, the WinPcap installation interface pops up at this time, and click install, as shown in the figure:
At this point, GNS3 has been installed.
② We enter the installation of Wireshark, as shown in the figure:
Similarly, do not have a Chinese path during installation, and do not change the installation path, because once changed, then the path in GNS3 also needs to be changed, which is very troublesome. So select the default path and click next, as shown in the figure:
This step is to remove the check box, or it will help you download and install again. Next step:
Do not check the option at this time, click finish.
After completing the installation of GNS3 and Wireshark, you can double-click to open GNS3.
After opening the software, enter the welcome screen and click to check Dont show this again. Click close again. This interface will not pop up when you open the software in the future. As shown in the figure:
When you click close, it automatically pops up a window that allows you to create a new project, choose a save path, and so on. We don't choose to create it for the time being, turn it off. Now recognize the meaning of each icon.
Clicking on the first routing icon will bring up this dialog box, indicating that you do not have a router configured and need to install the image file.
Let's continue to recognize icons.
After the installation is complete, we can see the routing information of the installation. Click ok to finish.
Click again at this time and the option appears. We can directly click and drag into the right area, and we can drag into two routes, as shown in the figure:
Click the network cable at this time to connect the two routes, as shown in the figure.
After clicking on the display interface, you can see the connected port. Right-click R1 at this time, and let's understand the meaning of each:
Here we can see that we did not choose to calculate your Idle value during the installation, at this time we can start the calculation, note that it can only be calculated in the start-up state! As shown in the picture
Select the value with an asterisk at this time, and if there is no asterisk, you can choose the minimum value or recalculate it, so that the resource consumption of cpu will be reduced, making the operation more smooth.
Next, we can set IP addresses for these two routes and implement interconnection.
Double-click R1 and we can see the interface shown in the picture, which is similar to the interface of CMD on our computer.
Click start to enter the command. First of all, we need to enter the interface mode to set the IP address of the route.
Enter commands as shown in the figure:
Similarly, the same is true for R2, as shown in the figure:
At this point, the IP addresses of the two routes have been set. We can use the previously installed Wireshark packet grabbing tool to view the ping package, and we can use the command ping to check whether the two routes are interconnected.
Right-click the network cable, start capture. As shown in the figure:
At this point, go back to the privileged mode, the ip address of ping R2, and you can see that the interconnection is successful!
At this point, we open Wireshark to view the ping package.
The communication is successful!
After the method is completed, we can use the remote terminal with GNS3, which will be a very convenient tool in the future work.
In the case of method 2, we will install the CRT environment and use it in conjunction with GNS3 to connect the two virtual machines of vmare!
Then start the deployment, as shown in the figure:
After the installation is complete, we need to crack it to try it for free forever, .
As shown in the picture. Right-click the desktop icon and click Properties.
Find the SecureCRT crack patch in the installation file (which has been uploaded to Baidu cloud disk and can be downloaded by students who need it), and drag it directly into the file location path of CRT. After opening it, as shown in the picture
Click Patch
When you are finished, double-click the desktop icon to open the software, and it will let you enter the activation code, as shown in the figure:
At this point, SecureCRT can be used for free forever.
We open the software to take a look, it will pop up the following window, we temporarily exit, open gns3, let it choose to complete.
After opening it, we select the CRT we just installed in the editor, click set on the right, and check whether the file path below is correct. Click ok when you are finished and you can start using it. As shown in the picture
At this point we have completed the basic deployment of the environment. Open the vmare virtual machine and start setting the network IP address of our virtual machine to complete the interworking. Of course, students with insufficient network cards can operate as shown in the picture and add network cards.
At this point, we first set the IP address of the first virtual machine and the port corresponding to the network card. As shown in the picture
This is the only way to select our virtual machine port on GNS3. Similarly, the same is true of the second virtual machine, as shown in the figure:
After setting it up, we go back to GNS3 to set it up.
Drag the HOST into the right area, change the icon, function, and name of the router, and install the veneer to make it a switch. As shown in the picture
After the settings are completed, click the left network cable to start the connection, click HOST1, and we select VMNET1, because our first virtual machine Nic is bound to VMnet1, as shown in the figure:
Connect it to the SW switch, select port 1apace 0, and do not start with 0 because the first two ports are router ports. Next, similarly connect HOST2 to the SW switch, as shown in the figure:
When the connection is complete, click start
Click Show Port at this time. We can see the ports clearly. Now in order for HOST1 to connect to HOST2, click F
1ax 1 interface network cable, start grabbing the packet. At the same time, we open the first virtual machine and start ping the IP address of the second virtual machine. As shown in the picture
After opening the cmd command, enter ping 192.168.8.10 (this is the IP address of the second virtual machine)-t
After entering the command, make it keep sending ping packets. At this point, we click on the package capture software, and we can see that the ICMP file has been sent and replied.
At this point, our experiment was successful. Virtual machine 1 and virtual machine 2 have been interconnected.
The experiment was a success!
After reading the above, do you have any further understanding of how to analyze the deployment of the GNS3 environment and the two testing methods? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.