Knowledge Center

How to set up Web Gateway on a Hyper-V virtual platform
Technical Articles ID:   KB85837
Last Modified:  9/25/2019


McAfee Web Gateway (MWG)

Supported platforms:
Microsoft Windows Server 2012 R2 (64-bit)
Microsoft Hyper-V Server 2012 R2 (64-bit)
Microsoft Windows Server 2008 R2 (64-bit)


Hyper-V is a role in several Microsoft Windows Server products that provides the tools and services to create virtualized servers. A virtual machine that has been created using the Hyper-V role can serve as the platform for running the MWG appliance software.

NOTE: You must leave the Hyper-V feature Dynamic Memory disabled in the virtual appliance settings when you configure MWG on a Hyper-V virtual platform. The reason is because this feature is not supported.

Requirements for setting up MWG on Hyper-V:
Ensure that the following requirements are met before you set up MWG on Hyper-V.
Use Memory (RAM in GB) Hard disk space (in GB) CPU cores
Functional testing (one user) or Central Management console (no traffic) 4 80 2
Production (minimum) 16 200 4
Production (recommended) 32 500 At least 4

Steps for setting up MWG on Hyper-V:

NOTE: The instructions in this article are for Windows Server 2012 R2; the steps might vary slightly if you are using a different version.
  1. Install Hyper-V:
    1. Install Windows Server 2012 R2 on the computer.
    2. Click Start, point to Administrative Tools, and then click Server Manager.
    3. In the Roles Summary area of the Server Manager main window, click Add Roles.
    4. On the Select Server Roles page, click Hyper-V.
    5. On the Confirm Installation Selections page, click Install.
    6. Click Close to finish the wizard, and then click Yes to restart the computer to complete the installation.
    7. After you restart the computer, log on with the same account you used to install the Hyper-V role. After the Resume Configuration Wizard completes the installation, click Close to finish the wizard.
  2. Create and set up a virtual machine:
    1. Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager.
    2. From the Actions pane, click New, and then click Virtual Machine.
    3. From the New Virtual Machine Wizard, click Next.
    4. On the Specify Name and Location page, specify a name for the virtual machine and where you want to store it. Then click Next.
    5. On the Specify Generation page, specify the generation of the virtual machine, and then click Next.
    6. On the Assign Memory page, specify enough memory to run the guest operating system that you want to use on the virtual machine. Then click Next.
    7. On the Configure Networking page, connect the network adapter to an existing virtual network if you want to establish network connectivity at this point. Then click Next.
    8. On the Connect Virtual Hard Disk page, specify a name, location, and size to create a virtual hard disk so that you can install an operating system on it. Then click Next.
    9. On the Installation Options page, choose the method you want to use to install the operating system.
    10. Click Finish.
    11. Choose the MWG ISO file and start the machine to install MWG on Hyper-V.
  3. Create a virtual network:
    1. Open Hyper-V Manager.
    2. From the Actions menu, click Virtual Switch Manager.
    3. Click New virtual network switch and select the type of network you want to create.
    4. Click Create Virtual Switch. The New Virtual Network page appears.
    5. Type a name for the new network. Review the other properties and modify them if necessary.
    6. Click OK to create the virtual network and close Virtual Network Manager. Or, click Apply to create the virtual network and continue using Virtual Network Manager.
Steps to configure a static MAC address for the MWG virtual appliance:
A virtual machine on a Hyper-V server platform is by default configured to use dynamic MAC addresses. When MWG runs as a virtual appliance on this platform, using dynamic MAC addresses results in losing IP address information after a reboot. For this reason, you must change the default settings to let the virtual appliance use a static MAC address.
  1. Open Hyper-V Manager.
  2. Right-click the MWG virtual machine, click Settings, and then under Network Adapter, click Advanced Features
  3. Select Static and then specify a MAC address.
  4. Click OK.

Rate this document

Glossary of Technical Terms

 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.