I apologise for being utterly ignorant, but I don’t understand what I don’t understand.
I’ve a UCG Fibre, a Cisco CBS 220 POE and a Proxmox server.
I had a plan to segregate the proxmox VMs into a separate VLAN, with their own address range(s).
I created the net VLAN on the UCG. That seemed striaghtforward. Assigned VLAN ID2 and the DHCP of 192.168.2.1 (router) and 5-10 for addresses (this was only a proof of concept).
On Proxmox I set the bridge interface, VMBR0 to be VLAN aware.
I assigned VLAN 2 to one of my VMs.
And the VM (Linux Mint) wouldn’t pick up an IP address in the 2.x range. No command line shenanigans or UI button mashing made a difference. It simply wouldn’t get the address.
This had me looking at the switch (Cisco Business 220 Series Switches Administration Guide - VLAN Management [Cisco Business 220 Series Switches] - Cisco)
And I created a complete pig’s breakfast of everything - everything broke - because I don’t really know what the blinking heck I’m doing.
To my ignorant mind I want the vlan tag to simply pass over any port, to any other port and have the router then work out which VLAN it is in and hand out an address on that basis.
I don’t want to define specific vlans to specific ports as that seems backward and I plug and unplug devices, forget where they go and generally mess about - it’s a homelab, not a production environment.
In my ignorant head, each port is configured as a sort of ‘super highway’ where each vlan has it’s own lane and never the twain shall meet - unless there is no tag and then the traffic goes into vlan 1. Is this possible? Does anyone have this switch/similar and has faced and overcome the problems? Is there a better way to do this by replacing hardware? Would a Ubiquiti switch better integrate and know what port settings to apply?
What do I not know, where can I start to learn?