1:1 Bridge to Physical NIC pairing

ritztro

New Member
Jul 24, 2023
2
0
1
Hi,

I currently have OPNSense virtualized on Proxmox. I have one physical interface, enp2s0, which connects to my modem (WAN). I have created a bridge, vmbr1, for the enp2s0. I want to "join" these two interfaces so that they have the same MAC and IPv6 address and are treated as one (rather than a switch and a device, OPNSense, "plugged in to" the switch), while still getting the benefit of having a bridge interface (for snapshots).

I see that both enp2s0/vmbr1 and OPNSense "plugged in to" vmbr1 are receiving IPv6 IPs (even though enp2s0 and vmbr1 are set to "manual" in my interfaces file). And OPNSense "plugged in to" vmbr1 is receiving an IPv4 IP (which I want).

I only want vmbr1 accessible by a single VM (OPNSense), I do not want the "switch" functionality for vmbr1. The only way I can imagine doing this is via PCI passthrough (and deleting the bridge) but this eliminates my ability to create snapshots. Is there any other way I can create a 1:1 map between the physical NIC and the bridge?

I'm on ATT fiber, so my "modem" is actually a router+modem set to "passthrough mode". I've configured the modem to pass through a WAN IP to vmbr1, but it still gives enp2s0 an IPv6 IP. This is creating problems with IPv6 address assignment in my other VLANs.

I'm not too concerned from a safety perspective since I don't think the physical NIC is exposed to the WAN.

Thanks!
 
Last edited:
Could I just set the MAC address for the OPNSense network interface to match the MAC of enp2s0/vmbr1? Or would that create issues?
 

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!