Untangle NIC passthrough / VMbridge

deepinder27

New Member
May 28, 2021
7
0
1
37
I'm trying to use Untangle as a VM on proxmox. I watched some guides on youtube and they mentioned to passthrough the NIC directly to Untangle. However, I'm facing a problem after doing that. When I passthrough the NIC, I am unable to get any connectivity to Proxmox and other VMs. I tried to make linux bridges but they were not successful. At least from what I understand, when the NIC gets passthrough to VM it is not "active" on proxmox itself, hence the linux bridge should not work. Am I missing something? Also, is there any specific advantage to passing through the NIC?

Attached is the pic of my setup depicting the network interfaces:
1. enp4s0f0 and enp4s0f1: NIC Passthrough with two ports.
2. enp7s0: Onboard NIC.

Screenshot 2021-05-31 at 9.40.42 PM.png
 
When I passthrough the NIC, I am unable to get any connectivity to Proxmox and other VMs. I tried to make linux bridges but they were not successful. At least from what I understand, when the NIC gets passthrough to VM it is not "active" on proxmox itself, hence the linux bridge should not work. Am I missing something?
You are right. If you passthrough the NIC your host has no access to that NIC at all so any network configurations using these NICs (like creating bridges) would be useless.
Also, is there any specific advantage to passing through the NIC?
You should get way better performance because there would be no virtualization overhead and you could keep hardware offloading enabled so your CPU isn't utilized that much.
 
  • Like
Reactions: deepinder27
So, the only way I can give access to proxmox through untangle is to use an external switch. Thank you for clearing this up!
 
I was able to achieve what I wanted to. After passing through the NIC to Untangle VM, I also passed vmbr0 to the VM, where I bonded 'Internal' to vmbr0. Then I assigned IP from Untangle to Proxmox thereby solving all my purposes. Thank you guys for your help. :)
 
Hi - I've been running Untangle on proxmox for a couple of years now using the network passthrough method mentioned above - really great solution for testing new configs and having a nightly snapshot of a fully working Untangle.

Recently bought a small mini pc with 6 intel nics and have swapped to using PCI passthrough so (five of) the cards are absolutely not available to the Proxmox host and have the benefit of showing up in Untangle as the correct hardware type (i.e. it's the Untangle Intel driver being used). Seems equally solid to me - I'm sure someone will be able to tell me if it's more efficient this way - feels like it should be despite PCI passthrough being technically 'not for production' still.

P.
 

Attachments

  • Screenshot 2021-09-27 at 21.05.52.png
    Screenshot 2021-09-27 at 21.05.52.png
    161.9 KB · Views: 47

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!