Proxmox Networking

Hi,
I’m playing around trying to run ipfire in proxmox because I have service that is > than 1Gb from my provider and I have to have a 10 Gbit network connection to the cable modem.

I have a linux bridge setup for the red interface, setup like this

iface enp4s0f1 inet manual

auto ens1
iface ens1 inet manual

auto vmbr0
iface  vmbr0 inet manual
	bridge-ports enp4s0f1
	bridge-stp off
	bridge-fd 0

For the green interface I have setup the system to pass the entire pcie device to ipfire.

I did this so that ipfire will do the dhcp… however it seems that I have set something up wrong because ipfire never obtains a lease on that interface.

For the red interface how do you have that setup in proxmox? @arne_f

thanks for any input!
Matt

My proxmox setup … when I create an ipfire VM, I assign red to vmbr0 and green to vmbr1. The ipfire VM will get a DHCP red from the main ipfire firewall, anything in the range 10.0.0.10-50 Hope this helps.

auto enp4s0
iface enp4s0 inet manual

auto vmbr0
iface vmbr0 inet static
   	address 10.0.0.5/24
   	gateway 10.0.0.1
   	bridge-ports enp4s0
   	bridge-stp off
   	bridge-fd 0
#red

auto vmbr1
iface vmbr1 inet static
	address 192.168.5.1/24
	bridge-ports none
	bridge-stp off
	bridge-fd 0
#green

Thank you for the reply, my issue is I want vmbr0 to be connected to the cable modem and I have no idea what Ip address the cable modem will give… it’s dhcp only.

How would you get the interface to get a dhcp address?

You have iface vmbr0 inet manual (bridged to the physical enp4s0f1 rj45 connector)

within the ipfire setup, configure red to get DHCP address.