Problem with creating a Linux Bond

Valhera

Member
Jun 26, 2016
22
0
21
51
Hi Guys,

I have recently installed Proxmox 4.2 on Debian Jessy and I am now in the process of bonding two interfaces for redundancy but I am getting the error below

Jul 07 17:23:04 thor1 pve-firewall[1524]: status update error: unable to open file '/proc/sys/net/bridge/bridge-nf-call-iptables' - No such file or directory

I setup a standard Linux Bond - bond0 with an IP, mask, selected Autostart, Slaves are eth4 eth5 and mode is balance-xor

I looked at the directory structure in /proc/sys/net and there is no bridge directory.

Please also note that bond0 works fine as I can ping the server on the IP allocated to bond0

I found an old article talking about disabling netfilter on bridges in Proxmox 3.2 and there was a kernel patch that seemed related to this issue.

http://pve.proxmox.com/pipermail/pve-devel/2013-December/009428.html

Any guidance you can provide would be appreciated.
 
Outputs
root@thor1:~# dpkg --get-selections |grep bridge-utils
bridge-utils install
root@thor1:~# dpkg-query -l 'bridge-utils'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-============================-===================-===================-==============================================================
ii bridge-utils 1.5-9 amd64 Utilities for configuring the Linux Ethernet bridge
root@thor1:~# dpkg-query -W -f='${Status} ${Version}\n' bridge-utils
install ok installed 1.5-9
root@thor1:~#
 
add bridge to /etc/modules. This will load the bridge kernel module which will enable /proc/sys/net/bridge/ in the kernel.
After doing this you need to run: update-initramfs -u
And reboot the server.
 
Hi Mir,

I did what you requested output below, I tried to reboot one of my servers and now the LILO boot loader loops, just so you know i have six proxmox nodes and I have only rebooted 1 so far but from what I am seeing on node 1 none of the will come back up on reboot!!!!!!!!!!

root@thor1:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

bridge
root@thor1:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.4.13-1-pve
Warning: LBA32 addressing assumed
Warning: /dev/sda is not on the first disk
Warning: The boot sector and map file are on different disks.
Added Linux *
Skipping /vmlinuz.old
3 warnings were issued.


LILO on boot

Error 0x01
Loading Linux.............................................................
Error 0x01
Loading Linux.............................................................
Error 0x01
Loading Linux.............................................................
Error 0x01
Loading Linux.............................................................
Error 0x01
Loading Linux.............................................................
Error 0x01
Loading Linux.............................................................
 
Wow ... LILO. Haven't seen that one for ... a decade for now.

Please also show

Code:
brctl show

and the entries in /etc/network/interfaces
 
Yes I am using Lilo as its the only boot loader that would boot off a USB drive key just like we do with vmware servers.

I spent 6 weeks trying to get a install of Proxmox working with Grub, I had a forum post on it but I was not able to resolve it.

This is probably the end of Proxmox for me, I don't want to waste a drive for booting Proxmox and even if I did allocate a drive its a major issue getting Proxmox to install on the correct drive as the installer detects the drives differently to the OS booting so it breaks grub as hd0 changes
 
output from another server

root@thor4:/home/nebulex# brctl show
bridge name bridge id STP enabled interfaces
 
I have several USB sticks with proxmox, also network bootable proxmox. I cannot relate to your problems, sorry. Grub works always as expected.

Normally, you create a bond and then the Bridge on it:

Code:
auto bond0
iface bond0 inet manual
        slaves eth0 eth1
        bond_miimon 100
        bond_mode 1

auto vmbr0
iface vmbr0 inet static
    address 1.2.3.4
    netmask 255.255.0.0
    gateway 1.2.3.254
    bridge_ports bond0
    bridge_stp off
    bridge_fd 0
 
Hi LnxBil, I'm okay for the bond setup, the steps provided by Mir fixed the issue but has also high lighted that I need to rebuild and get my hardware configuration working with Grub.

Thanks you very much