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

Introduction to Universal Simulator eve-ng

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

Share

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

@ font-face {font-family: "Times New Roman";} @ font-face {font-family: "Arial";} @ font-face {font-family: "contours";} p.MsoNormal {mso-style-name: body; mso-style-parent: ""; margin:0pt; margin-bottom:.0001pt; mso-pagination:none; text-align:justify; text-justify:inter-ideograph; font-family: contours; mso-bidi-font-family:'Times New Roman' Font-size:10.5000pt; mso-font-kerning:1.0000pt;} span.10 {font-family: contours;} span.15 {font-family: contours; color:rgb (68114196); font-style:italic;} span.16 {font-family: contours; color:rgb (0je 0255); text-decoration:underline; text-underline:single;} span.msoIns {mso-style-type:export-only; mso-style-name: "; text-decoration:underline; text-underline:single; color:blue } span.msoDel {mso-style-type:export-only; mso-style-name: ""; text-decoration:line-through; color:red;} @ page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @ page Section0 {} div.Section0 {page:Section0;}

As a network engineer, it is necessary to build the experimental environment through simulators. The mainstream network simulators are as follows: Packet Tracer is a simulator made by Cisco, which can only simulate Cisco's own equipment. Because this software is pure software simulation, many characteristics of Cisco equipment are not simulated very well, can cope with CCNA experiments, and are only suitable for entry. A more complicated environment will have to find another simulator. Dynamips is a virtualization-based simulator used to simulate Cisco routers. Xiaofan, the great god of China, developed Xiaofan simulator by adding GUI user interface. This simulator is still highly used in the network industry. Through PC bridging, the router in the simulator can be bridged with the real machine or the virtual system in vmware. There is also a GNS3, which is a perfect Cisco simulator, which can also run a real ios system through a real image, and is particularly convenient when analyzing and grabbing packets.

Next, let's introduce the eve-ng simulator, the predecessor of this simulator is Unetlab1.0, which can not only simulate network devices, but also run virtual machines. In theory, as long as you can convert the virtual disk you want to run into qcow2 format, you can run in eve-ng. Eve-ng combines dynamips IOL and KVM. It should be noted that it is a deeply customized Ubuntu operating system. If you want to play with it, you need to know the basics of Linux. This is what technology is like. There is no end to learning. It is impossible to say when to use other technical knowledge. My Linux knowledge was learned at 04:00 through the book "this is how Linux should learn". It is very suitable for beginners to use. At that time, I was just learning on the official website of this book, and now this book has been published and listed.

Eve-ng is divided into community version and pro version, the free community version should be enough for most experiments, you can also learn about the domestic version of pro cracked online to install. Eve-ng can be installed by installing eve-ng-related installation packages on version 16 of ubuntu-sever, or you can install the linux image of eve-ng directly. It is easier to use ova to import the vmware installation. You can download virtual machine files in ova format on the official website of EVE-NG, and import them in virtual machines such as VMware Workstation Pro or VSPHERE. The default password for root is eve. EVE-NG has more advantages in interactive mode, which is quite different from GNS3. GNS3 is more like user software, only OS supported by GNS3 can be used, while EVE-NG is more like CS model, EVE-NG is the server, and the client can be any OS that supports http/https. If you install based on ubuntu, you should pay attention to the following points:

1. Sed-I-e's Universe GRUBINE CMDLINEPROTED DEFAULTAT.GRUBLINE CMDLINEDEFAULTURT = "net.ifnames=0 noquiet" /'/ etc/default/grub, use this command to name the network card after ethX

Update-grub, update grub, and change the Nic name to eth0 in the configuration file / etc/network/interfaces

two。 The command to install eve-ng is as follows:

Wget-O-http://www.eve-ng.net/repo/eczema@ecze.com.gpg.key | sudo gpt-key add-/ / get the key and add it to the system

Add-apt-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main" / / add update source

Aptitude update

Aptitude install eve-ng

After the installation is complete, restart the system and enter the eve-ng configuration interface again. The ntp server can be changed to pool.ntp.org, and the virtual machine Nic is recommended to be set to nat mode. Restart again after the setting is completed. When the eve letters in the interface change in light and shade, the installation is successful. But if you do not enter the system after a long time, check whether the network card mode is correct, whether dhcp mode is enabled and restart again.

You can import three kinds of image files in eve-ng: dynamips, IOL and QEMU. There are different ways to upload these three files. First, set up a ftp server so that the images on the host can be transferred to eve-ng. It is recommended to use WinSCP, which is convenient to use. After connecting to eve-ng through SecureCRT, D ynamips is uploaded to / opt/unetlab/addons/dynamips folder, IOL is uploaded to: / opt/unetlab/addons/iol/bin, and QEMU is uploaded to: / opt/unetlab/addons/qemu. Note that the IOL file also imports two files, iourc and CiscoIOUKeygen.py, and uses the python CiscoIOUKeygen.py command to generate a string and paste it into the iourc file before it can be used normally. QEMU is more complicated because there are rules for naming each device image and folder, which can be found on eve-ng 's website. After these three files are uploaded, you need to use the command / opt/unetlab/wrappers/unl_wrapper-a fixpermissions to modify the permissions, and then you can use them normally after uploading. Use ifconfig in eve-ng to view the ip address of eth0, and open this address in the host through a browser. The account password defaults to admin and eve. Then we can start the experiment.

If you need to grab the package and use SecureCRT, you also need to do something. Add / files/windows .zip to the ip address corresponding to eve-ng in the browser URL bar, download the file, edit wireshark_wrapper.bat, confirm the user name and password, change the program path of wireshark, then put the entire UNetLab folder under C:\ Program Files, and run win7_64bit_wireshark.reg registration. In this way, you can right-click capture on the device to select the port to grab the package, and crt can also be used normally.

The installation and use of eve-ng are briefly introduced above, but there are still many techniques for using this simulator, such as bridging the virtual network device or system to the host or connecting to the real network through other physical network cards of the host, or customizing the image yourself. To use these features, you need some knowledge of Linux, which you can learn from the books I recommend above.

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