2014-10-16 18 views
1

我試圖設置多個互聯星空在Azure中互聯星空連接如下所述:https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-configure-vnet-to-vnet-connection/Azure的互聯星空網關設置爲失敗,第二對

我有4個VNets

互聯星空北 互聯星空南 VNet-東 互聯星空方

我一直在試圖建立與域控制器星形拓撲結構在中心這樣的:

Star Topology

我已經在兩個方向上成功地將VNet-North設置爲VNet-South。

當我嘗試使用這個PoewerShell命令互聯星空北連接到互聯星空東:

PS C:\> Set-AzureVNetGatewayKey -VNetName VNet-North -LocalNetworkSiteName VNet-East -SharedKey A1b2C3D4 

它返回成功

但是當我嘗試:

PS C:\> Set-AzureVNetGatewayKey -VNetName VNet-East -LocalNetworkSiteName VNet-North -SharedKey A1b2C3D4 

Set-AzureVNetGatewayKey : BadRequest: The specified local network site name 'VNet-North' is not valid or could not be found. 
At line:1 char:1 
+ Set-AzureVNetGatewayKey -LocalNetworkSiteName VNet-North -SharedKey AaBaCaDa -VNetN ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Set-AzureVNetGatewayKey], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.SetAzureVNetGatewayKey 

是明星拓撲可能?

回答

0

發生同樣的問題,通過發出Reset-AzureVNetGateway -VNetName "Name"針對有問題的各方解決。該命令將臨時刪除給定VPN網關上的所有連接,請謹慎使用。

相關問題