Article directory
1.1 Overview
1.1.1 Meaning
The full English name of PNETLab is Packet Network Emulator Tool Lab, which literally translates into Chinese as packet network emulation tool laboratory . In fact, it is an emulator similar to Huawei's ENSP and Cisco EVE. It includes PNETLab Box and PNETLab store.
illustrate:
- PNETLab Box (offline and online modes) is a virtual machine. It installs on the local machine where Lab will run, so you don't have to worry about Lab speed.
- PNETLab Store is a web platform with hundreds of free laboratories in the fields of network, database, system, etc. All you need to do is get Lab and learn (IOS, Docker are included in Lab when downloading from PNETLab)
1.1.2Dynamips Mirror
Dynamips
It is an open source network simulator used to simulate the behavior and functionality of Cisco network equipment. Dynamips can run on an ordinary computer and provides an environment for experimenting and testing network configurations by simulating the operating system and hardware of a Cisco router.
1.2 Basic use case-build
illustrate:
This installation is based on the ESXI system to realize the installation of PnetLab4.xx version
Step 1: Installationpnetlab
1. Select the image to install
Replenish:
OVF (Open Virtualization Format) is an open virtualization format used to package and distribute related files and metadata of virtualized applications and virtual machines. It is a cross-platform standard designed to achieve portability and interoperability of virtual machines.
2. Turn on hardware virtualization
illustrate:
Before installation, you need to enable the "Virtualization Inter VT-x/EPT or AMD-V/RVI" function to allow virtualization software, such as virtual machine monitor (Virtual Machine Monitor) or virtual machine manager to run on the host operating system. (Virtual Machine Manager) to create and manage virtual machines.
3. Check the network segment
illustrate:
When installing
PnetLab
, you need to select a network segment to ensure that the virtual machine can be assigned an IP. Otherwise,No IP address on interface pnet0
pnetLab will not be able to run the service because it does not know which IP segment it is running on.
4.Access Services
illustrate:
- The service has been started at http://10.13.169.65, just visit
- After the installation is complete, you can access it in the browser
Step 2: Log inpnetlab
1. When logging in for the first time, you need to enable online login.
illustrate:
- Enable online login to get all implementation templates
Replenish:
PNETlab login methods include local login and online login. The difference between the two is that local login can only use the experimental templates marked by Open , while online login can use all experimental templates.
2. Realize online login and obtain simple experiments
Supplement: Tips
Select "Login by Online Account" to log in
Supplement: Error reporting and resolution
- Check if the network is smooth, you
Ping
can
- It means that the network is not smooth and authentication is required to access the Internet. Check the log in detail to resolve the error.
Step Three: Get Online Lab
illustrate:
Download an experiment from the Internet to your local computer
illustrate:
- Get experiments
- Start experimenting
illustrate:
Double-click to enter an existing experiment
illustrate:
You can start related experiments
Step 4: Create a new custom laboratory (optional)
1. Create a custom lab
illustrate:
Select "Main" and configure parameters.
2.Image Dynamips
import
illustrate:
- Upload to
pnet
server/opt/unetlab/addons/dynamips/
directory
3. Enter the laboratory and add new nodes
illustrate:
The newly imported image on
pnet
the server can be viewed here
4.Demonstration
Log
Error: can not connect to server
解决:[PNETLab : Lab is Simple](https://pnetlab.com/pages/documentation?slug=install-bare-metal#:~:text=Make sure your server can connect to internet,then install pnetlab again apt-get install pnetlab -y)
References
PNETLab simulator deployment and usage configuration - Li Longwei - Blog Park (cnblogs.com)
PNETLAB Simulator User Guide - Zhihu (zhihu.com)
About the image image pnetlab simulator-pnet simulator-simulator-pnet-pnetlabPNETLAB simulator