File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ Add IPv6 address ranges to the virtual network and subnet hosting the VMs as fol
111
111
$vnet = Get-AzVirtualNetwork -ResourceGroupName $rg.ResourceGroupName -Name "myVnet"
112
112
113
113
#Add IPv6 prefix to the VNET
114
- $vnet.addressspace.addressprefixes.add("2001 :db8:deca::/48")
114
+ $vnet.addressspace.addressprefixes.add("fd00 :db8:deca::/48")
115
115
116
116
#Update the running VNET
117
117
$vnet | Set-AzVirtualNetwork
@@ -120,7 +120,7 @@ $vnet | Set-AzVirtualNetwork
120
120
$subnet= $vnet.subnets[0]
121
121
122
122
#Add IPv6 prefix to the Subnet (subnet of the VNET prefix, of course)
123
- $subnet.addressprefix.add("2001 :db8:deca::/64")
123
+ $subnet.addressprefix.add("fd00 :db8:deca::/64")
124
124
125
125
#Update the running VNET with the new subnet configuration
126
126
$vnet | Set-AzVirtualNetwork
You can’t perform that action at this time.
0 commit comments