ASDK deployment code


  • Hi,

    Is the ASDK deployment open source? If not can it be :)

    I have noticed what I think is a bug with the network configuration on the BGPNAT box. Despite supplying a /28 a /24 has been configured. 

    If I could see the code I could check if I am correct, raise an issue and potentially propose a fix.



    Tuesday, November 28, 2017 6:50 AM

All replies

  • Hi Charlie,

    Can you elaborate a bit more about where you're trying to configure the subnet?  If you're trying to specify an IP address on the BGPNAT instance using the ASDK deployment UI, and are providing a Static IP for the BGPNAT using CIDR notation (e.g., and that is somehow being converted to then yes this not only a bug, but a bug that nobody has seen or reported yet and that we are unable to reproduce on our side.  

    Is this what you're trying to do?  Or are you trying to do something else?



    Thursday, November 30, 2017 7:20 PM
  • Hello Charlie,

    The ASDK-Installer 'Static IP Address' field requires the subnet mask be formatted in the address (with no spaces).


    subnet mask:


    would be formatted as:


    To determine how many bits to set for your subnet see the chart below
    Class B IP Subnetting
    /16 =
    /17 =
    /18 =
    /19 =
    /20 =
    /21 =
    /22 =
    /23 =

    Class C IP Subnetting
    /24 =  
    /25 =
    /26 =
    /27 = 


    Also - You can still deploy from command-line although it is not recommended as the ASDK-Installer forces valid parameters.


    ADFS Example



    $adminpass= ConvertTo-SecureString "Changeme" -AsPlainText -Force

    .\InstallAzureStackPOC.ps1  -AdminPassword $adminpass -UseADFS -NATIPv4Subnet -NATIPv4Address ` -DNSForwarder -TimeServer


    Azure Cloud Example



    $adminpass= ConvertTo-SecureString "Changeme" -AsPlainText -Force

    $aadpass= ConvertTo-SecureString "Changeme" -AsPlainText -Force

    $aadcred= New-Object System.Management.Automation.PSCredentia ("", $aadpass)

    .\InstallAzureStackPOC.ps1-AdminPassword $adminpass -InfraAzureDirectoryTenantAdminCredential $aadcred -InfraAzureDirectoryTenantName "" `

    -NATIPv4Subnet10.184.224.0/26 -NATIPv4Address -NATIPv4DefaultGateway -DNSForwarder -TimeServer



    We apologize for any inconvenience and appreciate your time and interest in Azure Stack.

    If you continue experience any issues with the ASDK release, feel free to contact us.



    Gary Gallanes

    Friday, December 01, 2017 12:43 AM
  • Hey Gary,

    I have had a chance to redploy and can confirm I think this is a bug. During the deployment I specify a static address for the NAT box which I define with a /28 as the subnet size. However when running get-netnat and ipconfig show that a /24 is defined.

    This should not be the case it should use a /28 as defined.


    Could you also answer whether the deployment code is available to view?



    Wednesday, December 06, 2017 11:54 AM