VM networking problem

krogac

Member
Jul 18, 2018
35
0
11
43
I create bound and bridge. I use a bond as bridge port but VM have problems with comunications in other hosts in subnets, even in the same subnate (L2).
Proxmox host dont have this problems.

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves eno2 eno3 eno4
        bond-miimon 100
        bond-mode balance-rr

auto vmbr0
iface vmbr0 inet static
        address 10.0.7.253/22
        gateway 10.0.4.1
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
 
Sounds like a misconfigured bond.
- How is the other bond endpoint configured?
- Are VMs on the same host/vmbr able to talk to each other normally?
 
Hi,

if I good undestand bond-mode balance-rr są this mode are switch independent. Bond are connected to switch. On this port are no vlan or lacp.
 
Hi,

if I good undestand bond-mode balance-rr są this mode are switch independent.
see https://www.kernel.org/doc/Documentation/networking/bonding.txt

Code:
5. Switch Configuration
=======================

    For this section, "switch" refers to whatever system the
bonded devices are directly connected to (i.e., where the other end of
the cable plugs into).  This may be an actual dedicated switch device,
or it may be another regular system (e.g., another computer running
Linux),

    The active-backup, balance-tlb and balance-alb modes do not
require any specific configuration of the switch.

    The 802.3ad mode requires that the switch have the appropriate
ports configured as an 802.3ad aggregation.  The precise method used
to configure this varies from switch to switch, but, for example, a
Cisco 3550 series switch requires that the appropriate ports first be
grouped together in a single etherchannel instance, then that
etherchannel is set to mode "lacp" to enable 802.3ad (instead of
standard EtherChannel).

    The balance-rr, balance-xor and broadcast modes generally
require that the switch have the appropriate ports grouped together.
The nomenclature for such a group differs between switches, it may be
called an "etherchannel" (as in the Cisco example, above), a "trunk
group" or some other similar variation.  For these modes, each switch
will also have its own configuration options for the switch's transmit
policy to the bond.  Typical choices include XOR of either the MAC or
IP addresses.  The transmit policy of the two peers does not need to
match.  For these three modes, the bonding mode really selects a
transmit policy for an EtherChannel group; all three will interoperate
with another EtherChannel group.
 
Thx for answer. I fixed switch configuraton and change bond and port swiotch to lacp.
 

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!