Bond + Vlan Interface

Ramalama

Well-Known Member
Dec 26, 2020
861
199
53
35
How you guys would do it, since there is many ways to the same result, im searching simply the best solution.
- I need a separate Cluster network/interface (vlan 1720)
- I need a separate Backup network/interface (vlan 1721)

Code:
iface enp1s0f0np0 inet manual

iface enp1s0f1np1 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves enp1s0f0np0 enp1s0f1np1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer3+4

auto vmbr0
iface vmbr0 inet static
        address 172.17.1.19/24
        gateway 172.17.1.1
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 10-11 1700-1708 1710-1712 1797

Thats the basic configuration, now the question is, how do i create the other interfaces for cluster and backup?
Simply a bond interface like:
Code:
iface bond0.1720 inet static
    address 172.17.20.10/24

iface bond0.1721 inet static
    address 172.17.21.10/24

Or another bridge? Or what? There are too many solutions for this, im just not sure whats the correct one, best approach.
I think the simple bond0.1720 with the address is the simplest and the bridge is not needed anyway since no vm needs that network...

Cheers
 
Last edited:

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!