Proxmox + OPNsense + Unifi Switche/ APs

TheGamerFace

Member
Dec 11, 2021
2
0
6
38
Hallo zusammen,

ich bin wahrscheinlich der 100ste, der diese Frage stellt aber ich sehe den Wald vor lauter Bäumen offensichtlich nicht.

Meine Idee:
  • FritzBox -> onboard NIC -> WAN für OPNsense
  • bond auf der Quad NIC -> VLANs (1=Management, 10=Server, 20=User, 30=Gäste)
  • Unifi Switch + AP sowie Proxmox in VLAN1, VMs und vorhandenes NAS in's 10er VLAN, Endgeräte VLAN20 und für Gäste ein separates WLAN im VLAN30
Netzwerkconfig am Proxmox sieht so aus:
Bash:
auto lo
iface lo inet loopback

iface eno1 inet manual
#wan_nic

auto enp5s0f0
iface enp5s0f0 inet manual
#bond0_nic

auto enp5s0f1
iface enp5s0f1 inet manual
#bond0_nic

auto enp6s0f0
iface enp6s0f0 inet manual
#bond0_nic

auto enp6s0f1
iface enp6s0f1 inet manual
#bond0_nic

auto bond0
iface bond0 inet manual
        bond-slaves enp5s0f0 enp5s0f1 enp6s0f0 enp6s0f1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3
#vlan_bond

auto bond0.10
iface bond0.10 inet manual
#Server

auto bond0.20
iface bond0.20 inet manual
#User

auto bond0.30
iface bond0.30 inet manual
#Guest

auto bond0.1
iface bond0.1 inet manual
#Management

auto vmbr0
iface vmbr0 inet static
        address 172.16.0.250/24
        gateway 172.16.0.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
#wan_nic

auto vmbr1
iface vmbr1 inet manual
        bridge-ports bond0.1
        bridge-stp off
        bridge-fd 0
#Management

auto vmbr2
iface vmbr2 inet manual
        bridge-ports bond0.10
        bridge-stp off
        bridge-fd 0
#Server

auto vmbr3
iface vmbr3 inet manual
        bridge-ports bond0.20
        bridge-stp off
        bridge-fd 0
#User

auto vmbr4
iface vmbr4 inet manual
        bridge-ports bond0.30
        bridge-stp off
        bridge-fd 0
#Guest

Bin ich bis hierhin überhaupt richtig?