Bonding with VLAN

GoatMaster

Active Member
Oct 4, 2017
41
1
28
35
I don't get it.
I try to create a bonding of two physical network adapters. It also should have a VLAN tagged.

How can I do this without OVS.
I don't want virtual machines to reach this network, just the node itself.
 
iface eno1 inet manual
iface eno2 inet manual

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2

auto bond0.1
iface bond0.1 inet manual

auto vmbr1
iface vmbr1 inet static
address 192.168.X.Y
netmask 255.255.255.0
gateway 192.168.X.1
bridge_ports bond0.1
bridge_stp off
bridge_fd 0
 
iface eno1 inet manual
iface eno2 inet manual

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2

auto bond0.1
iface bond0.1 inet manual

auto vmbr1
iface vmbr1 inet static
address 192.168.X.Y
netmask 255.255.255.0
gateway 192.168.X.1
bridge_ports bond0.1
bridge_stp off
bridge_fd 0
Perrfect, it is working now. Thank you!

Is there a way to do it without the vmbr1 ?
Because I don't want that someone add this network to a virtual machine.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!