In this video, we show how to configure Proxmox to bond multiple network interfaces and support VLANs
We show how to bind multiple interfaces together for more network throughput or network redundancy
And cover how to re-configure the management interface so it's in your management VLAN
We show how to configure a network switch to support VLAN tagging for Proxmox
And how to add additional VLAN interfaces to Proxmox as well as how to configure virtual machines to support VLAN tagging
Useful links:
https://pve.proxmox.com/wiki/Network_...
=============================
SUPPORT THE CHANNEL
Donate through Paypal:
https://paypal.me/DavidMcKone
Donate through Buy Me A Coffee:
https://buymeacoffee.com/dmckone
Become a monthly contributor on Patreon:
/ dmckone
Become a monthly contributor on YouTube:
/ @techtutorialsdavidmckone
==============================
Steps taken
1) Configure Proxmox
The default installation creates a dedicated management interface so we need to reconfigure Proxmox to bind the physical interfaces into a bond
The quickest way is to edit the /etc/network/interfaces
cp /etc/network/interfaces /etc/network/interfaces.bak
nano /etc/network/interfaces
To load balance traffic, the recommendation is to use LACP, for example
auto lo
iface lo inet loopback
iface enp0s25 inet manual
iface enp7s0 inet manual
auto bond0
iface bond0 inet manual
bond-slaves enp0s25 enp7s0
bond-miimon 100
bond-xmit-hash-policy layer2+3
bond-mode 802.3ad
NOTE: If your switches support technology such as MLAG, you can connect the interfaces to different switches. Otherwise they need to be connected to the same switch
To support network redundancy, an example would be
auto lo
iface lo inet loopback
iface enp0s25 inet manual
iface enp7s0 inet manual
auto bond0
iface bond0 inet manual
bond-slaves enp0s25 enp7s0
bond-miimon 100
bond-xmit-hash-policy layer2+3
bond-mode 802.3ad
bond-mode active-backup
bond-primary enp0s25
Either way, we need to reconfigure Proxmox with a management VLAN interface and make the Linux bridge VLAN aware. For example, to use VLAN 100
auto vmbr0.100
iface vmbr0.100 inet static
address 192.168.100.10/24
gateway 192.168.100.254
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4092
Then we reboot Proxmox to make sure the changes are applied
2) Configure Switch
Because Proxmox is now doing VLAN tagging but the network switch is not, we cannot access Proxmox remotely anymore so we need to reconfigure the switch ports
We need to turn the port into a trunk port i.e. one which supports multiple VLANs and set the default, PVID or native VLAN to something unused
Once this is done, the switch will send VLAN tagged traffic to Proxmox and our connection will be restored
3) Add VLAN interfaces to Proxmox
Proxmox now has a VLAN aware bridge, so we can add VLAN interfaces to it for direct access to a storage VLAN for instance
To do this select the computer in the left hand pane, navigate to System | Network and from the Create drop down menu select Linux VLAN
Change the name to match the bridge and VLAN ID, for example for VLAN 200, we'd use vmbr0.200
Give the interface an IP address and mask, for example, 192.168.200.10/24
Then click Create
On the switch, update the port connected to Proxmox to allow this VLAN
Proxmox should now have access to other computers on your network in this VLAN
4) Assign VMs to VLANs
Because Proxmox and the switch are using VLAN tagging, virtual machines will need to support VLANs
For existing virtual machines, select the VM in the left hand pane then select Hardware
Click on the Network Device and click Edit
In the VLAN Tag field, enter the VLAN ID then click OK
On the switch, update the port connected to Proxmox to allow this VLAN
Repeat this for any other interfaces the VM has
For new VMs, add the VLAN tag as part of the installation process
Credits:
LoveLife | Instrumental Prod. Blue Mango | EQMUSEQ.COM by Don Da Vinci
https://soundcloud.com/eqmuseq/loveli...
proxmox vlan aware,proxmox vlan bridge,proxmox vlan trunk,proxmox vlan aware linux bridge,proxmox vlan interface,proxmox networking,proxmox networking tutorial,proxmox networking vlan,proxmox,proxmox tutorial,proxmox network,proxmox network vlan,proxmox network bond,proxmox ve network configuration,proxmox network setup,proxmox bond,proxmox bond nics,proxmox vlan,proxmox vlan tagging,proxmox redundancy
00:00 Intro
00:45 Overview
04:10 Configure Proxmox Networking
16:06 Multiple Interfaces - Throughput
36:46 Dual Interfaces - Redundancy
52:58 Add VLAN interfaces to Proxmox
59:33 Assign VMs to VLANs
Watch video How To Bond NICs In Proxmox That Support VLANs online without registration, duration hours minute second in high quality. This video was added by user Tech Tutorials - David McKone 17 April 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 31,398 once and liked it 618 people.