Bug 23947 - Mehr als eine Bridge per UCR konfigurieren
Mehr als eine Bridge per UCR konfigurieren
Status: CLOSED DUPLICATE of bug 26058
Product: UCS
Classification: Unclassified
Component: Network
UCS 2.4
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UCS maintainers
Janek Walkenhorst
:
: 22670 23514 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-05 15:22 CEST by Jan Christoph Ebersbach
Modified: 2023-03-25 06:55 CET (History)
8 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2011-10-05 15:22:41 CEST
In der Netzkonfiguration steht folgender Hilfetext zur Anpassung des Quell-Devices:
> Die Quelle ist der Name der Netzwerkschnittstelle des pyhsikalischen Server die als Bridge konfiguriert ist. Normalerweise ist dies eth0.

Es wäre nützlich, wenn auf dem physikalischen Server mehr als eine Bridge über die Variable uvmm/kvm/bridge/interface konfiguriert werden könnte. Z.B. können dann Netzwerkkarten direkt einer virtuellen Instanz zugeordnet werden, was insbesondere bei stark belasteten Servern sinnvoll ist, oder auch beim Betrieb eines Routers. Ein entsprechendes Setup ist im UCS@school-Umfeld häufig anzutreffen, siehe auch Ticket #2011061010001304. 

Als Workaround habe ich das init-Script univention-virtual-machine-manager-node-kvm kopiert und das gewünschte Device manuell eingetragen.


+++ This bug was initially created as a clone of Bug #23514 +++

Created an attachment (id=3497)
modified initscript

As requested in the Univention-Forum, it would be nice to have the oportunity
to administrate more than one virtual network bridge via UVMM.

The user already worked on a solution for his environment, which ended up in a
modified initscript.
Comment 1 Philipp Hahn univentionstaff 2011-12-02 15:26:23 CET
(In reply to comment #0)
> Es wäre nützlich, wenn auf dem physikalischen Server mehr als eine Bridge über
> die Variable uvmm/kvm/bridge/interface konfiguriert werden könnte.

Die Konfiguration der Bridge per /etc/xen/scripts/network-bridge ist "deprecated" (definitiv bei Debian, IMHO auch bei Xen-devel selbst), da zu wenig flexibel.
Die Upstream-Empfehlung lautet derzeit, das selber per /etc/network/interfaces zu konfigurieren:

auto br0
iface br0 inet static
  address ...
  network ...
  netmask ...
  broadcast ...
  gateway ...
  bridge_ports eth0
  bridge_fd 0

Siehe "man 5 bridge-utils-interfaces" und ggf. Bug #22670.

Für KVM haben wir auch nur das Xen-Script kopiert und leicht angepasst, von daher ist das auch für KVM deprecated. Die oben skizzierte Lösung funktioniert dann mit allen beiden Virtualisierungstechniken.
Comment 2 Jan Christoph Ebersbach univentionstaff 2012-03-14 10:54:55 CET
*** Bug 23514 has been marked as a duplicate of this bug. ***
Comment 3 Jan Christoph Ebersbach univentionstaff 2012-03-14 10:56:04 CET
*** Bug 22670 has been marked as a duplicate of this bug. ***
Comment 4 Philipp Hahn univentionstaff 2012-03-14 14:17:17 CET
Siehe auch Bug #26058 für eine generischere Lösung zum Konfigurieren von Bridges, VLANs, bonding.
Comment 5 Philipp Hahn univentionstaff 2013-05-03 18:30:05 CEST
Mit Bug #26058 ist es jetzt möglich, beliebig viele bridges zu konfigurieren. Von daher ist hier nichts mehr spezielles zu tun, außer ggf. dien Hinweis zu entfernen und stattdessen auf <http://docs.univention.de/computers-3.1.html> zu verweisen.

*** This bug has been marked as a duplicate of bug 26058 ***