# Add Multiple Dual Stack Ports to a VM

This tutorial describes steps to add multiple dual stack ports to a VM.

A dual stack port is a port with both an ipv4 and ipv6 IP address.

<code class="expression">space.vars.product\_name</code> enables you to create one or more dual stack ports in your account, assuming you have underlying networking setup to support this.

### Pre-requisites

1. At least one physical or virtual network in your <code class="expression">space.vars.product\_name</code> with at least two subnets - one using `ipv4` protocol and second using `ipv6` protocol. Contact your <code class="expression">space.vars.product\_name</code> administrator for information re specific network and subnets to use.

### Step 1: Create a Dual Stack Port

1. **Navigate to Networking**:
   * Go to **Networking** -> **Physical Network** or **Virtual Network**.
   * Click on the **Network Name**, then go to **Ports** and click **Create Port**.
2. **Configure the dual stack port**:
   * In the **Create Port** wizard, provide a name for the port.
   * Create two IP addresses for this port, each mapping to corresponding `ipv4` and `ipv6` subnet you wish to create this dual stack port with. Click **+ Add Private IP Address** for each desired private IP address to be associated with the port:
     * Select a **subnet** for each IP.
     * Optionally, specify the IP address. If not provided, one will be assigned via DHCP.
     * Optionally, specify **Security Groups** and **Allowed Address Pairs**.
     * Click **Create Port** to complete the process.
     * Repeat for each desired port.

### Step 2: Create a VM

1. **Attach one dual stack port during VM creation**:
   * During Step 3 of the VM creation wizard (**Choose Your Networks**), navigate to the **Ports** dropdown menu.
   * Select the port you created in Step 1 to attach it to the VM.

### Step 3: Add Additional Dual Stack Ports to an Existing VM (Optional)

1. **Create additional dual stack ports**:
   * If needed, follow the steps in **Section 1** to create more ports.
2. **Attach ports to an existing VM**:
   * Navigate to the **virtual machines** menu in the left nav bar and select the VM you just created.
   * Open the "Other" dropdown menu (cherry pick menu) and click **Add Fixed IP**.
   * Select the desired network and port to add it to the VM.

***
