Then add the IPv6 configuration to the network interface of the virtual machine. Create the virtual machine with an internal IPv4 address. The network configuration of the virtual machine has IPv4 and IPv6 configurations. Use az network vnet subnet update to add the IPv6 subnet to the virtual network. Use az network vnet update to add the IPv6 address space to the virtual network. Select the box next to Add IPv6 address space.Įnter 2404:f800:8000:122::/64 in IPv6 address space. Select myBackendSubnet in the list of subnets. In the box that displays Add additional address range, enter 2404:f800:8000:122::/63. Use the following example to add and IPv6 address space and subnet to the virtual network you created in the previous steps. The addition of IPv6 to the virtual network must be done after the NAT gateway is associated with myBackendSubnet. Use az network vnet subnet update to associate the NAT gateway with myBackendSubnet. Use az network nat gateway create to create the NAT gateway. Use az network public-ip create to create a public IPv4 address for the NAT gateway. In the list of subnets, select the box for myBackendSubnet. In Public IP addresses, select Create a new public IP address. In the Basics tab of Create network address translation (NAT) gateway, enter or select the following information: Setting Select NAT gateways in the search results. In the search box at the top of the portal, enter NAT gateway. Use the following example to create a NAT gateway. The NAT gateway provides the outbound connectivity for the IPv4 portion of the virtual network. You can proceed to the next steps when the virtual network is deployed. It takes a few minutes for the bastion host to deploy. Use az network bastion create to create the bastion host. Use az network public-ip create to create a public IP address for the bastion host. Use az network vnet subnet create to create the IPv4 subnet for the virtual network and the Azure Bastion subnet. Use az network vnet create to create the virtual network. Select OK.Īn Azure resource group is a logical container where Azure resources are deployed and managed.Ĭreate a resource group with az group create. Select the Security tab or select Next: Security.Įnter or select the following information: Setting Leave the default IPv4 subnet of 10.1.0.0/24. If default is missing, select + Add subnet. If the default is absent or different, enter an IPv4 address space of 10.1.0.0/16. Leave the default IPv4 address space of 10.1.0.0/16. Select the IP Addresses tab, or Next: IP Addresses. In the Basics tab of Create virtual network, enter or select the following information. Select Virtual networks in the search results. In the search box at the top of the portal, enter Virtual network. In this section, create a virtual network for the virtual machine and load balancer. If using Azure Cloud Shell, the latest version is already installed. This tutorial requires version 2.0.28 or later of the Azure CLI. To upgrade to the latest version, run az upgrade.Īn Azure account with an active subscription. Run az version to find the version and dependent libraries that are installed. For more information about extensions, see Use extensions with the Azure CLI. When you're prompted, install the Azure CLI extension on first use. For other sign-in options, see Sign in with the Azure CLI. To finish the authentication process, follow the steps displayed in your terminal. If you're using a local installation, sign in to the Azure CLI by using the az login command. For more information, see How to run the Azure CLI in a Docker container. If you're running on Windows or macOS, consider running Azure CLI in a Docker container. If you prefer to run CLI reference commands locally, install the Azure CLI. For more information, see Quickstart for Bash in Azure Cloud Shell. Use the Bash environment in Azure Cloud Shell. An Azure account with an active subscription.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |