proxmox 2.3 not able to create bond without ip

copymaster

Member
Nov 25, 2009
183
0
16
Hi

I installed a cluster with proxmox 2.2. i have 4 nics in the server and was able to create a bond0 (eth0 eth1) without entering ip-address.
then i created bond1 (eth2 eth3) with ip address. at last i created a vmbr0 with bond0 and assigned an ip address to the bridge.

Now i just installed a third server (2.3) and i am not able to create a bond0 without ip anymore?

/etc/network/interfaces looks like this on node 1

Code:
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

iface eth3 inet manual

auto bond0
iface bond0 inet manual
    slaves eth0 eth1
    bond_miimon 100
    bond_mode 802.3ad

auto bond1
iface bond1 inet static
    address  172.12.0.100
    netmask  255.255.255.0
    slaves eth2 eth3
    bond_miimon 100
    bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
    address  192.168.0.104
    netmask  255.255.255.0
    gateway  192.168.0.20
    bridge_ports bond0
    bridge_stp off
    bridge_fd 0
 
Hi

I installed a cluster with proxmox 2.2. i have 4 nics in the server and was able to create a bond0 (eth0 eth1) without entering ip-address.
then i created bond1 (eth2 eth3) with ip address. at last i created a vmbr0 with bond0 and assigned an ip address to the bridge.

Now i just installed a third server (2.3) and i am not able to create a bond0 without ip anymore?

/etc/network/interfaces looks like this on node 1

Code:
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

iface eth3 inet manual

auto bond0
iface bond0 inet manual
    slaves eth0 eth1
    bond_miimon 100
    bond_mode 802.3ad

auto bond1
iface bond1 inet static
    address  172.12.0.100
    netmask  255.255.255.0
    slaves eth2 eth3
    bond_miimon 100
    bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
    address  192.168.0.104
    netmask  255.255.255.0
    gateway  192.168.0.20
    bridge_ports bond0
    bridge_stp off
    bridge_fd 0

it should work, do you have an error message ?
 
do you run latest version? check with apt-get update && apt-get dist-upgrade and then try again.
 
It is little bit tricky, if you want to create bond without ip via gui try to follow this:
1. remove eth0 bridged interface from vmbr0
2. add bond0 with slaves without ip
3. add bond0 as bridged interface to vmbr0
 
It is little bit tricky, if you want to create bond without ip via gui try to follow this:
1. remove eth0 bridged interface from vmbr0
2. add bond0 with slaves without ip
3. add bond0 as bridged interface to vmbr0

i tried exactly this procedure.

When i try to create a bond0 i get a gui error saying "no valid ip-address" (error 400)

Now i just copied the /etc/network/interfaces from another node to the new server, adapted ip addresses and rebooted. seems to work this way

But it really should be possible to vćreate a bonding device without entering ip-address.
 

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!