OPNsense kein DHCP über VLAN

redberry94

New Member
Jul 5, 2024
2
0
1
Hallo zusammen,

ich bin der Verzweiflung nahe und hoffe daher auf Eure Expertise und Rat hier im Forum. ich ahb ein sehr ähnliches Problem wie bereits in diesem Thread von @Yann Decay beschrieben wird: https://forum.proxmox.com/threads/dhcp-funktioniert-nicht-über-opnsense.86723/page-2 - Ich bekomme über das VLAN keine IP-Adresse über DHCP.

In meiner aktuellen Konfiguration hat, hat die OPNsense neben dem WAN Interface nur das LAN und zwei VLAN Interfaces udn obwohl der Port am Switch mit dem VLAN Tag gesetzt ist und konfiguriertem DHCP Server auf dem VLAN Interface kommt am Client keine IP-Adresse an. Aktiviere ich den DHCP Server auf dem LAN Interface erhält mein Client ironischerweise eine IP per DHCP aus dem LAN Netz.

Ich gehe also davon aus, dass das Tagging nicht ganz funktioniert, ahbe aber keine Idee warum? "VLAN aware" ist für das LAN Interface aktiviert, der Promoxs selbst hat kein VLAN und ist im LAN Netzwerk.

Ich freue mich auf Eure Tipps, sollten weitere Infos helfen sagt mir gern was ihr braucht.

VG
Florian
 
Update: Ich bin soweit, dass Pakete von einem VLAN Client ankommen, allerdings auf dem LAN Interface und werden entsprechend von der Standard "Default deny / state violation rule" geblockt. Einmal meine Konfiguration am Promox:

Code:
auto lo
iface lo inet loopback


iface enp3s0 inet manual


iface enp0s31f6 inet manual


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


auto vmbr1
iface vmbr1 inet static
        address 10.100.0.200/24
        gateway 10.100.0.254
        bridge-ports enp0s31f6
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

Und einmal die VLAN Config aus dem Switch (Port 15 ist der Proxmox an vmbr1 / Port 8 ist der Client)

Bildschirmfoto 2024-07-05 um 15.03.20.png

Dankbar für jede Hilfe!

VG
Florian
 
Wenn die Pakete an dem falschen Interface ankommen ist eventuell die Konfiguration der OPNsense VM falsch.
Poste mal die Konfiguration der VM.
 

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!