AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Pfsense proxmox12/20/2023 (Enter nothing to finish the VLAN setup).If you’re unsure, go to your VM’s “Hardware” and find the MAC address of the NIC connected to vmbr99 (which is vtnet1 in my case).Enter the parent interface name for the new VLAN: vtnet1.Note: Just for the heck of it, we’ll set up VLAN 10 via the console and the rest (VLAN 20 and VLAN 30) via the webConfigurator. Once in the console, follow the following prompts and answers: Turn on the VM, go through the installation process, and wait until you’ve rebooted to the console. This NIC will serve as our “Trunk” / “Tagged” connection. Set the target bridge to the one we’ve created previously. This NIC will serve as our “WAN” connection, which will allow us to access pfSense’s webConfigurator.Īfter the VM is created, add a new NIC to the pfSense VM by clicking it then “Hardware > Add > Network Device”. Configure it as you like but make sure to connect the initial NIC to the bridge you are using to access Proxmox (usually vmbr0). Using the latest pfSense image (download here if you haven’t already), create a new VM. If you can’t afford a reboot, follow the steps outlined here. Note: If you are running a Proxmox version lower than 6.1, you’ll have to reboot your node for the changes to take effect. We’ll refer to this bridge vmbr99 from this point on. Leave the CIDRs empty, we’ll let pfSense handle that. To create a bridge, choose your target Proxmox node then “Network > Create > Linux Bridge”. The topology we’re going to use is also known as the Router on a stick configuration. Since I don’t have any managed switches lying around (yet), the setup will be “emulated” using Proxmox (with a bridge acting as the switch) and a pfSense instance. The figure above shows what we’ll be working towards. This can be a good starting template as well if you’ve just started dipping your toes with “homelab-ing”. In this post, I’ll show you how to set up VLANs within Proxmox using pfSense as our (virtual) router. This means that on a single switch, multiple DHCP servers (for example) can co-exist! It allows the creation of multiple LANs with just a single physical switch, without interference from each other. VLANs are a great, secure way to segment your network and group compute in any way you want.
0 Comments
Read More
Leave a Reply. |