VLAN Configuration

Hello! I have IpFire running with two zones, Red and Green, that are assigned to separate NICS. Im using a managed L3 capable switch with its default VLAN only. I have a third NIC thats unassigned and it appears that I can add it to the green zone either in Bridged mode or to a VLAN. If I were to add another VLAN to the green zone with this additional NIC, do I then connect the port to the switch and configure the switch ports as a trunk? Im so used to a router on a stick configuration so this is all new to me. My apologies if this a dumb question.

The reason why I ask this is that Im installing security cameras and Id like to isolate them.

Isolating cameras are normally done with wiring and vlans are really only used if you are needing to connect cameras though the green infrastructure.

But is it just cameras or cameras and a NVR.

I have an Amcrest system with cameras myself, but I set the cameras on a static address and didn’t give them a gateway. and the switch ip address in the NVR are different. I have my nvr on the green network because I access the NVR, but if I have to access the cameras directly, I have to plug a computer into the NVr’s camera ports or a switch off of that network to access the cameras directly.

But if I didn’t have to access it from a computer locally, I would just run setup again for ipfire and add the blue network. In reality, you can add all these network types and not use them its just odd that they settled on this if you wanted to add a blue network.

I connected BLUE as a VLAN to the physical ORANGE interface. In IPFIRE

I connected the ORANGE interface to my managed switch port 1. It is a access port, not a trunk.

The native VLAN for the access port is 200 - but I could have left it on 1. In my case VLAN200 is not provided by IPFIRE.
But the VLAN on BLUE is tagged by IPFIRE (190 in my case). Therefore on the switch port 1 is member of VLAN190 and VLAN200 (could be 1)

Next I assign VLAN190 membership to other access ports on the switch.

Maybe this helps?