You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article shows you how to set up a class that focuses on allowing students to emulate, configure, test, and troubleshoot virtual and real networks using [GNS3](https://www.gns3.com/) software.
17
+
This article shows you how to set up a class for emulating, configuring, testing, and troubleshooting virtual and real networks using [GNS3](https://www.gns3.com/) software.
13
18
14
-
This article has two main sections. The first section covers how to create the lab. The second section covers how to create the template machine with nested virtualization enabled and with GNS3 installed and configured.
19
+
This article has two main sections. The first section covers how to create the lab. The second section covers how to create the [template machine](./classroom-labs-concepts.md#template-virtual-machine) with nested virtualization enabled and with GNS3 installed and configured.
15
20
16
-
## Lab configuration
21
+
## Prerequisites
17
22
18
23
[!INCLUDE [must have subscription](./includes/lab-services-class-type-subscription.md)]
19
24
20
25
[!INCLUDE [must have lab plan](./includes/lab-services-class-type-lab-plan.md)]
21
26
22
-
###Lab settings
27
+
## Lab configuration
23
28
24
29
[!INCLUDE [create lab](./includes/lab-services-class-type-lab.md)] Use the following settings when creating the lab.
25
30
@@ -32,88 +37,103 @@ This article has two main sections. The first section covers how to create the l
To configure the template VM, we'll complete the following major tasks.
40
+
To configure the template VM, complete the following tasks:
36
41
37
42
1. Prepare the template machine for nested virtualization.
38
-
2. Install GNS3.
39
-
3. Create nested GNS3 VM in Hyper-V.
40
-
4. Configure GNS3 to use Windows Hyper-V VM.
41
-
5. Add appropriate appliances.
42
-
6. Publish template.
43
+
1. Install GNS3.
44
+
1. Create nested GNS3 VM in Hyper-V.
45
+
1. Configure GNS3 to use Windows Hyper-V VM.
46
+
1. Add appropriate appliances.
47
+
1. Publish the template.
43
48
44
49
### Prepare template machine for nested virtualization
45
50
46
-
Follow instructions to [enable nested virtualization](how-to-enable-nested-virtualization-template-vm.md) to prepare your template virtual machine for nested virtualization.
51
+
To prepare the template virtual machine for nested virtualization, follow the detailed steps in [enable nested virtualization](how-to-enable-nested-virtualization-template-vm.md).
47
52
48
53
### Install GNS3
49
54
50
-
- Follow the instructions for [installing GNS3 on Windows](https://docs.gns3.com/docs/getting-started/installation/windows). Make sure to include installing the **GNS3 VM** in the component dialog, see below.
55
+
1. Connect to the template VM by using remote desktop.
56
+
57
+
1. Follow the detailed instructions on the GNS3 website, to [install GNS3 on Windows](https://docs.gns3.com/docs/getting-started/installation/windows).
1. Make sure to select**GNS3 VM** in the component dialog:
53
60
54
-
Eventually you'll reach the GNS3 VM selection. Make sure to selectthe **Hyper-V**option.
61
+
:::image type="content" source="./media/class-type-networking-gns3/gns3-select-vm.png" alt-text="Screenshot that shows the Choose Components page in the GNS3 installation wizard, with the GNS3 VM option selected.":::
1. On the **GNS3 VM** page, select the **Hyper-V** option:
57
64
58
-
This option will download the PowerShell script and VHD files to create the GNS3 VM in the Hyper-V manager. Continue installation using the default values.
65
+
:::image type="content" source="./media/class-type-networking-gns3/gns3-vm-hyper-v.png" alt-text="Screenshot that shows the GNS3 VM page in the GNS3 installation wizard, with the Hyper-V option selected.":::
59
66
60
-
> [!IMPORTANT]
61
-
> Once the setup is complete, don't start GNS3.
67
+
When you select the Hyper-V option, the installer downloads the PowerShell script and VHD files to create the GNS3 VM in the Hyper-V manager.
68
+
69
+
1. Continue the installation with the default values.
70
+
71
+
> [!IMPORTANT]
72
+
> After the setup completes, don't start GNS3.
62
73
63
74
### Create GNS3 VM
64
75
65
-
Once the setup has completed, a zip file **"GNS3.VM.Hyper-V.2.2.17.zip"** is downloaded to the same folder as the installation file, containing the drives and the PowerShell script to create the Hyper-V vm.
76
+
When the setup finishes, a zip file `GNS3.VM.Hyper-V.2.2.17.zip` is downloaded to the same folder as the installation file. The zip file contains the virtual disks and the PowerShell script to create the Hyper-V virtual machine.
77
+
78
+
To create the GNS 3 VM:
79
+
80
+
1. Connect to the template VM by using remote desktop.
81
+
82
+
1. Extract all files in the `GNS3.VM.Hyper-V.2.2.17.zip` file.
66
83
67
-
-**Extract all** on the GNS3.VM.Hyper-V.2.2.17.zip. This action will extract out the drives and the PowerShell script to create the VM.
68
-
-**Run with PowerShell** on the "create-vm.ps1" PowerShell script by right-clicking on the file.
69
-
- An Execution Policy Change request may show up. Enter "Y" to execute the script.
84
+
1. Right-select the `create-vm.ps1` PowerShell script, and then select **Run with PowerShell**.
1. When the `Execution Policy Change` request shows, enter **Y** to execute the script.
72
87
73
-
- Once the script has completed, you can confirm the VM "GNS3 VM" has been created in the Hyper-V Manager.
88
+
:::image type="content" source="./media/class-type-networking-gns3/powershell-execution-policy-change.png" alt-text="Screenshot that shows the PowerShell command line, asking for an Execution Policy change.":::
89
+
90
+
1. After the script completes, confirm that the **GNS3 VM** virtual machine is available in Hyper-V Manager.
74
91
75
92
### Configure GNS3 to use Hyper-V VM
76
93
77
-
Now that GNS3 is installed and the GNS3 VM is added, start up GNS3 to link the two together. The [GNS3 Setup wizard will start automatically.](https://docs.gns3.com/docs/getting-started/setup-wizard-gns3-vm#local-gns3-vm-setup-wizard).
94
+
Now that you installed GNS3, and added the GNS3 VM, configure GNS 3 to use the Hyper-V virtual machine.
95
+
96
+
1. Connect to the template VM by using remote desktop.
97
+
98
+
1. Start GNS3. The [GNS3 Setup wizard](https://docs.gns3.com/docs/getting-started/setup-wizard-gns3-vm#local-gns3-vm-setup-wizard) starts automatically.
99
+
100
+
1. Select the **Run appliances from virtual machine** option, and select **Next**.
101
+
102
+
1. Use the default values in the following pages.
78
103
79
-
- Use the **Run appliances from virtual machine** option. Use the defaults for the rest of the wizard until you hit the **VMware vmrun tool cannot be found** error.
104
+
1. When you get the **VMware vmrun tool cannot be found** error, select **Ok**, and then **Cancel** out of the wizard.
:::image type="content" source="./media/class-type-networking-gns3/gns3-vmware-vmrun-tool-not-found.png" alt-text="Screenshot that shows a VMware error message in the GNS3 Setup wizard.":::
82
107
83
-
- Choose **Ok**, and **Cancel** out of the wizard.
84
-
- To complete the connection to the Hyper-V vm, open the **Edit** -> **Preferences** -> **GNS3 VM** and select **Enable the GNS3 VM** and select the **Hyper-V** option.
108
+
1. To complete the connection to the Hyper-V VM, select **Edit** > **Preferences** > **GNS3 VM**.
1. Select **Enable the GNS3 VM**, and then select the **Hyper-V** option.
111
+
112
+
:::image type="content" source="./media/class-type-networking-gns3/gns3-preference-vm.png" alt-text="Screenshot that shows the GNS3 VM preferences page, showing the GNS3 VM option enabled, and Hyper-V selected.":::
87
113
88
114
### Add appropriate appliances
89
115
90
-
At this point, you'll want to add the appropriate [appliances for the class.](https://docs.gns3.com/docs/using-gns3/beginners/install-from-marketplace)
116
+
Next, you can add appliances for the class. Follow the detailed steps from the GNS3 documentation to [install appliances from the GNS3 marketplace](https://docs.gns3.com/docs/using-gns3/beginners/install-from-marketplace).
91
117
92
118
### Prepare to publish template
93
119
94
-
Now that the template VM is set up properly, and ready for publishing there are a few key points to check.
120
+
Now that you set up the template virtual machine, verify the following key points before you publish the template:
95
121
96
-
- Make sure that the GNS3 VM is shut down or turned off. Publishing while the VM is still running will corrupt the VM.
97
-
-Close down GNS3, publishing while and running can lead to unintended side effects.
98
-
- Clean up any installation files or other unnecessary files.
122
+
- Make sure that the GNS3 VM is shut down or turned off. Publishing while the VM is still running, corrupts the virtual machine.
123
+
-Stop GNS3. Publishing while GNS3 is running can lead to unintended side effects.
124
+
- Clean up any installation files or other unnecessary files from the template VM.
99
125
100
126
>[!IMPORTANT]
101
-
>Publishing while the VM is still running will corrupt the template VMs and create unusable lab VMs.
127
+
>Publishing while the VM is still running, corrupts the template virtual machine and creates unusable lab virtual machines.
102
128
103
129
## Cost
104
130
105
-
If you would like to estimate the cost of this lab, you can use the following example:
106
-
107
-
For a class of 25 students with 20 hours of scheduled class time and 10 hours of quota for homework or assignments, the price for the lab would be:
131
+
This section provides a cost estimate for running this class for 25 users. There are 20 hours of scheduled class time. Also, each user gets 10 hours quota for homework or assignments outside scheduled class time. The virtual machine size we chose is **Large (Nested Virtualization)**, which is 84 lab units.
108
132
109
-
25 students \* (20 + 10) hours\* 84 Lab Units \* 0.01 USD per hour = 630 USD.
133
+
-25 students × (20 scheduled hours + 10 quota hours) × 84 lab units
110
134
111
135
> [!IMPORTANT]
112
-
> Cost estimate is for example purposes only. For current details on pricing, see [Azure Lab Services Pricing](https://azure.microsoft.com/pricing/details/lab-services/).
113
-
114
-
## Conclusion
115
-
116
-
This article walked you through the steps to create a lab for network configuration using GNS3.
136
+
> The cost estimate is for example purposes only. For current pricing information, see [Azure Lab Services pricing](https://azure.microsoft.com/pricing/details/lab-services/).
0 commit comments