Version 10 (modified by 2 years ago) ( diff ) | ,
---|
Lab Setup
In this Hands-on we will install all dependencies and basic network design. We will use Oracle Virtual Box and Smokeping software in the lab network.
Users need to connect the host PC to home network with DHCP enabled. We recommend using the wired network as much as possible.
For each User following software and files are required;
- Virtual Box
- Working Network setup from last workshop
For this Lab, we will use the network we created in our last workshop - Workshop on Tuning up Campus Network . For more information please refer to the following link.
https://ws.learn.ac.lk/wiki/Cnbp2022/Agenda/LabSetup
Virtualized appliances will be connected via UDP tunnels and these must be neglected for your actual physical installations.
Download Dependencies
- Download Oracle Virtual Box and Extension pack from https://www.virtualbox.org/wiki/Downloads
- Download putty from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- Download WKFiles from https://docs.learn.ac.lk/index.php/s/uUkOBn6vUECvgtc
- Download all server VM's
- Ubuntu 20.04 for Smokeping Lab-Mirror
- PfSense Firewall Lab-Mirror
- Windows XP_INSIDE Lab-Mirror
- Web Server Lab-Mirror
- Ubuntu 20.04 for Oxidized Lab-Mirror
Following settings will need to be as it is with the changes only to the specified dynamic content.
Install Virtual Box
Install Virtual Box software with default settings, make sure you have enabled virtualization support from your host machine BIOS.
If you have pre-installed Virtual Box in your host machines make sure they are updated to 6.x latest version
Import downloaded OVA files into Oracle virtual box from File > Import Appliance
While importing make sure to select Generate new MAC addresses for all Network Adapters from MAC Address Policy.
As soon as you import vm's, change your VM network connections as follows;
- Ubuntu VM
Adapter 1:
Attached to: Generic Driver
Name: UDPTunnel
Generic Properties:
dest=127.0.0.1
dport=50006
sport=40006
Cable Connected
- Ip address for Ubuntu VM already setup for you and if you want to change it;
#vim /etc/netplan/00-installer-config.yaml
Do the changes according to your requirement;
network: version: 2 ethernets: enp0s3: addresses: [10.1.5.12/24] gateway4: 10.1.5.254 nameservers: addresses: [8.8.8.8, 8.8.4.4]