Skip to content

Commit bc02f8e

Browse files
committed
Fixes
1 parent b9dbcf5 commit bc02f8e

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

articles/iot-edge/how-to-configure-multiple-nics.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ The following steps in this section show how to assign a network interface to th
4141
```
4242
1. Assign the virtual switch to the EFLOW VM.
4343
```powershell
44-
Add-EflowNetwork -Name "{switchName}" -SwitchType {switchType}
44+
Add-EflowNetwork -vSwitchName "{switchName}" -vSwitchType {switchType}
4545
```
46-
For example, if you wanted to assign the external virtual switch named "OnlineOPCUA, you should use the following command
46+
For example, if you wanted to assign the external virtual switch named **OnlineExt**, you should use the following command
4747
```powershell
48-
Add-EflowNetwork -Name "OnlineOPCUA" -SwitchType "External"
48+
Add-EflowNetwork -vSwitchName "OnlineExt" -vSwitchType "External"
4949
```
5050
:::image type="content" source="./media/how-to-configure-multiple-nics/ps-cmdlet-add-eflow-network.png" alt-text="EFLOW attach virtual switch":::
5151
5252
1. Check that the virtual switch was correctly assigned to the EFLOW VM.
5353
```powershell
54-
Get-EflowNetwork -Name "{switchName}"
54+
Get-EflowNetwork -vSwitchName "{switchName}"
5555
```
5656
5757
For more information about attaching a virtual switch to the EFLOW VM, see [PowerShell functions for Azure IoT Edge for Linux on Windows](./reference-iot-edge-for-linux-on-windows-functions.md).
@@ -66,25 +66,27 @@ Once the virtual switch was successfully assigned to the EFLOW VM, you need to c
6666
6767
- If you're using DHCP, no Static IP parameters are needed.
6868
```powershell
69-
Add-EflowEndpoint -Name "{switchName}" -SwitchType {switchType} -vEndpointName "{EndpointName}"
69+
Add-EflowVmEndpoint -vSwitchName "{switchName}" -vEndpointName "{EndpointName}"
7070
```
7171
7272
- If you're using Static IP
7373
```powershell
74-
Add-EflowEndpoint -Name "{switchName}" -SwitchType {switchType} -vEndpointName "{EndpointName}" -ip4Address "{staticIp4Address}" -ip4GatewayAddress "{gatewayIp4Address}" -ip4PrefixLength "{prefixLength}"
74+
Add-EflowVmEndpoint -vSwitchName "{switchName}" -vEndpointName "{EndpointName}" -ip4Address "{staticIp4Address}" -ip4GatewayAddress "{gatewayIp4Address}" -ip4PrefixLength "{prefixLength}"
7575
```
7676
77-
For example, if you wanted to create and assign the "OnlineOPCUA" endpoint with the external virtual switch named "OnlineOPCUA, and Static IP configurations (_ip4Address=192.168.0.103, ip4GatewayAddress=192.168.0.1, ip4PrefixLenght=24_) you should use the following command:
77+
For example, if you wanted to create and assign the **OnlineEndpoint** endpoint with the external virtual switch named **OnlineExt**, and Static IP configurations (_ip4Address=192.168.0.103, ip4GatewayAddress=192.168.0.1, ip4PrefixLenght=24_) you should use the following command:
7878
```powershell
79-
Add-EflowEndpoint -Name "OnlineOPCUA" -SwitchType "External" -vEndpointName "OnlineOPCUA" -ip4Address "192.168.0.103" -ip4GatewayAddress "192.168.0.1" -ip4PrefixLength "24"
79+
Add-EflowVmEndpoint -vSwitchName "OnlineExt" -vEndpointName "OnlineEndpoint" -ip4Address "192.168.0.103" -ip4GatewayAddress "192.168.0.1" -ip4PrefixLength "24"
8080
```
8181
8282
:::image type="content" source="./media/how-to-configure-multiple-nics/ps-cmdlet-add-eflow-endpoint.png" alt-text="EFLOW attach network endpoint":::
8383
84-
1. Check that the network endpoint was correctly created and assigned to the EFLOW VM.
84+
1. Check that the network endpoint was correctly created and assigned to the EFLOW VM. You should see the two network interfaces assigned to the virtual machine.
8585
```powershell
86-
Get-EflowVmEndpoint -Name "{switchName}"
86+
Get-EflowVmEndpoint
8787
```
88+
:::image type="content" source="./media/how-to-configure-multiple-nics/ps-cmdlet-get-eflow-vm-endpoint.png" alt-text="EFLOW get attached network interfaces":::
89+
8890
8991
For more information about creating and attaching a network endpoint to the EFLOW VM, see [PowerShell functions for Azure IoT Edge for Linux on Windows](./reference-iot-edge-for-linux-on-windows-functions.md).
9092
@@ -103,7 +105,7 @@ The final step is to make sure the networking configurations were applied correc
103105
ifconfig
104106
```
105107
106-
The default interface _eth0_ is the one used for all the VM management. You should see another interface, like _eth1, which is the new interface that was assigned to the VM. Following the examples above, if you previously assigned a new endpoint with the static IP 192.168.0.103 and
108+
The default interface **eth0** is the one used for all the VM management. You should see another interface, like **eth1**, which is the new interface that was assigned to the VM. Following the examples above, if you previously assigned a new endpoint with the static IP 192.168.0.103 you should see the interface **eth1** with the _inet addr: 192.168.0.103_.
107109
108110
![EFLOW VM network interfaces](./media/how-to-configure-multiple-nics/ps-cmdlet-eflow-ifconfig.png)
109111
0 Bytes
Loading
0 Bytes
Loading
-500 KB
Loading
47.9 KB
Loading

0 commit comments

Comments
 (0)