1
General Discussion / Re: Opnsense on a Proxmox VE 8 with a single NIC need multiple VLANS
« on: October 04, 2023, 04:08:26 pm »
Hello Maurice,
Thank you so much for your reply.
That's what has worked for me.
However, I'm trying to see if I can skip a step. For example, adding VLAN inside the Opnsense.
When I add a virtual NIC in Proxmox, it creates vtnet0,
then I assign interfances. LAN is set to vlan19 and vtnet0
then I assign wan to vtnet0 as well.
The opnsense portal or gui is then accessible from the IP given out for the WAN.
When I set an ip after assigning for LAN using vlan19 it becomes inaccessible,
Just wondering if anyone has setup vlan without creating a virtual nic tied to VM in proxmox.
This would avoid a two step process. Since I would be attaching all vlans to the same NIC anyways that was my thinking.
When I create a virtual NIC per vlan then it's like opnsense thinking I have more NICs then I have,
I know with other routers and firewalls I can pass several vlans through the same port without having to segregate them physically.
Thanks so much.
Thank you so much for your reply.
That's what has worked for me.
However, I'm trying to see if I can skip a step. For example, adding VLAN inside the Opnsense.
When I add a virtual NIC in Proxmox, it creates vtnet0,
then I assign interfances. LAN is set to vlan19 and vtnet0
then I assign wan to vtnet0 as well.
The opnsense portal or gui is then accessible from the IP given out for the WAN.
When I set an ip after assigning for LAN using vlan19 it becomes inaccessible,
Just wondering if anyone has setup vlan without creating a virtual nic tied to VM in proxmox.
This would avoid a two step process. Since I would be attaching all vlans to the same NIC anyways that was my thinking.
When I create a virtual NIC per vlan then it's like opnsense thinking I have more NICs then I have,
I know with other routers and firewalls I can pass several vlans through the same port without having to segregate them physically.
Thanks so much.