Truenas Core VLAN SMB

Hello,

i have a smb storage on truenas core with a lagg to the switch.

It is possible to make vlan on top of the lagg , and have different ips for for different subnets , and share then specific for the interface a smb share?
or we are have you seperate share from networks handeld?

Greets

felix

VLANs and subnets - yes.
Shares per VLAN not quite, but you can add allowed hosts to each share, essentially limiting access to a particular VLAN.

so i have a lagg ,( trunkport on switch)

example vlan 1 and vlan 10 ( tagged)

and the i must only add the tagged vlan ?

Don’t mix tagged and untagged on the same port(s). Add VLAN 1 and 10 tagged.

i must tagged vlan1? on the lagg

now my setup :slight_smile:

switch lagg 4 ports vlan1 untagged

truenas bond vlan 1 untagged

now i want add vlans :slight_smile:
switch port tagged vlan1 pvid 1 and tagged vlan 3,4,5?

or untagged 1 and tagged vlan 3,4,5,

truenas dont care if vlan1 are tagged or not? or must i create a vlan1 on the bond?

  1. Create LAGG out of your interfaces
  2. Create VLAN on LAGG
  3. Assign IP to VLAN
  4. Set default route
  1. Don’t mix tagged and untagged networks on the same port/lagg. Tag everything. Set the “native VLAN” or “PVID” on your switch to some dummy like 999 or so.

ok 5.

tagged 1 and the other vlan on the switch.

but must i create a vlan1 on the lagg in treunas or are the create lagg always vlan1?

You must create VLAN 1 on the lagg. The lagg itself is untagged.

ok thanks, that was the question,was not going out of my head!