powershell - Azure VNet Gateway Setup fails for second pair -
i attempting setup multiple vnet vnet connections in azure described here: https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-configure-vnet-to-vnet-connection/
i have 4 vnets
vnet-north vnet-south vnet-east vnet-west
i have been trying setup star topology domain controller in center this:
i have setup vnet-north vnet-south in both directions.
when seek connect vnet-north vnet-east using poewershell command:
ps c:\> set-azurevnetgatewaykey -vnetname vnet-north -localnetworksitename vnet-east -sharedkey a1b2c3d4
it returns success
but when try:
ps c:\> set-azurevnetgatewaykey -vnetname vnet-east -localnetworksitename vnet-north -sharedkey a1b2c3d4 set-azurevnetgatewaykey : badrequest: specified local network site name 'vnet-north' not valid or not found. @ line:1 char:1 + set-azurevnetgatewaykey -localnetworksitename vnet-north -sharedkey aabacada -vnetn ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : closeerror: (:) [set-azurevnetgatewaykey], cloudexception + fullyqualifiederrorid : microsoft.windowsazure.commands.servicemanagement.iaas.setazurevnetgatewaykey
is star topology possible?
powershell azure
No comments:
Post a Comment