How To Bond NICs In Proxmox That Support VLANs
Tech Tutorials - David McKone
View ChannelAbout
If you want to learn about Linux, virtual machines, networking, smart home automation or computing in general, you've come to the right place I provide tutorials that intend to help you whether you're starting from scratch or if you've got stuck There is so much that IT can do for you and that's what channel is for If these tutorial videos help you in any way, please consider supporting the channel Buy Me a Coffee - https://buymeacoffee.com/dmckone Donate to the channel - https://paypal.me/DavidMcKone Become a monthly contributor on Patreon - https://www.patreon.com/dmckone Become a monthly contributor on YouTube - https://www.youtube.com/c/TechTutorialsDavidMcKone/Join Disclaimer: This channel is for educational purposes only. Examples may have worked at the time of recording but are not guaranteed to work for others. This channel is not responsible for any work carried out or mistakes made by following these examples
Latest Posts
Video Description
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_Configuration#_vlan_802_1q ============================= 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: https://www.patreon.com/dmckone Become a monthly contributor on YouTube: https://www.youtube.com/channel/UCNrXJt8B931zF7nDC_rM85A/join ============================== 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/lovelife?in=eqmuseq/sets/royalty-free-music-for-youtube 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
Upgrade Your Everyday
AI-recommended products based on this video

Amazon Echo Show 8 (newest model), With Spatial Audio, Smart Home Hub, and Alexa, Charcoal

Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, with Active Noise Cancellation, Adaptive Audio, Transparency Mode, Personalized Spatial Audio, USB-C Charging Case, Wireless Charging, H2 Chip

Wireless Earbuds, Bluetooth 5.4 Headphones, True Wireless Stereo Earphones with IPX7 Waterproof, Noise Cancelling Mic, Fast Charging and Comfort Fit Ear Buds for Sports/Workouts - Black

Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, Personalized Spatial Audio, Sweat and Water Resistant, USB-C Charging Case, H2 Chip, Up to 30 Hours of Battery Life, Effortless Setup for iPhone

Apple AirPods Pro 2 Wireless Earbuds, Active Noise Cancellation, Hearing Aid Feature, Bluetooth Headphones, Transparency, Personalized Spatial Audio, High-Fidelity Sound, H2 Chip, USB-C Charging

Smart Watch for Men/Women, 1.95" AMOLED Fitness Tracker Watches with Bluetooth Calls/Flashlight/100+ Sport Modes Heart Rate/Sleep Monitor Ultra Lightweight Ultrathin Design

Smart Watch for Men Women (Answer/Make Call), 1.96" HD Smartwatch Fitness Activity Tracker, 110+ Sports IP68 Waterproof, Heart Rate/Sleep Monitor/Pedometer/Calories, Fitness Watch for Android iOS
![Apple Watch Series 10 [GPS 46mm case] Smartwatch with Rose Gold Aluminium Case with Light Blush Sport Band - M/L. Fitness Tracker, ECG App, Always-On Retina Display, Water Resistant](https://m.media-amazon.com/images/I/61nNNMI1cFL._AC_UL960_FMwebp_QL65_.jpg)
Apple Watch Series 10 [GPS 46mm case] Smartwatch with Rose Gold Aluminium Case with Light Blush Sport Band - M/L. Fitness Tracker, ECG App, Always-On Retina Display, Water Resistant
![Apple Watch Series 10 [GPS 42mm case] Smartwatch with Jet Black Aluminium Case with Black Sport Band - S/M. Fitness Tracker, ECG App, Always-On Retina Display, Water Resistant](https://m.media-amazon.com/images/I/6105jZyXyPL._AC_UL960_FMwebp_QL65_.jpg)
Apple Watch Series 10 [GPS 42mm case] Smartwatch with Jet Black Aluminium Case with Black Sport Band - S/M. Fitness Tracker, ECG App, Always-On Retina Display, Water Resistant

NOCO Boost GB40: 1000A UltraSafe Jump Starter – 12V Lithium Battery Booster Pack, Portable Jump Box, Power Bank & Jumper Cables - for 6.0L Gas and 3.0L Diesel Engines

UGREEN Nexode Power Bank 20000mAh 130W Portable Charger 72Wh PD Fast Charging 3-Port USB C Battery Pack with TFT Smart Display for MacBook/iPad/iPhone 16/Samsung S24 and More

ANKER 737 Power Bank, 24,000mAh 3-Port Laptop Portable Charger with 140W Fast Charging, Smart Display, for Outdoor Work, Compatible with iPhone 16/15/14 Series, Vision Pro, Samsung, MacBook, and More

VOLTME Portable Charger, Slim 10000mAh 5V/3A Power Bank, USB C in&Out High-Speed Charging Battery Pack, Travel Essentials Dual Output Compatible with iPhone 16 15 14 13 12 Samsung Google iPad etc

Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, with Active Noise Cancellation, Adaptive Audio, Transparency Mode, Personalized Spatial Audio, USB-C Charging Case, Wireless Charging, H2 Chip

Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, Personalized Spatial Audio, Sweat and Water Resistant, USB-C Charging Case, H2 Chip, Up to 30 Hours of Battery Life, Effortless Setup for iPhone

Apple AirPods Pro 2 Wireless Earbuds, Active Noise Cancellation, Hearing Aid Feature, Bluetooth Headphones, Transparency, Personalized Spatial Audio, High-Fidelity Sound, H2 Chip, USB-C Charging

Bose QuietComfort Bluetooth Headphones, Wireless Headphones with Active Over Ear Noise Cancelling and Mic, Deep Bass, Up to 24 Hours of Playtime, White Smoke

Barnyard Designs Indoor Herb Garden Planter Set with Tray, Metal Windowsill Plant Pots with Drainage for Outdoor or Indoor Plants, Set/3 (Black)

Eye Contact Web Camera for Desktop Computer – 1080P USB Camera with Microphone & Stand, Center Cam for Laptop or Desktop, Manual Focus, Plug & Play for macOS & Windows(Black)
![PEHAEL 3+3Pack for iPhone 17 Pro Max Privacy Screen Protector with Camera Lens Protector Full Coverage Anti-Spy Tempered Glass Film 9H Hardness Easy Installation Bubble Free [6.9 inch]](https://m.media-amazon.com/images/I/61PnVkv6KKL._AC_UL960_FMwebp_QL65_.jpg)
PEHAEL 3+3Pack for iPhone 17 Pro Max Privacy Screen Protector with Camera Lens Protector Full Coverage Anti-Spy Tempered Glass Film 9H Hardness Easy Installation Bubble Free [6.9 inch]
![Ailun 3 Pack Screen Protector for iPhone 16 Pro Max [6.9 inch] + 3 Pack Camera Lens Protector with Installation Frame,Sensor Protection,Dynamic Island Compatible,Case Friendly Tempered Glass Film](https://m.media-amazon.com/images/I/815keamN-BL._AC_UL960_FMwebp_QL65_.jpg)
Ailun 3 Pack Screen Protector for iPhone 16 Pro Max [6.9 inch] + 3 Pack Camera Lens Protector with Installation Frame,Sensor Protection,Dynamic Island Compatible,Case Friendly Tempered Glass Film


