21 July 2025
Replymessage unavailable
How to install PNETLab on GCP
1. Open cloud console in GCP once you are in the CLI, run below command depending on the PNETLab version you want to install.
- PNETLab version 5 (Ubuntu 18.04):
gcloud compute images create nested-ubuntu-bionic --source-image-family=ubuntu-1804-lts --source-image-project=ubuntu-os-cloud --licenses https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx
- PNETLab version 6 (Ubuntu 20.04):
gcloud compute images create nested-ubuntu-focal --source-image-family=ubuntu-2004-lts --source-image-project=ubuntu-os-cloud --licenses https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx
2. Create a VM instance with the specs you want.
Recommendations:
CPU: Intel CPUs Skylake or Cascade
Disk: SSD for better performance
- For the boot disk, select the nested image that you created in step 1
- Allow HTTP and HTTPS traffic
- "Deploy a container image” must be UNCHECKED
- After the VM is created, ssh to it and switch to the root user:
sudo -i
3. Run the installation script for the corresponding PNETLab version: check the installation instructions for each version by issuing the command /notes in PNETLab's group.
Once installation is completed reboot the VM with this command:
reboot
Wait for few seconds while the VM reboots and ssh to it again.
When the setup wizard screen appears, press ctrl + c and type the below command to switch to the root user:
sudo -i
You'll get setup wizard again. When it asks you to enter your new root password, enter it twice, give a hostname of choice, domain name of choice, and select DHCP (don't use static ip ), and leave NTP blank.
And that's it. Enjoy PNETLab!
Eduardo Jonckthen it is complete and I remove it from mine. so I shared the script to make installation easier, sorry
wow, he take down the script because you stole his work, thats bad
Replymessage unavailable
List of notes in PNETLAB platform Group:
- apt_skip_ssl
- beta_group
- beta_v5
- beta_v6
- changelog_beta
- check-vt
- disable_wizard
- download_images
- fix_apt
- gcp_install
- generate_license
- ishare2
- mikrotik-template-v6
- nodes-troubleshooting
- passwords
- pnet_repo_fix
- proxy-fix
- recover_mysql
- recover-root-passwd
- remove_ishare
- reset_pnet
- resolv
- stable_v5
You can retrieve these notes by using /get notename, or #notename
J Awow, he take down the script because you stole his work, thats bad
I didn't steal anything, friend, I just improved it and shared it. But if you can't share it, you can remove it, no problem. I only shared it because I had difficulties and adapted it. Anyway... if you can't share it, you can remove it.
Replymessage unavailable
List of notes in PNETLAB platform Group:
- apt_skip_ssl
- beta_group
- beta_v5
- beta_v6
- changelog_beta
- check-vt
- disable_wizard
- download_images
- fix_apt
- gcp_install
- generate_license
- ishare2
- mikrotik-template-v6
- nodes-troubleshooting
- passwords
- pnet_repo_fix
- proxy-fix
- recover_mysql
- recover-root-passwd
- remove_ishare
- reset_pnet
- resolv
- stable_v5
You can retrieve these notes by using /get notename, or #notename
J Ai understand, but seems he didnt like and deleted his repo
I understand. It's difficult to maintain a community where the focus is on helping each other. If I were taking ideas and bringing something, that would be fine, but then I improved and shared it.
AxelIt is none of my business who shares the installation script. I just think that they should provide a note or communicate with me in advance, rather than just posting it and sharing it in the group. I have already executed Delete repository for the relevant resources.😜
Please could you assist me
My mikrotik interface keeps changing after I reboot my host PC which scatters my lab configurations what can I do
22 July 2025
ThedreamHow to solve this issue on Fortimanager 7.4.7?
You cant use Forti image past 7.2 like we use to it. now you need to register them in forticloud. it will have limited access.
Better stick with images from 7.0 and before
Cristian MejiaHey, how can I upload an image of a switch or router? In zip format
image if they are qemu they need to be in .qcow.
You can import them to your server in .tar and untar them in the server
MichaelPlease could you assist me
My mikrotik interface keeps changing after I reboot my host PC which scatters my lab configurations what can I do
Of course, it's the same thing that's happening to me.
I've tried exporting the entire Lab, but when I try to access the configured CHRs, it doesn't accept the password, neither the default one (empty) nor the one I set later.
One solution would be to export (/export file=filename) and reload that configuration into a clean CHR, but this is completely absurd and ineffective.
Either we don't know how to use PNETLab's features, or it's useless when using MikroTik devices.
XilwesImágenes de router ar651 huawei??
Ссылка
click to show
click to show
This is what there is from Huawei
https://labhub.eu.org/es/addons/qemu/
Santi GaiteOf course, it's the same thing that's happening to me.
I've tried exporting the entire Lab, but when I try to access the configured CHRs, it doesn't accept the password, neither the default one (empty) nor the one I set later.
One solution would be to export (/export file=filename) and reload that
I think they need to tell us how to go about this cause there must be a solution maybe we are not just setting up well
MichaelI think they need to tell us how to go about this cause there must be a solution maybe we are not just setting up well
It may be that we haven't read enough, or we don't know where to do it.
Santi GaiteIt may be that we haven't read enough, or we don't know where to do it.
If you see a fix please do well to share