Export (0) Print
Expand All

Virtual Network Configuration File Samples

 
- <NetworkConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2011/07/NetworkConfiguration">
- <VirtualNetworkConfiguration>
- <Dns> 
- <DnsServers>
<DnsServer name="ID1" IPAddress="IPAddress1" /> 
<DnsServer name="ID2" IPAddress="IPAddress2" /> 
<DnsServer name="ID3" IPAddress="IPAddress3" /> 
</DnsServers>
</Dns>
- <LocalNetworkSites>
- <LocalNetworkSite name="ID4">
- <AddressSpace>
<AddressPrefix>AddressPrefix1</AddressPrefix> 
<AddressPrefix>AddressPrefix2</AddressPrefix> 
<AddressPrefix>AddressPrefix3</AddressPrefix> 
</AddressSpace>
</LocalNetworkSite>
- <LocalNetworkSite name="ID5">
<VPNGatewayAddress>VPNGatewayAddress2</VPNGatewayAddress> 
- <AddressSpace>
<AddressPrefix>AddressPrefix4</AddressPrefix> 
<AddressPrefix>AddressPrefix5</AddressPrefix> 
<AddressPrefix>AddressPrefix6</AddressPrefix> 
</AddressSpace>
</LocalNetworkSite>
- <LocalNetworkSite name="ID6">
<VPNGatewayAddress>VPNGatewayAddress3</VPNGatewayAddress> 
- <AddressSpace>
<AddressPrefix>AddressPrefix7</AddressPrefix> 
<AddressPrefix>AddressPrefix8</AddressPrefix> 
<AddressPrefix>AddressPrefix9</AddressPrefix> 
</AddressSpace>
</LocalNetworkSite>
</LocalNetworkSites>
- <VirtualNetworkSites>
- <VirtualNetworkSite name="name1" AffinityGroup="AffinityGroup1">
- <AddressSpace>
<AddressPrefix>AddressPrefix11</AddressPrefix> 
<AddressPrefix>AddressPrefix12</AddressPrefix> 
<AddressPrefix>AddressPrefix13</AddressPrefix> 
</AddressSpace>
- <Subnets>
- <Subnet name="name1">
<AddressPrefix>AddressPrefix11</AddressPrefix> 
</Subnet>
- <Subnet name="name2">
<AddressPrefix>AddressPrefix12</AddressPrefix> 
</Subnet>
- <Subnet name="name3">
<AddressPrefix>AddressPrefix13</AddressPrefix> 
</Subnet>
</Subnets>
- <DnsServersRef>
<DnsServerRef name="ID1" /> 
<DnsServerRef name="ID2" /> 
<DnsServerRef name="ID3" /> 
</DnsServersRef>
- <Gateway profile="Small">
- <ConnectionsToLocalNetwork>
<LocalNetworkSiteRef name="ID6" /> 
</ConnectionsToLocalNetwork>
</Gateway>
</VirtualNetworkSite>
</VirtualNetworkSites>
</VirtualNetworkConfiguration>
</NetworkConfiguration>

See Also

Community Additions

Show:
© 2014 Microsoft