OPNsense Forum

English Forums => General Discussion => Topic started by: mewsbox on April 10, 2023, 10:15:19 AM

Title: [solved] XB7 wan through vlan
Post by: mewsbox on April 10, 2023, 10:15:19 AM
Hi everyone,

I'm trying to setup a virtual opnsense box on proxmox, the LAN works perfectly fine, the WAN interface doesn't pick an IP no matter what setup I'm trying.

The modem is in bridge mode and goes through 3 switches, 1 Juniper, and 2 cisco, the WAN vlan is number 4, here is the setup on the Cisco ports :

w-3560x#show running-config interface gigabitEthernet 0/6
Building configuration...

Current configuration : 188 bytes
!
interface GigabitEthernet0/6
switchport access vlan 4
switchport trunk encapsulation dot1q
switchport trunk native vlan 4
switchport trunk allowed vlan 4
switchport mode trunk
end

On the proxmox vm, I have a dedicated NIC to the bridge, and it's not vlan aware, since I'm using a native vlan in the ports.

Can you please help.

Thanks,
Title: Re: XB7 wan through vlan
Post by: mewsbox on April 10, 2023, 05:04:33 PM
I got it working, my mistake was that I forgot to add the vlan in the downstream switches, once added everything worked as expected.