Univention Bugzilla – Full Text Bug Listing |
Summary: | VLAN-Konfiguration über UCR | ||
---|---|---|---|
Product: | UCS | Reporter: | Jan Christoph Ebersbach <ebersbach> |
Component: | Network | Assignee: | Bugzilla Mailingliste <bugzilla> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 | CC: | ebersbach, gohmann, steuwer |
Version: | UNSTABLE | Flags: | ebersbach:
Patch_Available+
|
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
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: | |||
Bug Depends on: | 10451 | ||
Bug Blocks: | |||
Attachments: | VLAN-Support für UCR-Module interfaces.py |
Description
Jan Christoph Ebersbach
2011-07-05 17:05:14 CEST
Created attachment 3388 [details]
VLAN-Support für UCR-Module interfaces.py
Ich habe festgestellt, dass irgendwo in der UCS 2.3er Serie das Template für /etc/network/interfaces überarbeitet wurde und schon mit VLANs umgehen kann.
Übrig bleibt damit nur das Patchen von /etc/univention/templates/modules/interfaces.py. Der angehängt Patch bringt Unterstütztung für VLANs, in dem der Administrator einfach das Format für VLAN-Interfaces (ethX.VLANID) als Interface vergibt. Anschließend wird das benötigte Kernelmodul 8021q geladen und versucht das VLAN anzulegen.
Virtuelle Interfaces auf VLANs werden ebenfalls unterstützt, also ethX.VLANID:VirtuellesInterface bzw. als UCR-Variable muss der Doppelpunkt durch einen Unterstrich ersetzt werden.
Dem Patch fehlt momentan jegliche Fehlerbehandlung, z.B. wenn das Kernelmodul 8021q, oder das vlan-Paket nicht vorhanden sind, wird es zu häßlichen Fehlermeldungen kommen. Das sollte mit Bug #26058 gelöst werden. *** This bug has been marked as a duplicate of bug 26058 *** |