pnetlab
Install pnetlab and more
pnetlab install
- Download ova: https://pnetlab.com/pages/download
- Extract ova:
tar xvf PNET_4.2.10.ova - 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''
- ^^ 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#
- Select: Ubuntu 18.04 LTS » all default and do not click customize before install
- wizard: dhcp and direct connection - ip assigned (this time): 192.168.122.56
- 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
- Install eveng integration to use console instead of html-guacamole
now install iol devices
scp i86bi_linux-adventerprisek9-ms.156-3.M3a.bin root@192.168.122.56:/opt/unetlab/addons/iol/bin/ scp L2-ADVENTERPRISEK9-M-15.2-IRON-20151103.bin root@192.168.122.56:/opt/unetlab/addons/iol/bin/ ssh root@192.168.122.56 # password pnet ! in pnetlab /opt/unetlab/wrappers/unl_wrapper -a fixpermissions python2 /opt/unetlab/addons/iol/bin/CiscoIOUKeygen.py cd /opt/unetlab/addons/iol/bin touch NETMAP LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/<iosname.bin> 1 # do it with each IOL image before testing them in UI
now install fortigate
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/ /opt/unetlab/wrappers/unl_wrapper -a fixpermissions ! go to UI and start the FW ! Now go the FGT cli: admin no password, then password admin too config system interface edit port1 set mode static set ip 192.168.100.1/30 end
Install ubuntu machine
pnetlab.txt · Last modified: by 127.0.0.1
