Proxmox Homelab - Network

This will be more of an overview of how to set up the network, since this can vary so much depending on what network equipment you are running. In my case I'm running a Brocade ICX 6610 switch and an OPNsense firewall. There are a total of 4 networks: LAN, DMZ, Management, and Storage. The LAN interface is a LAG interface, and the Management and DMZ are trunked on one interface. Storage network is a closed network and doesn't have an uplink.

Proxmox-Network2

First we will set up the VLANs on our switch. Obviously this is dependant on what switch you are using. First I SSH into my Brocade switch. In the Brocade CLI we need go into the VLAN and assign interfaces to the VLAN. As a side note, I used Cisco switches for a little while which is the opposite: you go into the interface and then assign a VLAN. It took longer to get used to this than I would've thought.

First we'll add our 4 Management interfaces for our 3 Proxmox hosts and the Proxmox Backup server, obviously changing the vlan and switchports to fit your situation. I'll be adding a 5th tagged interface which will be on the trunk going to our firewall:

en

conf t

vlan 100

untagged ethernet 1/1/4 to 1/1/7

tagged ethernet 1/1/46

Do the same for your SAN VLAN, ommitting the tagged interface:

vlan 101

untagged ethernet 1/1/8 to 1/1/11

Now set up the uplink ports that will be going to our VMs. We will be adding LAN (102) and DMZ (103) and will want that traffic to be tagged. And as earlier I will be adding DMZ traffic to tagged interface which will be on the trunk going to our firewall. I will also be adding ports 44 and 46 untagged to LAN, since these are the ports on the LAG interface on OPNsense:

vlan 102

tagged ethernet 1/3/1 to 1/3/4

untagged ethernet 1/3/44 ethernet 1/3/46

vlan 103

tagged ethernet 1/3/1 to 1/3/4

And finally, we'll need to configure the settings on your firewall. Be sure you have interfaces configured for the DMZ, LAN, and Management to reach out to the internet.

Next Post