[PVE-User] ip address on both bond0 and vmbr0

mj lists at merit.unu.edu
Tue Mar 23 11:42:14 CET 2021

Hi all,

First some info: is ceph storage is our LAN

I am trying to make this /etc/networking/interfaces work in in pve:

> auto enp2s0f0
> iface enp2s0f0 inet manual
> #mlag1
> auto enp2s0f1
> iface enp2s0f1 inet manual
> #mlag2
> iface enp0s25 inet manual
> #management
> auto bond0
> iface bond0 inet static
>         address
>         bond-slaves enp2s0f0 enp2s0f1
>         bond-miimon 100
>         bond-mode active-backup
>         bond-primary enp2s0f0
> auto vmbr0
> iface vmbr0 inet static
>         address
>         gateway
>         bridge-ports bond0
>         bridge-stp off
>         bridge-fd 0

We will connect pve servers to two mlagged arista 40G switches. The ceph network will remain local on the two aristas, and will be routed to our core switch.

The VM IPs are in the LAN range, and obviously don't 
require access to

We connect the VMs to vmbr0 and assign VLANs to them by configuring a 
VLAN tag in the proxmox VM config. This works. :-)

However, assigning the IP address to bond0 does NOT work. The IP address 
is ignored. bond0 works, but is IP-less. Adding the IP address manually 
after boot works, using:
> ip addr add dev bond0

Why is this ip address not assigned to bond0 at boot time?

Is it not possible to have an IP on both bond0 and vmbr0, when bond0 is 
also used as a bridge port?

The setup is based (freely) on the pve docs:



More information about the pve-user mailing list