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
Copy file name to clipboardExpand all lines: articles/defender-for-iot/organizations/appliance-catalog/virtual-sensor-hyper-v.md
-126Lines changed: 0 additions & 126 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,132 +84,6 @@ This procedure describes how to create a virtual machine by using Hyper-V.
84
84
1. Continue with the [generic procedure for installing sensor software](../how-to-install-software.md#install-ot-monitoring-software).
85
85
86
86
87
-
## Configure a monitoring interface (SPAN)
88
-
89
-
While a virtual switch doesn't have mirroring capabilities, you can use *Promiscuous mode* in a virtual switch environment as a workaround for configuring a SPAN port.
90
-
91
-
*Promiscuous mode* is a mode of operation and a security, monitoring, and administration technique that is defined at the virtual switch or portgroup level. When promiscuous mode is used, any of the virtual machine’s network interfaces in the same portgroup can view all network traffic that goes through that virtual switch. By default, promiscuous mode is turned off.
92
-
93
-
For more information, see [Purdue reference model and Defender for IoT](../best-practices/understand-network-architecture.md#purdue-reference-model-and-defender-for-iot).
94
-
95
-
### Prerequisites
96
-
97
-
Before you start:
98
-
99
-
- Ensure that there's no instance of a virtual appliance running.
100
-
101
-
- Enable Ensure SPAN on the data port, and not the management port.
102
-
103
-
- Ensure that the data port SPAN configuration is not configured with an IP address.
104
-
105
-
### Configure a SPAN port with Hyper-V
106
-
107
-
1. Open the Virtual Switch Manager.
108
-
109
-
1. In the Virtual Switches list, select **New virtual network switch** > **External** as the dedicated spanned network adapter type.
110
-
111
-
:::image type="content" source="../media/tutorial-install-components/new-virtual-network.png" alt-text="Screenshot of selecting new virtual network and external before creating the virtual switch.":::
112
-
113
-
1. Select **Create Virtual Switch**.
114
-
115
-
1. Under connection type, select **External Network**.
116
-
117
-
1. Ensure the checkbox for **Allow management operating system to share this network adapter** is checked.
118
-
119
-
:::image type="content" source="../media/tutorial-install-components/external-network.png" alt-text="Select external network, and allow the management operating system to share the network adapter.":::
120
-
121
-
1. Select **OK**.
122
-
123
-
#### Attach a SPAN Virtual Interface to the virtual switch
124
-
125
-
You are able to attach a SPAN Virtual Interface to the Virtual Switch through Windows PowerShell, or through Hyper-V Manager.
126
-
127
-
**To attach a SPAN Virtual Interface to the virtual switch with PowerShell**:
128
-
129
-
1. Select the newly added SPAN virtual switch, and add a new network adapter with the following command:
|**vSwitch_Span**|Newly added SPAN virtual switch name |
145
-
|**Monitor**|Newly added adapter name |
146
-
147
-
1. Select **OK**.
148
-
149
-
These commands set the name of the newly added adapter hardware to be `Monitor`. If you're using Hyper-V Manager, the name of the newly added adapter hardware is set to `Network Adapter`.
150
-
151
-
**To attach a SPAN Virtual Interface to the virtual switch with Hyper-V Manager**:
152
-
153
-
1. Under the Hardware list, select **Network Adapter**.
154
-
155
-
1. In the Virtual Switch field, select **vSwitch_Span**.
156
-
157
-
:::image type="content" source="../media/tutorial-install-components/vswitch-span.png" alt-text="Screenshot of selecting the following options on the virtual switch screen.":::
158
-
159
-
1. In the Hardware list, under the Network Adapter drop-down list, select **Hardware Acceleration** and disable "Virtual Machine Queue" for the monitoring (SPAN) network interface.
160
-
161
-
1. In the Hardware list, under the Network Adapter drop-down list, select **Advanced Features**. Under the Port Mirroring section, select **Destination** as the mirroring mode for the new virtual interface.
162
-
163
-
:::image type="content" source="../media/tutorial-install-components/destination.png" alt-text="Screenshot of the selections needed to configure mirroring mode.":::
164
-
165
-
1. Select **OK**.
166
-
167
-
#### Enable Microsoft NDIS capture extensions for the virtual switch
168
-
169
-
Microsoft NDIS Capture Extensions will need to be enabled for the new virtual switch.
170
-
171
-
**To enable Microsoft NDIS capture extensions for the newly added virtual switch**:
172
-
173
-
1. Open the Virtual Switch Manager on the Hyper-V host.
174
-
175
-
1. In the Virtual Switches list, expand the virtual switch name `vSwitch_Span` and select **Extensions**.
176
-
177
-
1. In the Switch Extensions field, select **Microsoft NDIS Capture**.
178
-
179
-
:::image type="content" source="../media/tutorial-install-components/microsoft-ndis.png" alt-text="Screenshot of enabling the Microsoft NDIS by selecting it from the switch extensions menu.":::
180
-
181
-
1. Select **OK**.
182
-
183
-
#### Set the Mirroring Mode on the external port
184
-
185
-
Mirroring mode will need to be set on the external port of the new virtual switch to be the source.
186
-
187
-
You will need to configure the Hyper-V virtual switch (vSwitch_Span) to forward any traffic that comes to the external source port, to the virtual network adapter that you configured as the destination.
188
-
189
-
Use the following PowerShell commands to set the external virtual switch port to source mirror mode:
190
-
191
-
```bash
192
-
$ExtPortFeature=Get-VMSystemSwitchExtensionPortFeature -FeatureName "Ethernet Switch Port Security Settings"
Copy file name to clipboardExpand all lines: articles/defender-for-iot/organizations/appliance-catalog/virtual-sensor-vmware.md
+8-40Lines changed: 8 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ Before you begin the installation, make sure you have the following items:
26
26
27
27
- The OT sensor software [downloaded from Defender for IoT in the Azure portal](../how-to-install-software.md#download-software-files-from-the-azure-portal).
28
28
29
+
- Traffic mirroring configured on your vSwitch. For more information, see [Configure traffic mirroring with a ESXi vSwitch](../traffic-mirroring/configure-mirror-esxi.md).
30
+
29
31
Make sure the hypervisor is running.
30
32
31
33
## Create the virtual machine
@@ -69,46 +71,12 @@ This procedure describes how to create a virtual machine by using ESXi.
69
71
1. Continue with the [generic procedure for installing sensor software](../how-to-install-software.md#install-ot-monitoring-software).
70
72
71
73
72
-
## Configure a monitoring interface (SPAN)
73
-
74
-
While a virtual switch doesn't have mirroring capabilities, you can use *Promiscuous mode* in a virtual switch environment as a workaround for configuring a SPAN port.
75
-
76
-
*Promiscuous mode* is a mode of operation and a security, monitoring, and administration technique that is defined at the virtual switch or portgroup level. When promiscuous mode is used, any of the virtual machine’s network interfaces that are in the same portgroup can view all network traffic that goes through that virtual switch. By default, promiscuous mode is turned off.
77
-
78
-
For more information, see [Purdue reference model and Defender for IoT](../best-practices/understand-network-architecture.md#purdue-reference-model-and-defender-for-iot).
79
-
80
-
**To configure a SPAN port with ESXi**:
81
-
82
-
1. Open vSwitch properties.
83
-
84
-
1. Select **Add**.
85
-
86
-
1. Select **Virtual Machine** > **Next**.
87
-
88
-
1. Insert a network label **SPAN Network**, select **VLAN ID** > **All**, and then select **Next**.
89
-
90
-
1. Select **Finish**.
91
-
92
-
1. Select **SPAN Network** > **Edit*.
93
-
94
-
1. Select **Security**, and verify that the **Promiscuous Mode** policy is set to **Accept** mode.
95
-
96
-
1. Select **OK**, and then select **Close** to close the vSwitch properties.
97
-
98
-
1. Open the **OT Sensor VM** properties.
99
-
100
-
1. For **Network Adapter 2**, select the **SPAN** network.
101
-
102
-
1. Select **OK**.
103
-
104
-
1. Connect to the sensor, and verify that mirroring works.
105
-
106
74
## Next steps
107
75
108
-
Continue understanding system requirements for physical or virtual appliances. For more information, see [Which appliances do I need?](../ot-appliance-sizing.md) and [OT monitoring with virtual appliances](../ot-virtual-appliances.md).
109
-
110
-
Then, use any of the following procedures to continue:
76
+
For more information, see:
111
77
112
-
-[Purchase sensors or download software for sensors](../onboard-sensors.md#purchase-sensors-or-download-software-for-sensors)
113
-
-[Download software for an on-premises management console](../how-to-manage-the-on-premises-management-console.md#download-software-for-the-on-premises-management-console)
0 commit comments