Hi
I've this setup on my lab
Since I need to separate the VMS into vlans and I dont have any real switch between pFsense and Proxmox Server, I need to setup a virtual switch on proxmox host and then attach al vms to the bridge as vlans/OVSIntport
The bond should see all the vlans since I manage the server from vpn or office subnets and I should firewall traffic from pfsense virtual interfaces.
This is my setup taken from wiki but i'm not sure that is functional.
Any help on a skeleton that I can the grow according to my needs?
With this setup I can reache the Proxmox webgui and all the vms attached to vmbr0 with vlan id=1 on the host can reach internet
I've this setup on my lab
Since I need to separate the VMS into vlans and I dont have any real switch between pFsense and Proxmox Server, I need to setup a virtual switch on proxmox host and then attach al vms to the bridge as vlans/OVSIntport
The bond should see all the vlans since I manage the server from vpn or office subnets and I should firewall traffic from pfsense virtual interfaces.
This is my setup taken from wiki but i'm not sure that is functional.
Any help on a skeleton that I can the grow according to my needs?
With this setup I can reache the Proxmox webgui and all the vms attached to vmbr0 with vlan id=1 on the host can reach internet
Code:
auto lo
iface lo inet loopback
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eth0 eth1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast vlan_mode=native-untagged
auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan1
auto vlan1
allow-vmbr0 vlan1
iface vlan1 inet static
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options vlan_mode=access tag=1
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 10.0.1.2
netmask 255.255.255.0
gateway 10.0.1.1