It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

How to Add or Remove Network Interfaces on a Virtual Firewall on the VMware Hypervisor

  • Last updated on
This article only affects firewalls that have been deployed fresh with firmware 8.3.1

If you are required to add or remove a network interface on the virtual firewall, the initial order of the interfaces might get disrupted. This happens because the assignment of interfaces to MAC addresses causes these interfaces to be sorted differently on the hypervisor.

In order not to lose the connection, both to the MIP and to all the other connected interfaces, a workaround is necessary that enables the virtual interfaces on the firewall to be reconnected to the appropriate ports of the virtual switch on the VMware hypervisor. The information for this can be obtained on the firewall. The changes must be done on the hypervisor.

The following instructions provide an example only, and assume that all interfaces are connected to different virtual switches. Be sure to adapt the configuration values to your individual network setup.

Step 1. Check the Assignment of the Firewall's Interfaces to the Virtual MAC Addresses

Before making any changes to your network adapters, you must check the current assignment of the firewall's interfaces to the virtual MAC addresses.

  1. Log into your virtual firewall with Firewall Admin.
  2. Go to SSH.
  3. Log into the terminal to get access to a shell.
  4. Enter the following string, and execute the related shell script to check the current assignment of the network interfaces:
    /opt/phion/bin/listMacAddresses.sh followed by pressing the Return key.
  5. Your firewall should display something similar to this:
    [root@your_VM:~]# /opt/phion/bin/listMacAddresses.sh
    eth3     00:0c:29:3c:eb:25
    eth1     00:0c:29:3c:eb:11
    eth2     00:0c:29:3c:eb:1b
    eth0     00:0c:29:3c:eb:2f
  6. At this point, let's assume that all interfaces are connected to different virtual switches on the hypervisor.

    InterfacesMAC-AddressVirtual Switch
    eth300:0c:29:3c:eb:254
    eth100:0c:29:3c:eb:112
    eth200:0c:29:3c:eb:1b3
    eth000:0c:29:3c:eb:2f1
  7. Write down your displayed assignment of the interfaces to the virtual MAC addresses.

    It is especially important to preserve the interface of the MIP so that you will be able to reconnect to it after modifying the network adapter setup.

Step 2. Add or Remove Network Adapters on Your Hypervisor to Match Your Requirements

  1. Log into your VMware hypervisor.
  2. In the list on the left side, click Virtual Machines.
  3. In the main view, enlarge the list of virtual devices and locate your firewall.
  4. Click the firewall in the list of the main view. This will transfer the entry of the firewall to the list on the left side.
  5. Click the firewall in the list on the left side. All details of the firewall will now be displayed in the main view on the right side.
  6. Click Actions in the main view on the right side.
    VMhost_actions.png
  7. In the list, select Edit Settings.
  8. Option 1: Add a network adapter.
    1. To add a network adapter, click Add network adapter.
    2. In the line of the new adapter, select which virtual switch to connect the new adapter to.
    3. To activate the new adapter, select the check box Connect.
    4. To add another network adapter, repeat steps a-c.
      VMhost_add_network_adapter.png
  9. Option 2: Remove a network adapter.
    1. To remove a network adapter, click x at the end of the line of the related network adapter.
      VMhost_delete_network_adapter.png
  10. Click Save.

Step 3. Check the Assignment of Interfaces to MAC Addresses on Your Firewall

After having added or removed the required network adapters, you must check the assignment of the interfaces to their MAC addresses.

  1. Turn on your virtual firewall on your hypervisor.
  2. On your hypervisor, click Console to activate the console window.
  3. Wait until the console is set to receive commands via the keyboard.
    VMhost_console_ready.png
  4. Log into your firewall via SSH.
  5. Enter the following string and execute the related shell script to check the current assignment of the network interfaces:
    /opt/phion/bin/listMacAddresses.sh followed by pressing the Return key.

Step 4. Compare the Output of the MAC Addresses in Your Terminal Window with the Output from Step 1

If the MAC addresses have been shifted after adding or removing a network adapter, you now must ensure that the interfaces on your firewall are connected to the appropriate virtual switch on your hypervisor. Otherwise, you may lose the connection to your firewall from Firewall Admin.

As part of this example, the following table displays the modified assignment of your interfaces to the MAC addresses and their connection to the virtual switch.

InterfacesMAC AddressesVirtual Switch Allocation OLDVirtual Switch Allocation NEW
eth300:0c:29:3c:eb:3a54
eth100:0c:29:3c:eb:1b32
eth200:0c:29:3c:eb:2543
eth000:0c:29:3c:eb:1121
eth400:0c:29:3c:eb:2f15

The column Virtual Switch Allocation NEW shows how the virtual network cabling must now be laid out on your virtual switch.

Step 5. Verify that Your Firewall is Reachable on Its Management IP Address

  1. Log into a PC and open a terminal window.
  2. Send some ping packets to your firewall by entering ping <firewall's MIP> followed by pressing the Enter key.
  3. If error messages like "host not reachable" are displayed in the terminal window, you must recheck the connections from your firewall to the virtual switch.

If no errors are reported in the terminal window, you can now connect to your firewall via Firewall Admin.