User Tools

Site Tools


pnetlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
pnetlab [2024/03/09 21:36] – created jotasandokupnetlab [2024/05/05 20:43] (current) jotasandoku
Line 5: Line 5:
   * convert to ''qcow: qemu-img convert -O qcow2 PNET_4.2.10-disk1.vmdk PNET_4.2.10-disk1.qcow2''   * convert to ''qcow: qemu-img convert -O qcow2 PNET_4.2.10-disk1.vmdk PNET_4.2.10-disk1.qcow2''
   * Move it to a safe place for virsh images: mv PNET_4.2.10-disk1.qcow2 /home/jaime/Documents/images-libvirt''   * Move it to a safe place for virsh images: mv PNET_4.2.10-disk1.qcow2 /home/jaime/Documents/images-libvirt''
 +    * ^^ there's an qcow image with all routers and machines in .112. You can scp it in and take it from here
   * virt-manager > cree new virtual machine > import existing dik image#   * virt-manager > cree new virtual machine > import existing dik image#
   * Select: Ubuntu 18.04 LTS >> all default and do not click customize before install   * Select: Ubuntu 18.04 LTS >> all default and do not click customize before install
-  * wizard: dhcp and direct connection+  * wizard: dhcp and direct connection - ip assigned (this time): 192.168.122.56
   * once up, force down vm and change settings (memory and cpu)   * once up, force down vm and change settings (memory and cpu)
 +  * start vm again
   * enter 192.168.122.56 in web browser, select online mode   * enter 192.168.122.56 in web browser, select online mode
   * Install eveng integration to use console instead of html-guacamole   * Install eveng integration to use console instead of html-guacamole
Line 24: Line 26:
  
  
-now install fortigate: +=== now install fortigate  === 
-mkdir /opt/unetlab/addons/qemu/fortinet-FGT-v6-4-build1579 +  mkdir /opt/unetlab/addons/qemu/fortinet-FGT-v6-4-build1579 
-scp ./fortinet-FGT-v6-4-build1579/virtioa.qcow2 root@192.168.122.56:/opt/unetlab/addons/qemu/fortinet-FGT-v6-4-build1579/ +  scp ./fortinet-FGT-v6-4-build1579/virtioa.qcow2 root@192.168.122.56:/opt/unetlab/addons/qemu/fortinet-FGT-v6-4-build1579/ 
-/opt/unetlab/wrappers/unl_wrapper -a fixpermissions +  /opt/unetlab/wrappers/unl_wrapper -a fixpermissions 
-! go to UI and start the FW +  ! go to UI and start the FW 
-! Now go the FGT cli: +  ! Now go the FGT cli: 
-admin no password, then password admin too +  admin no password, then password admin too 
-config system interface +  config system interface 
-  edit port1 +    edit port1 
-  set ip 192.168.1.2/24 +    set mode static 
-  set allowaccess (http https ping ssh telnet) +    set ip 192.168.100.1/30 
-end+  end
  
-Install ubuntu machine: +=== Install ubuntu machine === 
-http://192.168.122.56/store/public/admin/devices/store get device ubuntu desktop docker+[[http://192.168.122.56/store/public/admin/devices/store]] get device ubuntu desktop docker 
 + 
 + 
 +----
  
---- 
 References: References:
-http://dl.nextadmin.net/dl/EVE-NG-image/iol/bin/ +  * [[http://dl.nextadmin.net/dl/EVE-NG-image/iol/bin/]] 
-https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-iol-ios-on-linux/0/ +  * [[https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-iol-ios-on-linux/0/]] 
-https://www.eve-ng.net/index.php/documentation/howtos/howto-add-fortinet-images/ +  * [[https://www.eve-ng.net/index.php/documentation/howtos/howto-add-fortinet-images/]] 
-https://wiki.hackzine.org/sysadmin/kvm-import-ova.html+  * [[https://wiki.hackzine.org/sysadmin/kvm-import-ova.html]] 
  
pnetlab.1710020185.txt.gz · Last modified: by jotasandoku