Skip to content

Commit c1e4e2f

Browse files
authored
Merge pull request #111544 from EMaher/enewman/networking-update
Updating peered networking doc.
2 parents 1f67f48 + 766cca3 commit c1e4e2f

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

articles/lab-services/classroom-labs/how-to-connect-peer-virtual-network.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,49 @@ ms.author: spelluru
1717

1818
---
1919

20-
# Connect your lab's network with a peer virtual network in Azure Lab Services
21-
This article provides information about peering your labs network with another network.
20+
# Connect your lab's network with a peer virtual network in Azure Lab Services
21+
22+
This article provides information about peering your labs network with another network.
2223

2324
## Overview
25+
2426
Virtual network peering enables you to seamlessly connect Azure virtual networks. Once peered, the virtual networks appear as one, for connectivity purposes. The traffic between virtual machines in the peered virtual networks is routed through the Microsoft backbone infrastructure, much like traffic is routed between virtual machines in the same virtual network, through private IP addresses only. For more information, see [Virtual network peering](../../virtual-network/virtual-network-peering-overview.md).
2527

2628
You may need to connect your lab's network with a peer virtual network in some scenarios including the following ones:
2729

2830
- The virtual machines in the lab have software that connects to on-premises license servers to acquire license
29-
- The virtual machines in the lab need access to data sets (or any other files) on university's network shares.
31+
- The virtual machines in the lab need access to data sets (or any other files) on university's network shares.
3032

3133
Certain on-premises networks are connected to Azure Virtual Network either through [ExpressRoute](../../expressroute/expressroute-introduction.md) or [Virtual Network Gateway](../../vpn-gateway/vpn-gateway-about-vpngateways.md). These services must be set up outside of Azure Lab Services. To learn more about connecting an on-premises network to Azure using ExpressRoute, see [ExpressRoute overview](../../expressroute/expressroute-introduction.md). For on-premises connectivity using a Virtual Network Gateway, the gateway, specified virtual network, and the lab account must all be in the same region.
3234

3335
> [!NOTE]
34-
> When creating a Azure Virtual Network that will be peered with a lab account, it's important to understand how the virtual network's region impacts where classroom labs are created. For further information, refer to the administrator guide's section on [regions\locations](https://docs.microsoft.com/azure/lab-services/classroom-labs/administrator-guide#regionslocations).
36+
> When creating a Azure Virtual Network that will be peered with a lab account, it's important to understand how the virtual network's region impacts where classroom labs are created. For more information, see the administrator guide's section on [regions\locations](https://docs.microsoft.com/azure/lab-services/classroom-labs/administrator-guide#regionslocations).
3537
3638
## Configure at the time of lab account creation
37-
During the new lab account creation, you can pick an existing virtual network that shows in the **Peer virtual network** dropdown list on the **Advanced** tab. The selected virtual network is connected(peered) to labs created under the lab account. All the virtual machines in labs that are created after the making this change would have access to the resources on the peered virtual network.
3839

39-
There is also a provision to provide **Address range** of virtual machines for the labs. If the address range is provided, all the virtual machines in the labs under the lab account will be created in that address range. The address range should be in CIDR notation (e.g. 10.20.0.0/20) and not overlap with any existing address ranges. When providing an address range, it is important to think about the number of virtual machines that will be created in the labs and provide an address range to accommodate that. For a given range, the number of labs it can accomodate will be shown.
40+
During the new [lab account creation](tutorial-setup-lab-account.md), you can pick an existing virtual network that shows in the **Peer virtual network** dropdown list on the **Advanced** tab. The list will only show virtual networks in the same region as the lab account. The selected virtual network is connected (peered) to labs created under the lab account. All the virtual machines in labs that are created after the making this change will have access to the resources on the peered virtual network.
4041

4142
![Select VNet to peer](../media/how-to-connect-peer-virtual-network/select-vnet-to-peer.png)
4243

43-
> [!NOTE]
44-
> For detailed step-by-step instructions for creating a lab account, see [Set up a lab account](tutorial-setup-lab-account.md)
44+
### Address range
45+
46+
There is also an option to provide **Address range** for virtual machines for the labs. If the address range is provided, all the virtual machines in the labs under the lab account will be created in that address range. The address range should be in CIDR notation (e.g. 10.20.0.0/20) and not overlap with any existing address ranges. When providing an address range, it's important to think about the number of *labs* that will be created and provide an address range to accommodate that. Lab Services assumes a maximum of 512 virtual machines per lab. For example, an ip range with '/23' can create only one lab. A range with a '/21' will allow for the creation of four labs.
4547

48+
If the **Address range** is not specified, Lab Services will use the default address range given to it by Azure when creating the virtual network to be peered with your virtual network. The range is often something like 10.x.0.0/16. This may lead to ip range overlap, so make sure to either specify and address range in the lab settings or check the address range of your virtual network being peered.
4649

4750
## Configure after the lab is created
48-
The same property can be enabled from the **Labs configuration** tab of the **Lab Account** page if you didn't set up a peer network at the time of lab account creation. Change made to this setting applies only to the labs that are created after the change. As you can see in the image, you can enable or disable **Peer virtual network** for labs in the lab account.
4951

50-
![Enable or disable VNet peering after the lab is created](../media/how-to-connect-peer-virtual-network/select-vnet-to-peer-existing-lab.png)
52+
The same property can be enabled from the **Labs configuration** tab of the **Lab Account** page if you didn't set up a peer network at the time of lab account creation. Change made to this setting applies only to the labs that are created after the change. As you can see in the image, you can enable or disable **Peer virtual network** for labs in the lab account.
5153

52-
When you select a virtual network for the **Peer virtual network** field, the **Allow lab creator to pick lab location** option is disabled. It's because labs in the lab account must be in the same region as the lab account for them to connect with resources in the peer virtual network.
54+
![Enable or disable VNet peering after the lab is created](../media/how-to-connect-peer-virtual-network/select-vnet-to-peer-existing-lab.png)
5355

54-
> [!IMPORTANT]
55-
> This setting change applies only to labs that are created after the change is made, not to the existing labs.
56+
When you select a virtual network for the **Peer virtual network** field, the **Allow lab creator to pick lab location** option is disabled. That's because labs in the lab account must be in the same region as the lab account for them to connect with resources in the peer virtual network.
5657

58+
> [!IMPORTANT]
59+
> The peered virtual network setting applies only to labs that are created after the change is made, not to the existing labs.
5760
5861
## Next steps
62+
5963
See the following articles:
6064

6165
- [Allow lab creator to pick lab location](allow-lab-creator-pick-lab-location.md)

0 commit comments

Comments
 (0)