bond und bridge funktioniert nicht

EnzephaloN

New Member
Dec 9, 2016
5
0
1
47
Hallo

Ich habe u.a. anhand dieser https://pve.proxmox.com/wiki/Network_Model Anleitung an meiner zweiten NIC einen bond und darauf eine bridge konfiguriert:

Code:
iface eth4 inet manual

iface eth5 inet manual

auto bond1
iface bond1 inet manual
        slaves eth4 eth5
        bond_miimon 100
        bond_mode balance-tlb
        bond-slaves     eth4 eth5
        bond-updelay    200
        bond-downdelay  200
#BOND for VMBR1

auto vmbr1
iface vmbr1 inet static
        address  192.168.1.231
        netmask  255.255.255.0
        gateway  192.168.1.1
        bridge_ports bond1
        bridge_stp off
        bridge_fd 9
        dns-nameservers 8.8.8.8
        bridge-hello 2
        bridge-maxage 12
#MAIN BRIDGE

Die Doppelung beim bond (slaves und bond-slaves) hat anscheinend keine Auswirkungen.

Jedenfalls kann ich vom Netzwerk (also nicht nur vom Host) die IP 192.168.1.231 anpingen. Aber die der Bridge zugeordneten VMs haben keinen Netzwerkzugriff bzw. können nicht angepingt werden. Ich hab jetzt schon Etliches hin-und-her probiert, doch nichts half.

Kann mir jemand helfen?

Johannes
 
ggrrrr...
Warum auch immer...
Ich konnte mit dem Befehl mii-tool herausfinden, daß die falschen Ports der NIC verbunden waren. Eigentlich hatte ich das schonmal ausgeschlossen, aber wahrscheinlich kam da noch ein Fehler dazwischen.

Jetzt geht es mit der obigen Konfiguration.
 
Willkommen im Club: Ich hatte am Wochenende ähnliches, wo mein Switch zeigt, dass bei 2 Zweier-LACP-Bonds immer nur eine NIC aktiv war.

Erst nach hin- und herprobieren mit ifup && ifdown auf diversen LAN Schnittstellen fiel mir auf, dass ProxMox bei der Installation die NIs nicht "paarweise" erfasst, obwohl dieses auf Grund der MAC-Adressen anzunehmen wäre. Insbesondere wo es doch bem 3. Bond sehr wohl paarweise klappte.

Die Lösung des Problems: NIC 1a und 2a waren laut Proxmox in Bond0, NIC 1b und 2b in Bond1 - Auf dem Switch und am Server hätten dies aber NIC1a und 1b für Bond0, NIC 2a und 2B für Bond1 sein sollen.

Eine -probehalber- Neu-Installation hat dieses genau so reproduziert.
 

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!