Multiple NIC issue.

tukiyo3

Well-Known Member
Sep 13, 2015
30
1
48
I can not go to the Internet if there are multiple nic.
proxmox 4.4 is works fine.
proxmox 5.0 beta2 has that issue.

* vmbr0 : 192.168.2.2/24 gateway : 192.168.2.1
* vmbr1 : 192.168.1.2/24

ping 192.168.1.3 is responsed.
ping 192.168.1.1 is no response.
ping 192.168.2.1 is no response.

Even if you try it on another computer the same result with 5.0 beta 2.
so I was returned to proxmox 4.4.

Does anyone have the same experience ?
 
can you please post your /etc/network/interfaces ?
 
Sorry for the late reply.
  • kernel 4.4.44 - 1 - pve (proxmox 4) did not occur.
  • Occurred in kernel 4.10.17-3-pve (proxmox 5: latest). I did fresh install debian9.1, apt install pve packages.
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto lo
iface lo inet loopback

iface enp3s4f0 inet manual
iface enp3s4f1 inet manual
iface ens5f0 inet manual
iface ens5f1 inet manual

auto bond0
iface bond0 inet manual
    slaves ens5f0 ens5f1
    bond_miimon 100
    bond_mode active-backup

auto bond1
iface bond1 inet manual
    slaves enp3s4f0 enp3s4f1
    bond_miimon 100
    bond_mode active-backup

auto vmbr0
iface vmbr0 inet static
    address  192.168.10.2
    netmask  255.255.255.0
    gateway  192.168.10.1
    bridge_ports bond0
    bridge_stp off
    bridge_fd 0

auto vmbr1
iface vmbr1 inet static
    address  192.168.0.2
    netmask  255.255.255.0
    bridge_ports bond1
    bridge_stp off
    bridge_fd 0

  • bond0 is recognized as round-robin instead of active-backup.
  • Correct bond 0 incorrectly recognized as round-robin to active-backup

Code:
#!/bin/sh

# Correct bond 0 incorrectly recognized as round-robin to active-backup
grep "round-robin" /proc/net/bonding/bond0 > /dev/null
if [ $? -eq 0 ];then
        /sbin/ifdown bond0
        echo "active-backup" > /sys/class/net/bond0/bonding/mode
        /sbin/ifup bond0
fi
 
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!