pfSense English Support > General Questions

VLAN trunk directly to laptop without using a managed switch

(1/2) > >>

marquezemark:
Does anyone know if it is possible to create a trunk port between a VLAN enabled Opt (physical) port on a Protectli device connected directly to a VLAN enabled laptop NIC.   The Protectli is a purpose built device where I am running PFSENSE.

Below is the setup:

Protectli Opt3 port with VLAN20 and VLAN30 <==>  Laptop's Intel NIC with VLAN20 and VLAN30 and running VMWARE Workstation 11


My question is whether I will need a managed switch in order to set up a "trunked" port to the Opt3 PFSENSE port and a "trunked access port" for the laptop NIC, or is there some way to setup the Opt3 port on the PFSENSE device (Protectli) to act as a "trunked access port" thus allowing the trunk to work without needing a vlan enabled switch?  I'm trying to avoid having to purchase a VLAN enabled switch for this purpose. 

The scenario I am trying to avoid is shown below:

Protectli Opt3 port with VLAN20 and VLAN30 <==>  ((Trunked port) Switch (Trunked access port)) <==> Laptop's Intel NIC with VLAN20 and VLAN30 configured and running VMWARE Workstation 11

I'm also open to creative solutions such as using VyoS to simulate a trunked switch/bridged port if possible.

Any help is appreciated.





NogBadTheBad:
You don't need a switch if the OS can understand vlan tags.

Have you tried it ?

marquezemark:
I have tried the direct laptop NIC to Opt3 port configuration but I am not having any success.  I have created the VLANs directly on the Intel Adapter on my laptop and connected it to the Opt3 port on the Protectli. I've also added firewall rules on the VLAN interfaces on the PFSENSE to allow IP traffic. I have also explicitly allowed ICMP ping traffic to the VLAN interfaces so I can test but I have not had any success.  As a result, I started to wonder if I would need a VLAN enabled switch.  I had a similar VLAN setup in the past but I was using a virtualized version of PFSENSE and using a VMware ESXi vSwitch which had the VLANs configured.  Any suggestions?

NogBadTheBad:
I run a Mac so probably not the best person to ask.

I've added vlan interfaces onto the primary untagged interface that connects my Mac to a switch trunk port, there's no reason for pfSense to act any differently.

JKnott:

--- Quote from: NogBadTheBad on February 09, 2018, 02:27:31 am ---You don't need a switch if the OS can understand vlan tags.

Have you tried it ?

--- End quote ---

The hardware also has to support it.  One frustration I often have a work is a laptop computer that can't be configured for a VLAN.  My own ThinkPad is the same.  However, my desktop computer can be configured for VLANs.

Navigation

[0] Message Index

[#] Next page

Go to full version