You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MWAN] Clarified setting Connector with static IPs (#18585)
* moved prereqs to top
* added h2 with static ip info
* changed to ordered list
* updated WAN language
* refined info
* refined wan steps
* removed extra spaces
* created wan static partials
* updated with wan partials
* corrected partial
* added wan static virtual conn
* reverted partial wan with static
* removed partial
* corrected text
* reworked dhcp vs static ip
* refined text and steps
* refined text and steps
* removed extra spaces
* replaced spaces by tabs
* refined steps
* deleted unnecessary partials
* Apply suggestions from code review
Co-authored-by: Jun Lee <[email protected]>
---------
Co-authored-by: Jun Lee <[email protected]>
You need to purchase [Magic WAN](https://www.cloudflare.com/magic-wan/) before you can purchase and use the Magic WAN Connector. The Magic WAN Connector can function as your primary edge device for your network, or be deployed in-line with existing network gear.
@@ -24,6 +18,21 @@ Contact your account representative to learn more about purchasing options for t
24
18
25
19
---
26
20
21
+
## Before you begin
22
+
23
+
<Renderfile="connector/before-you-begin" />
24
+
25
+
---
26
+
27
+
## DHCP vs static IP connections
28
+
29
+
Magic WAN Connector uses a DHCP connection at first boot to download your settings and go through the activation process. However, if you need to use a static IP in your Connector, and this is a fresh install:
30
+
1. Connect Magic WAN Connector to a DHCP port with access to the Internet.
31
+
2. Go through the [setup flow](#set-up-cloudflare-dashboard) below and activate your Connector.
32
+
3. Refer to [WAN with a static IP address](#wan-with-a-static-ip-address).
33
+
34
+
---
35
+
27
36
## Port speeds
28
37
29
38
The hardware version of the Magic WAN connector includes two [SFP+ ports](https://en.wikipedia.org/wiki/Small_Form-factor_Pluggable) that support 10G throughput, as well as six RJ45 ports that support 1G throughput.
@@ -113,16 +122,27 @@ If there is a firewall deployed upstream of the Magic WAN Connector, configure t
113
122
}}
114
123
/>
115
124
116
-
### WAN with a static IP address
117
-
118
-
After activating your 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.
119
-
120
-
To use your Connector on a network configuration with a static IP:
125
+
---
121
126
122
-
1. Wait 60 seconds after activating your Connector.
123
-
2. Unplug the physical connection to the Internet-connected device which provides DHCP.
124
-
3. Adjust your physical connections as required to match the static configuration, and make changes to the [WAN settings](#2-create-a-wan) in the Cloudflare dashboard to reflect the static IP address configuration.
125
-
4. Power cycle the Connector.
127
+
## WAN with a static IP address
128
+
129
+
After activating your 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 Connector on a network configuration with a static IP, follow the steps below.
130
+
131
+
:::caution
132
+
Before proceeding, make sure that you went through the setup workflow and activated your Magic WAN Connector.
133
+
:::
134
+
135
+
1. Connect Magic WAN Connector to a DHCP port with access to the Internet.
136
+
2.[Create a site](#1-create-a-site) in the Cloudflare dashboard.
137
+
3. Associate a Connector to it.
138
+
4. Create a [DHCP WAN](#2-create-a-wan).
139
+
5.[Active](#activate-connector) and power on your Connector.
140
+
6. Wait 60 seconds.
141
+
7. Make changes to the [WAN settings](#2-create-a-wan) in the Cloudflare dashboard to a static IP set up.
142
+
8. Wait 60 seconds again.
143
+
9. Magic WAN Connector will go offline. This is normal and expected behavior.
144
+
10. Adjust your physical connections as required to match the static configuration.
Copy file name to clipboardExpand all lines: src/content/docs/magic-wan/configuration/connector/configure-virtual-connector.mdx
+51-39Lines changed: 51 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,6 @@ import { Render } from "~/components";
9
9
10
10
Virtual Magic WAN Connector (Virtual Connector) is a virtual appliance alternative to the hardware based Magic WAN Connector appliance. These two versions of Connector are identical otherwise.
11
11
12
-
## Before you begin
13
-
14
-
<Renderfile="connector/before-you-begin" />
15
-
16
12
## Prerequisites
17
13
18
14
Before you can install Virtual Connector, you need an Enterprise account with Magic WAN enabled. Additionally, you need to have a VMware host with sufficient compute, memory, and storage to run the virtual machine with Virtual Connector. This includes:
@@ -27,6 +23,21 @@ Before you can install Virtual Connector, you need an Enterprise account with Ma
27
23
28
24
Refer to [VMware's documentation](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.esxi.install.doc/GUID-B2F01BF5-078A-4C7E-B505-5DFFED0B8C38.html) for more information on how to install ESXi and configure a virtual machine.
29
25
26
+
---
27
+
28
+
## Before you begin
29
+
30
+
<Renderfile="connector/before-you-begin" />
31
+
32
+
---
33
+
34
+
## DHCP vs static IP connections
35
+
36
+
Virtual Connector uses a DHCP connection at first boot to download your settings and go through the activation process. However, if you need to use a static IP in your Virtual Connector, and this is a fresh install:
37
+
1. Connect the machine with your Virtual Connector VM to a DHCP port with access to the Internet.
38
+
2. Go through the [setup flow](#set-up-cloudflare-dashboard) below and activate your Connector.
39
+
3. Refer to [WAN with a static IP address](#wan-with-a-static-ip-address).
40
+
30
41
## Obtain the Virtual Connector image
31
42
32
43
Contact your account team at Cloudflare to obtain the Virtual Connector [OVA package](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-AE61948B-C2EE-436E-BAFB-3C7209088552.html) and license keys. The OVA image includes the files required to install and configure the virtual machine (VM) for Virtual Connector with the appropriate settings.
@@ -40,9 +51,9 @@ You will consume one license key for each instance created. For example, if you
40
51
The following instructions assume you already have VMware ESXi hypervisor installed with sufficient resources. Refer to [Prerequisites](#prerequisites) for more information.
41
52
42
53
1. When setting up your VMware ESXi, you need to create port groups for Virtual Connector. Go to **Networking** > **Port groups**, and prepare your vSwitch port groups and/or VLANs for your desired network topology. For example, a simple deployment typically has:
43
-
- A WAN port group where the Virtual Connector will get an IP address (static or DHCP) that has access to the Internet.
44
-
- A LAN port group, where the Virtual Connector will act as default router, and possibly DHCP server.
45
-
- A null, or unused, port group for allocating unused virtual interfaces in the Virtual Connector. You can, for example, create a null port group with the name of `Null port group`, and a **VLAN ID** of `999`.
54
+
- A WAN port group where the Virtual Connector will get an IP address (static or DHCP) that has access to the Internet.
55
+
- A LAN port group, where the Virtual Connector will act as default router, and possibly DHCP server.
56
+
- A null, or unused, port group for allocating unused virtual interfaces in the Virtual Connector. You can, for example, create a null port group with the name of `Null port group`, and a **VLAN ID** of `999`.
46
57
47
58
:::note[VLAN tagging]
48
59
Virtual Connector supports creating subinterfaces through the use of [802.1Q VLAN tagging](https://en.wikipedia.org/wiki/IEEE_802.1Q).
@@ -59,38 +70,29 @@ Refer to [VMWare's documentation](https://kb.vmware.com/s/article/1003825) for m
59
70
60
71
2. Extract the files in the OVA image provided by your Cloudflare account team. For example:
61
72
62
-
```txt
63
-
tar -xvf mconn-2024-1-3.ova
64
-
```
73
+
```txt
74
+
tar -xvf mconn-2024-1-3.ova
75
+
```
65
76
66
-
Take note of the folder where you are extracting the files to, as you will need to refer to that folder when creating the VM.
77
+
Take note of the folder where you are extracting the files to, as you will need to refer to that folder when creating the VM.
67
78
68
79
3. Go to **Virtual Machines** > **Create/Register VM** wizard to start deploying the Virtual Connector.
69
-
70
80
4. Select **Deploy a virtual machine from an OVF or OVA file** > **Next**.
71
-
72
81
5. Choose a descriptive name for your virtual machine.
73
-
74
82
6. Upload the files you have extracted from the OVA image. These include `mconn.ovf`, `mconn.nvram`, and `mconn.vmdk`.
75
-
76
83
7. Select where you want to save the files extracted from the OVA image > **Next**.
77
-
78
84
8. In **Networking mappings**, select assignments for your desired topology according to the port groups you set up previously:
79
-
80
-
1. For example, map `eno1` port to `VM Network` to create your WAN, and `eno2` to `LAN0` to act as your LAN port.
81
-
2. Allocate any unused ports to the `null` port group.
82
-
3. Take note of your configuration. You will need this information to configure your network in the Cloudflare dashboard.
83
-
85
+
1. For example, map `eno1` port to `VM Network` to create your WAN, and `eno2` to `LAN0` to act as your LAN port.
86
+
2. Allocate any unused ports to the `null` port group.
87
+
3. Take note of your configuration. You will need this information to configure your network in the Cloudflare dashboard.
84
88
9. In **Disk provisioning**, select **Thin**.
85
-
86
89
10. Before completing the deployment wizard, disable **Power on automatically**. This is important so that you can configure the license key prior to boot.
87
-
88
90
11. Configure the virtual machine with the license key your account team provided you:
89
-
1. Select the Virtual Connector's VM > **Settings**.
90
-
2. Go to **VM Options** > **Advanced** > **Edit Configuration**.
91
-
3. Select **Add parameter** to add your license key. Scroll down to the last entry (this is where VMware adds the new parameter), and add the following two new entries:
92
-
-**Key**: `guestinfo.cloudflare.identity`
93
-
-**Value**: `<YOUR_LICENCE_KEY>`
91
+
1. Select the Virtual Connector's VM > **Settings**.
92
+
2. Go to **VM Options** > **Advanced** > **Edit Configuration**.
93
+
3. Select **Add parameter** to add your license key. Scroll down to the last entry (this is where VMware adds the new parameter), and add the following two new entries:
94
+
-**Key**: `guestinfo.cloudflare.identity`
95
+
-**Value**: `<YOUR_LICENCE_KEY>`
94
96
95
97
:::note
96
98
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
121
123
}}
122
124
/>
123
125
124
-
### WAN with a static IP address
125
-
126
-
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.
127
-
128
-
To use your Virtual Connector on a network configuration with a static IP:
129
-
130
-
1. Wait 60 seconds after activating your Connector.
131
-
2. Modify your Port Groups as needed to change the source from which the WAN port obtains its IP address.
132
-
3.[Adjust the WAN settings](#2-create-a-wan) in the Cloudflare dashboard to reflect the new static IP address configuration.
133
-
4. Reboot your virtual machine.
134
-
135
126
## Boot your Virtual Connector
136
127
137
128
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:
142
133
143
134
---
144
135
136
+
## WAN with a static IP address
137
+
138
+
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.
139
+
140
+
:::caution
141
+
Before proceeding, make sure that you went through the setup workflow and activated your Virtual Connector.
142
+
:::
143
+
144
+
1. Connect the machine where you installed the VM with Virtual Connector to a DHCP port with access to the Internet.
145
+
2.[Create a site](#1-create-a-site) in the Cloudflare dashboard.
146
+
3. Associate a Connector to it.
147
+
4. Create a [DHCP WAN](#2-create-a-wan).
148
+
5.[Active](#activate-connector) and boot your Virtual Connector.
149
+
6. Wait 60 seconds.
150
+
7. Make changes to the [WAN settings](#2-create-a-wan) in the Cloudflare dashboard to a static IP set up.
151
+
8. Wait 60 seconds again.
152
+
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.
4. In **VLAN ID**, enter a number between `0` and `4094` to specify a [VLAN ID](/magic-wan/configuration/connector/reference/#vlan-id).
79
79
5. In **Priority**, choose the priority for your WAN. Lower numbers have higher priority. Refer to <GlossaryTooltipterm="traffic steering"link="/magic-wan/reference/traffic-steering/">Traffic steering</GlossaryTooltip> to learn more about how Cloudflare calculates priorities.
80
-
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.
80
+
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:
81
+
1. Continue the set up flow below to activate your Connector.
82
+
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.
4. In **VLAN ID**, specify a [VLAN ID](/magic-wan/configuration/connector/reference/#vlan-id) to create virtual LANs.
126
-
127
125
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:
128
-
129
126
-**This is a DHCP server**: If your Connector is a [DHCP server](/magic-wan/configuration/connector/network-options/dhcp/dhcp-server/).
130
127
-**This is a DHCP relay**: If your Connector is a [DHCP relay](/magic-wan/configuration/connector/network-options/dhcp/dhcp-relay/).
131
-
132
128
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`.
133
-
134
129
7. (Optional) If your LAN contains additional subnets behind a layer 3 router, select **Add routed subnet** under **Routed subnets** to add them:
135
-
136
130
-**Prefix**: The CIDR prefix for the subnet behind the L3 router.
137
131
-**Next hop**: The address of the L3 router to which the Connector should forward packets for this subnet.
138
-
-**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**.
139
-
140
-
Refer to [Routed subnets](/magic-wan/configuration/connector/network-options/routed-subnets/) for more information.
141
-
132
+
-**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**. <br /> Refer to [Routed subnets](/magic-wan/configuration/connector/network-options/routed-subnets/) for more information.
142
133
8. Select **Save**.
143
-
144
134
9. Select **Save and exit** to finish your configuration. Tunnels and <GlossaryTooltipterm="static route">static routes</GlossaryTooltip> will be automatically created and associated with your site once the Magic WAN Connector boots up (refer to the next step).
0 commit comments