| | 1 | = Lab Setup = |
| | 2 | |
| | 3 | 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. |
| | 4 | |
| | 5 | |
| | 6 | Users need to connect the host PC to home network with DHCP enabled. We recommend using the wired network as much as possible. |
| | 7 | |
| | 8 | |
| | 9 | For each User following software and files are required; |
| | 10 | |
| | 11 | * Needs to install '''Dynapimps-Dynagen''' , '''VPC PC simulator''' and '''Virtual Box''' |
| | 12 | * '''pcap''' and '''cygwin1.dll''' |
| | 13 | |
| | 14 | |
| | 15 | 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. |
| | 16 | |
| | 17 | https://ws.learn.ac.lk/wiki/Cnbp2022 |
| | 18 | |
| | 19 | |
| | 20 | > Virtualized appliances will be connected via UDP tunnels and these must be neglected for your actual physical installations. |
| | 21 | |
| | 22 | |
| | 23 | |
| | 24 | == Download Dependencies == |
| | 25 | * Download Oracle Virtual Box and Extension pack from [https://www.virtualbox.org/wiki/Downloads] |
| | 26 | * Download putty from [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html] |
| | 27 | * Download all server VM's |
| | 28 | * LibreNMS [https://docs.learn.ac.lk/index.php/s/OW7mT5BOncjIwQZ Lab-Mirror] |
| | 29 | |
| | 30 | |
| | 31 | [[span(style=color: #A00000, '''Following settings will need to be as it is with the changes only to the specified dynamic content.''' )]] |
| | 32 | |
| | 33 | |
| | 34 | === Install Virtual Box === |
| | 35 | |
| | 36 | Install Virtual Box software with default settings, make sure you have enabled virtualization support from your host machine BIOS. |
| | 37 | |
| | 38 | > If you have pre-installed Virtual Box in your host machines make sure they are updated to 6.x latest version |
| | 39 | |
| | 40 | |
| | 41 | Import downloaded OVA files into Oracle virtual box from File > Import Appliance |
| | 42 | |
| | 43 | While importing make sure to select '''Generate new MAC addresses for all Network Adapters''' from '''MAC Address Policy'''. |
| | 44 | |
| | 45 | |
| | 46 | As soon as you import vm's, change your VM network connections as follows; |
| | 47 | |
| | 48 | * '''pfSense VM''' |
| | 49 | |
| | 50 | '''Adapter 1:'''[[br]] |
| | 51 | Attached to: Bridged Adapter[[br]] |
| | 52 | Name: ![[Your Physical Adapter Name]][[br]] |
| | 53 | Promiscuous Mode: Allow All[[br]] |
| | 54 | Cable Connected |
| | 55 | |
| | 56 | '''Adapter 2:'''[[br]] |
| | 57 | Attached to: Generic Driver[[br]] |
| | 58 | Name: UDPTunnel[[br]] |
| | 59 | Generic Properties:[[br]] |
| | 60 | dest=127.0.0.1[[br]] |
| | 61 | dport=50000[[br]] |
| | 62 | sport=40000[[br]] |
| | 63 | Cable Connected |