OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: leprejohn on November 05, 2020, 07:25:52 PM

Title: OpnSense - WAN VLAN
Post by: leprejohn on November 05, 2020, 07:25:52 PM
Hello opnsense forum. how are you all doing? I've been trying to get PFSense working with my draytek 130 modem (ISP is Sky UK).

I was pointed towards the direction of opnsense, which I've got to say looks pretty good so I've decided to give it a try, I've managed to get it working on bare metal with using the sky username and password, using a 4 port NIC.

However as I want to install the VM on my proxmox server, as then I could fail it over to a different host if I'm taking down a server which is something I would love to do.

However when I tag the VLAN on WAN port with only 1 NIC, even with the 4 port NIC I still was unable to get an external IP. So I was hoping to reach out and get some advice.

Thanks, LepreJohn

Title: Re: OpnSense - WAN VLAN
Post by: liceo on November 06, 2020, 04:37:28 PM
Hm, not sure if i understand your request. Some questions/assumptions...:
Title: Re: OpnSense - WAN VLAN
Post by: bunchofreeds on November 07, 2020, 10:21:12 PM
A couple more questions:

Are you using Linux Bridges for your Proxmox Switches
If so, are they VLAN aware
Have you tried tagging your preferred VLAN to the Proxmox nic hardware associated to the guest. Do not setup a VLAN on that interface within the guest unless you are trunking VLANS's

Have a read of this
https://pve.proxmox.com/wiki/Network_Configuration#_vlan_802_1q
Title: Re: OpnSense - WAN VLAN
Post by: leprejohn on November 08, 2020, 04:47:11 PM
Hi, I just thought to update the thread, I could not figure out what was wrong, as the opnsense VM was able to get an DCHP IP on the vlan when my ISP router was connected, once I flipped to the pass-through modem I could not get an IP address.

I tried with both ESXI and Hyper-V with the same setup WAN adapter setup with the tagged VLAN, both worked when I changed the ISP router to the modem and was able to get an external IP.

So I've decided to go back to hyper-v instead of proxmox as this setup is working :)

Thanks, LepreJohn