Kicking tires on latest Fangtooth. I used to use Proxmox for my virtualization needs, before we got VMware. Now, with Broadcom’s hefty price increases, we may be leaving VMware (to what I don’t know at this point, not the VMW lead here.) Both Proxmox and of course VMware have the concept of a “vSwitch” which can be created on demand, and linked to a physical NIC on the host to gateway it out to the rest of the corporate network. These "vSwitch"es are also VLAN-aware, and so one can run a “trunk” link to the server with multiple VLANs on it, and then break them out on “port groups”. It looks like at this point, Fangtooth has a simple NAT’d bridge, using a public 10.x.x.x IP net internally, and then NAT-ing out traffic to the TrueNAS’s “public” IP. Are there any plans to use either Linux bridging, or something like OpenVSwitch, to give a more corporate-grade network structure to TrueNAS for virtualization?
I’d like to be able to spin up VMs or LXC containers on one or more of our corporate VLANs, and have them be able to get DHCP from our corporate servers, for instance.
I assume a bridge interface can do that. In contrast to ESXi you would need to create one bridge per VLAN instead of one vSwitch with a port group per VLAN, but it should work.
I have been running this setup on CORE for years. Specifically for VMs and jails.
I started with “I assume” because I have not yet tried that with SCALE/CE.
Yeah, you can create as many bridges as you want, then pass traffic from different vlans into your VM, but all of this has to be done with different interfaces (from VM point of view)
In opposite, if you want to have vlan tags visible into the VM itself, this can be done with OpenVSwitch or vlan-aware Linux bridge.
I use OpenVSwitch approach in my Proxmox servers and I added the phisical interface as an OpenVSwitch member, assign it as a trunk port, then created so called “management” interface into the OpenVSwitch where I set IP of the Proxmox server and a few vlan interface with tags to pass this to the VMs inside.
Everything works like charm. And it is very easy to implement.