(SOLVED)How to setup management IP on a tagged bonded network?

cjkeist

New Member
Feb 11, 2020
14
1
1
54
My server has 4 NICs and the following network config currently works:
auto lo
iface lo inet loopback

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad

auto vmbr0
iface vmbr0 inet static
address 10.206.74.71
netmask 255.255.255.0
gateway 10.206.74.1
bridge-ports eno3
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

I would like to also network bond my eno3 and eno4 NICs together and still have access to my Proxmox management GUI. My management VLAN tag is 1223. The Current bond0 is working and I have VM's configured using the vmbr1 interface. What I tried to do was create a vmbr1.1223 interface with the same network params as vmbr0. I deleted the vmbr0 interface. so the Config looks like this:
auto lo
iface lo inet loopback

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad

auto vmbr1
iface vmbr1 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

auto vmbr1.1223
iface vmbr1.1223 inet static
address 10.206.74.71
netmask 255.255.255.0
gateway 10.206.74.1
bridge-ports bond0
bridge-stp off
bridge-fd 0


No luck, I'm not able to ping the server. The switch is configured as 802.3ad for the selected ports. Looking for help???
 
Figured it out! After getting the right search in google, found this wiki page:
https://pve.proxmox.com/wiki/Network_Configuration
At bottom of the page it has use VLAN with bond0 for the Proxmox VE management IP with traditional Linux bridge, which is exactly what I needed. So my interfaces file looks like this:

auto lo
iface lo inet loopback

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto bond0.1223
iface bond0.1223 inet manual

auto vmbr1v1223
iface vmbr1v1223 inet static
address 10.206.74.71
netmask 255.255.255.0
gateway 10.206.74.1
bridge_ports bond0.1223
bridge_stp off

auto vmbr1
iface vmbr1 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
 

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!