DHCP on a Single Physical NIC

spetrillo

Member
Feb 15, 2024
263
14
18
Hello all,

I have a 4 port Intel I350 PCIe card in my PVE server. 3 of the 4 ports are setup for SR-IOV and the 4th port will be used exclusively as the WAN port for my OPNsense VM. I have defined VM bridge with the following config:

auto vmbr3
iface vmbr3 inet dhcp
bridge-ports enp1s0f3

Since this is the WAN port it will be connected to my upstream ISP router, where DHCP will give it an IP. Do I have the config right for this port? If not what do I need to fix?

Thanks,
Steve
 
I would imagine you would not want the bridge itself (aka the hypervisor) to get an IP address, but would instead add a 2nd NIC to OPNsense and put it on that bridge. Then OPNsense would get the IP from your ISP.
 
I would imagine you would not want the bridge itself (aka the hypervisor) to get an IP address, but would instead add a 2nd NIC to OPNsense and put it on that bridge. Then OPNsense would get the IP from your ISP.

So add it to Proxmox as a manual vmbr, and then let OPNsense handle the DHCP to my ISP router correct?