= 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''' [[span(style=color: #A00000,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 [https://docs.learn.ac.lk/index.php/s/r7fjLL9uZlXQ5JL Lab-Mirror] * !PfSense Firewall [https://docs.learn.ac.lk/index.php/s/xNKnIMShvRdUFWV Lab-Mirror] * Windows XP_INSIDE [https://docs.learn.ac.lk/index.php/s/eH3eG17yzXPFJQT Lab-Mirror] * Web Server [https://docs.learn.ac.lk/index.php/s/8dXFzAqv1Mrnn3R Lab-Mirror] * Ubuntu 20.04 for Oxidized [https://docs.learn.ac.lk/index.php/s/WmuORn2bAnU7yNY Lab-Mirror] * Ubuntu 20.04 for Netbox [[span(style=color: #A00000, '''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:'''[[br]] Attached to: Generic Driver[[br]] Name: UDPTunnel[[br]] Generic Properties:[[br]] dest=127.0.0.1[[br]] dport=50006[[br]] sport=40006[[br]] 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] }}}