This article describes how to deploy a vSocket for a data center or universal CPE (uCPE) running VMware ESXi.
These are the prerequisites to prepare to create the VMware ESX vSocket and connect it to the Cato Cloud:
-
Download the OVA image for the ESX vSocket from Cato Networks repository
-
Internet connectivity for the WAN1 interface on the vSocket
-
Public DNS service must be available for WAN1 interface on the vSocket
-
Only attach 4 network interfaces (NICs) to the vSocket. Attaching more than 4 NICs may result in issues for the vSocket
In the Cato Management Application, create a new site for the ESX vSocket.
After you create the site, the Cato Management Application assigns a unique serial number (S/N) to it. We recommend that you copy and paste the serial number in a text file.
You need to enter this serial number (including dashes) for the Customize template window in vSphere when you create the ESX VM.
To create an ESX vSocket site:
-
From the Cato Management Application's navigation menu, click Network > Sites.
-
Click New. The Add Site panel opens.
-
Configure the General settings for the site:
-
Enter the Name for the site.
-
Select the Site Type. This option determines which icon is used for the site in the Topology window.
-
Select vSocket ESX for the Connection Type.
-
Configure the Country, State, and Time Zone to set the time frame for the Maintenance Window.
-
-
Configure the WAN Interface Settings, including the Downstream and Upstream bandwidth according to your ISP bandwidth.
-
Configure the LAN Interface Settings with the Native range address for the ESX site. This must be the same as the LAN1 subnet IP range in ESX.
-
Click Apply. The site is added to the Sites list.
-
Copy and save the vSocket serial number for the vSocket configuration script.
You need to enter this serial number when you deploy the ESX OVA file.
-
From the navigation menu, click Site Configuration > Socket. Copy the serial number (S/N) and save it.
-
-
When you deploy an ESXi vSocket, we recommend creating the VM directly from the OVA file in vSphere, instead of creating a VM first and then attaching the OVA file to it. Deploying directly from the OVA file ensures that all necessary hardware settings are correctly applied and helps avoid potential hardware compatibility issues.
If you have already deployed and need to add memory, you can do so without having to redeploy your vSocket.
-
Make sure to meet the VM vSocket minimum requirements for both vSphere and VM resources, as documented below.
In vSphere, deploy a new VM for the vSocket based on the Cato OVA template. The performance of the ESX vSocket depends on the hardware configuration of the ESXi host.
These are the minimum requirements for the VM vSocket:
-
vSphere requirements:
-
Minimum ESX version - ESXi 6.7
-
Image format - OVA
-
-
Required VM resources:
-
2 vCPUs
-
4 GB RAM
-
At least 7 GB HDD
-
Deploy the vSocket template to a VM in vSphere and configure the settings for the vSocket interfaces.
To deploy the vSocket to a VM:
-
Right-click the ESX host or folder and select Deploy OVF Template.
-
In the Select an OVF template window, select Local file and click Choose Files.
-
Select the OVA file with the vSocket image. Click Next.
-
In the Select a name and folder window, enter a VM name and select the location. Click Next.
-
In the Select a compute resource, select the host for the VM. Click Next.
vSphere validates the settings for the OVF template.
-
In the Review details window, click Next.
-
In the Select storage window, select the virtual disk. Click Next.
-
In the Select networks window, configure each Destination Network according to the following Socket Source Networks:
-
WAN1 interface
-
WAN2 interface
-
LAN1 interface
-
LAN2 Management interface
Click Next.
-
-
In the Customize template window, enter the serial number for the vSocket site in the Cato Management Application.
You need to enter the exact serial number (including dashes).
-
Click Next.
-
In the Ready to complete window, click Finish. vSphere deploys the vSocket VM.
-
If necessary, click Edit Settings and change the resources and networks for the VM.
The Cato Management Application automatically detects the vSocket and uses the serial number to connect it to the site in the Cato Management Application. To register the vSocket, the WAN1 interface must have Internet connectivity and access to a public DNS so it can reach the Cato Cloud and the Cato Management Application.
If the connected router uses DHCP to provide a dynamic IP address to the vSocket WAN1 interface, then the vSocket can automatically start registering to Cato Cloud. If DHCP is not available, then you need to manually configure the IP address for WAN1 interface with the Socket WebUI (see below, Configuring the Static IP Address on the WAN1 Interface).
By default, the WAN2 interface is disabled and the vSocket only uses the WAN1 interface to register to the Cato Management Application.
When the WAN1 interface can't be assigned a dynamic IP address, use the Socket WebUI to assign a static IP address to WAN1.
You can use a VM that is on the same network as the vSocket LAN2 interface to connect to the Socket WebUI. The vSocket LAN2 interface has the preconfigured static IP address of 169.254.100.1. From the VM OS, configure a static IP address from the 169.254.0.0/16 network for an interface that is connected to the same network as the vSocket LAN2 interface.
For VMs with a Windows based OS, when DHCP service isn't available, then the network interface automatically generates an IP address in the 169.254.0.0/16 range (APIPA). You can use this Windows VM to connect to the Socket WebUI without configuring a static IP address for the interface.
To connect to the Socket WebUI using the LAN2 preconfigured IP address:
-
Connect to another VM on the same subnet as the vSocket.
-
For non-Windows VMs, configure a manual IP address for an interface in the 169.254.0.0/16 range. For example, 169.254.100.100 with the subnet mask 255.255.0.0.
-
Open a Web browser and connect to the Socket WebUI, enter
https://169.254.100.1
. -
Log in to the Socket WebUI with these credentials:
-
Username: admin
-
Password: admin
-
-
In the Network Settings tab, configure a static IP address for the WAN1 interface.
-
Save the configuration. The vSocket starts registering to the Cato Cloud.
When the interface can receive an IP address from the DHCP server that is available on the LAN2 network, then you can connect to the Socket WebUI using that IP address.
To connect to the Socket WebUI using the LAN2 dynamic IP address:
-
Connect to another VM on the same subnet as the vSocket.
-
Open a Web browser and connect to the Socket WebUI using the LAN2 interface, enter
https://<LAN2 interface ip>
. -
Log in to the Socket WebUI with these credentials:
-
Username: admin
-
Password: admin
-
-
Change the password as prompted.
-
In the Network Settings tab, configure a static IP address for the WAN1 interface.
-
Save the configuration. The vSocket starts registering to the Cato Cloud.
3 comments
Does the esxi vsocket version in the repository support esxi 6.5?
Hello John,
I suspect not, but will check for you.
Kind Regards,
Dermot Doran (Cato Networks Community Manager)
https://catonetworks.exavault.com/share/view/1y8jv-d6y04gin
The ova file in the repository listed in this article is a very old version.
Is there a new link?
Best Regards,
Please sign in to leave a comment.