Install the VM-Series Firewall on Hyper-V
Focus
Focus
VM-Series

Install the VM-Series Firewall on Hyper-V

Table of Contents

Install the VM-Series Firewall on Hyper-V

Learn what is required to deploy the VM-Series firewall on Hyper-V.
Where Can I Use This?What Do I Need?
  • Microsoft Hyper-V
  • VM-Series Firewall License (BYOL)
  • Panorama
  • VM-Series plugin
Use the instructions in this section to deploy your VM-Series firewall on a Hyper-V host. A Palo Alto Networks support account and a valid VM-Series license are required to download the VHDX image file and install the VM-Series on the Hyper-V host. If you have not already registered the capacity auth code that you received with the order fulfillment email, with your support account, see Register the VM-Series Firewall.

Before You Begin

Before installing and configuring your VM-Series firewall, know and account for the following items as needed when you configure your VM-Series firewall:
Before installing the VM-Series, you must create the vSwitches required for providing external connectivity for management access and for routing traffic from and to the virtual machines that the firewall will secure. Hyper-V allows you to create three types of vSwitches:
  • External vSwitch—binds to a physical network adapter and provides the vSwitch access to a physical network.
  • Internal vSwitch—passes traffic between the virtual machines and the Hyper-V host. This type of vSwitch does not provide connectivity to a physical network connection.
  • Private vSwitch—passes traffic between the virtual machines on the Hyper-V host only.
An external vSwitch is required for management of the VM-Series firewall. Other vSwitches connected to the VM-Series firewall can be of any type and will depend on your network topology.
If you are deploying the VM-Series firewall with interfaces enabled in Layer 3 mode, make sure to enable use of hypervisor assigned MAC addresses so that the hypervisor and the firewall can properly handle packets. Alternatively, use the Hyper-V Manager to enable MAC address spoofing on the virtual network adapter for each dataplane interface on the firewall. For more information, see Hypervisor Assigned MAC Addresses.
If you are deploying the VM-Series firewall with interfaces enabled in Layer 2 mode or virtual-wire mode, you must enable MAC address spoofing on the virtual network adapter in Hyper-V for each dataplane interface on the firewall. This setting is required to ensure that packets sent by the VM-Series are not dropped by the virtual network adapter if the source MAC address does not match the outgoing interface MAC address.

Performance Tuning of the VM-Series Firewall on Hyper-V

The VM-Series firewall for Hyper-V is a high-performance appliance but may require tuning of the hypervisor to achieve the best results. This section describes some best practices and recommendations for facilitating the best performance of the VM-Series firewall.

Disable Virtual Machine Queues

Palo Alto Networks recommends disabling virtual machine queues (VMQ) for all NICs on the Hyper-V host. This option is prone to misconfiguration and can cause reduced network performance when enabled.
  1. Log in to Hyper-V Manager and select your VM.
  2. Select SettingsHardwareNetwork AdapterHardware Acceleration.
  3. Under virtual machine queue, uncheck Enable virtual machine queue.
  4. Click Apply save your changes and OK to exit the VM settings.

Isolate CPU Resources in a NUMA Node

You can improve performance of VM-Series for Hyper-V by isolating the CPU resources of the guest VM to a single nonuniform memory access (NUMA) node. You can view the NUMA settings of your VM in Hyper-V Manager by selecting SettingsHardwareProcessorNUMA.