Skip to content

Commit eeaf625

Browse files
Merge pull request #312000 from jlian/fix/virtual-switch-ips
Fix inconsistent IP ranges and typo in EFLOW virtual switch guide
2 parents ab189e5 + 1838500 commit eeaf625

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

articles/iot-edge/how-to-create-virtual-switch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Note that if you're using an Azure VM, the virtual switch can't be **External**.
6262
6363
Take note of the interface index value, as you'll need to use it in future steps.
6464
65-
6. The resulting virtual switch IP address will be different for each environment. Note that for the rest of the commands in this guide you will make use of IP addresses that are derived from the *172.20.X.Y* family. However, you can you use your own address family and IP addresses.
65+
1. The resulting virtual switch IP address will be different for each environment. Note that for the rest of the commands in this guide you will make use of IP addresses that are derived from the *172.20.X.Y* family. However, you can use your own address family and IP addresses.
6666
6767
You'll create and use the following IP addresses:
6868
@@ -124,7 +124,7 @@ The switch is now created. Next, you'll set up the DNS.
124124
125125
You'll receive the following warning messages while the DHCP server is starting up: `WARNING: Waiting for service 'DHCP Server (dhcpserver)' to start...`
126126
127-
1. To configure the DHCP server range of IPs to be made available, you'll need to set an IP address as the **start IP** and an IP address as the **end IP**. This range is defined by the **StartRange** and the **EndRange** parameters in the [Add-DhcpServerv4Scope](/powershell/module/dhcpserver/add-dhcpserverv4scope) command. You'll also need to set the subnet mask when running this command, which will be 255.255.255.0. Based on the IP address templates and examples in the table from the previous section, setting the **StartRange** as 169.254.229.100 and the **EndRange** as 169.254.229.200 will make 100 IP addresses available. Run the following command, replacing the placeholders with your own values:
127+
1. To configure the DHCP server range of IPs to be made available, you'll need to set an IP address as the **start IP** and an IP address as the **end IP**. This range is defined by the **StartRange** and the **EndRange** parameters in the [Add-DhcpServerv4Scope](/powershell/module/dhcpserver/add-dhcpserverv4scope) command. You'll also need to set the subnet mask when running this command, which will be 255.255.255.0. Based on the IP address templates and examples in the table from the previous section, setting the **StartRange** as 172.20.0.100 and the **EndRange** as 172.20.0.200 will make 100 IP addresses available. Run the following command, replacing the placeholders with your own values:
128128
129129
```powershell
130130
Add-DhcpServerV4Scope -Name "AzureIoTEdgeScope" -StartRange {startIp} -EndRange {endIp} -SubnetMask 255.255.255.0 -State Active

0 commit comments

Comments
 (0)