`
:::note
You cannot use the same license key twice, or reuse a key once the virtual machine has been registered with Cloudflare. You need a new key from your account team for every new Virtual Connector.
@@ -121,17 +123,6 @@ You cannot use the same license key twice, or reuse a key once the virtual machi
}}
/>
-### WAN with a static IP address
-
-After activating your Virtual Connector, you can use it in a network configuration with the WAN interface set to a static IP address - that is, an Internet configuration that is not automatically set by DHCP.
-
-To use your Virtual Connector on a network configuration with a static IP:
-
-1. Wait 60 seconds after activating your Connector.
-2. Modify your Port Groups as needed to change the source from which the WAN port obtains its IP address.
-3. [Adjust the WAN settings](#2-create-a-wan) in the Cloudflare dashboard to reflect the new static IP address configuration.
-4. Reboot your virtual machine.
-
## Boot your Virtual Connector
1. Go to **Virtual Machines** in VMware, and boot up Virtual Connector's VM.
@@ -142,6 +133,27 @@ To use your Virtual Connector on a network configuration with a static IP:
---
+## WAN with a static IP address
+
+After activating your Virtual Connector, you can use it in a network configuration with the WAN interface set to a static IP address - that is, an Internet configuration that is not automatically set by DHCP. To use your Virtual Connector on a network configuration with a static IP, follow the steps below.
+
+:::caution
+Before proceeding, make sure that you went through the setup workflow and activated your Virtual Connector.
+:::
+
+1. Connect the machine where you installed the VM with Virtual Connector to a DHCP port with access to the Internet.
+2. [Create a site](#1-create-a-site) in the Cloudflare dashboard.
+3. Associate a Connector to it.
+4. Create a [DHCP WAN](#2-create-a-wan).
+5. [Active](#activate-connector) and boot your Virtual Connector.
+6. Wait 60 seconds.
+7. Make changes to the [WAN settings](#2-create-a-wan) in the Cloudflare dashboard to a static IP set up.
+8. Wait 60 seconds again.
+9. Modify your [Port Groups](#deploy-the-virtual-connector-on-vmware) as needed to change the source from which the WAN port obtains its IP address.
+10. Reboot your virtual machine.
+
+---
+
4. In **VLAN ID**, enter a number between `0` and `4094` to specify a [VLAN ID](/magic-wan/configuration/connector/reference/#vlan-id).
5. In **Priority**, choose the priority for your WAN. Lower numbers have higher priority. Refer to Traffic steering to learn more about how Cloudflare calculates priorities.
-6. **Addressing**: If this is the first time you are setting up your Magic WAN Connector, select **DHCP**. After you activate your Connector, you can then choose to continue fetching the WAN IP address from a DHCP server, or change it to a static IP. If you choose a static IP, you also need to specify the static IP and gateway addresses.
+6. **Addressing**: Select **DHCP**. This is needed the first time you set up your Connector to successfully download all settings to the machine and activate it. If you need a static IP address in your network environment:
+ 1. Continue the set up flow below to activate your Connector.
+ 2. Refer to [WAN with a static IP address](#wan-with-a-static-ip-address). If you choose a static IP, you also need to specify the static IP and gateway addresses.
@@ -117,30 +119,18 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/sites/{sit
1. In **LAN configuration**, select **Create**.
-
2. Enter a descriptive name for your LAN in **Interface name**.
-
3. **Interface number**
-
4. In **VLAN ID**, specify a [VLAN ID](/magic-wan/configuration/connector/reference/#vlan-id) to create virtual LANs.
-
5. In **Static addressing** > **Static address** give your Connector's LAN interface its IP address. You can also enable the following options if they suit your use case:
-
- **This is a DHCP server**: If your Connector is a [DHCP server](/magic-wan/configuration/connector/network-options/dhcp/dhcp-server/).
- **This is a DHCP relay**: If your Connector is a [DHCP relay](/magic-wan/configuration/connector/network-options/dhcp/dhcp-relay/).
-
6. (Optional) In **Directly attached subnet** > **Static NAT prefix**, enter a CIDR prefix to enable NAT (network address translation). The prefix you enter here should be the same size as the prefix entered in **Static addressing**. For example, both networks have a subnet mask of `/24`: `192.168.100.0/24` and `10.10.100.0/24`.
-
7. (Optional) If your LAN contains additional subnets behind a layer 3 router, select **Add routed subnet** under **Routed subnets** to add them:
-
- **Prefix**: The CIDR prefix for the subnet behind the L3 router.
- **Next hop**: The address of the L3 router to which the Connector should forward packets for this subnet.
- - **Static NAT prefix**: Optional setting. If you want to enable NAT for a routed subnet, supply an "external" prefix for the overlay-facing side of the NAT to use. It must be the same size as **Prefix**.
-
- Refer to [Routed subnets](/magic-wan/configuration/connector/network-options/routed-subnets/) for more information.
-
+ - **Static NAT prefix**: Optional setting. If you want to enable NAT for a routed subnet, supply an "external" prefix for the overlay-facing side of the NAT to use. It must be the same size as **Prefix**.
Refer to [Routed subnets](/magic-wan/configuration/connector/network-options/routed-subnets/) for more information.
8. Select **Save**.
-
9. Select **Save and exit** to finish your configuration. Tunnels and static routes will be automatically created and associated with your site once the Magic WAN Connector boots up (refer to the next step).