Wiesbaden/Projekte/Hans Bredow Straße: Unterschied zwischen den Versionen

Aus Freifunk MWU Wiki
Zur Navigation springen Zur Suche springen
Zeile 1.564: Zeile 1.564:
  
 
====Libvirt Domain Configs====
 
====Libvirt Domain Configs====
 +
Per default werden die Namen für virtuelle Netzwerkkarten der VMs auf dem Host dynamisch nach dem Schema vnetX vergeben.
 +
Für die OpenvSwitch Konfiguration benötigen wir aber persistente Interface-Namen. Diese werden in den <target dev=''/> Direktiven gesetzt.
 +
 
ffmwu-hans-core
 
ffmwu-hans-core
 
<source lang='xml'>
 
<source lang='xml'>
Zeile 1.635: Zeile 1.638:
 
         <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
 
         <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
 
       </controller>
 
       </controller>
       <interface type='network'>
+
       <interface type='bridge'>
         <mac address='52:54:00:dd:cc:9d'/>
+
         <mac address='52:54:00:93:ba:bb'/>
         <source network='ovs-sw01' portgroup='vlan-all'/>
+
         <source network='ovs-sw05' portgroup='vlan-all' bridge='br-sw05'/>
        <actual type='bridge'>
+
        <vlan trunk='yes'>
          <source bridge='br-sw01'/>
+
          <tag id='5'/>
          <vlan trunk='yes'>
+
          <tag id='513'/>
            <tag id='5'/>
+
          <tag id='514'/>
            <tag id='11'/>
+
          <tag id='515'/>
            <tag id='12'/>
+
          <tag id='516'/>
            <tag id='13'/>
+
          <tag id='517'/>
            <tag id='14'/>
+
          <tag id='518'/>
            <tag id='15'/>
+
        </vlan>
            <tag id='16'/>
+
        <virtualport type='openvswitch'>
          </vlan>
+
          <parameters interfaceid='55521f0b-3c6e-4855-8fb2-7fa265da3ac2'/>
          <virtualport type='openvswitch'>
+
        </virtualport>
            <parameters interfaceid='2aa233d9-3a8e-46db-8230-72ea0b730ee2'/>
+
         <target dev='vcoresw05'/>
          </virtualport>
 
        </actual>
 
         <target dev='vnet0'/>
 
 
         <model type='virtio'/>
 
         <model type='virtio'/>
 
         <alias name='net0'/>
 
         <alias name='net0'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
+
         <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
 
       </interface>
 
       </interface>
       <interface type='network'>
+
       <interface type='bridge'>
         <mac address='52:54:00:12:3b:c2'/>
+
         <mac address='52:54:00:f7:8b:a8'/>
         <source network='ovs-sw02' portgroup='vlan-all'/>
+
         <source bridge='br-gluonb2b'/>
        <actual type='bridge'>
+
         <target dev='vcoreb2b'/>
          <source bridge='br-sw02'/>
 
          <vlan trunk='yes'>
 
            <tag id='5'/>
 
          </vlan>
 
          <virtualport type='openvswitch'>
 
            <parameters interfaceid='c1a010f5-7911-4651-ae41-080b8892e3e5'/>
 
          </virtualport>
 
        </actual>
 
         <target dev='vnet1'/>
 
 
         <model type='virtio'/>
 
         <model type='virtio'/>
 
         <alias name='net1'/>
 
         <alias name='net1'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
+
         <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
 
       </interface>
 
       </interface>
       <interface type='network'>
+
       <interface type='bridge'>
         <mac address='52:54:00:93:ba:bb'/>
+
         <mac address='52:54:00:3c:50:59'/>
         <source network='ovs-sw05' portgroup='vlan-all'/>
+
         <source network='ovs-sw02' portgroup='vlan-all' bridge='br-sw02'/>
         <actual type='bridge'>
+
         <vlan trunk='yes'>
           <source bridge='br-sw05'/>
+
           <tag id='5'/>
           <vlan trunk='yes'>
+
           <tag id='301'/>
            <tag id='5'/>
+
          <tag id='303'/>
            <tag id='51'/>
+
          <tag id='317'/>
            <tag id='52'/>
+
          <tag id='318'/>
            <tag id='53'/>
+
          <tag id='319'/>
            <tag id='54'/>
+
          <tag id='320'/>
            <tag id='55'/>
+
          <tag id='321'/>
            <tag id='56'/>
+
          <tag id='322'/>
          </vlan>
+
        </vlan>
          <virtualport type='openvswitch'>
+
        <virtualport type='openvswitch'>
            <parameters interfaceid='d0223530-25ae-4649-8103-405ba0e79761'/>
+
          <parameters interfaceid='959931f7-7eb8-46a9-9c8b-c100e4c9fea8'/>
          </virtualport>
+
        </virtualport>
        </actual>
+
         <target dev='vcoresw02'/>
         <target dev='vnet2'/>
 
 
         <model type='virtio'/>
 
         <model type='virtio'/>
 
         <alias name='net2'/>
 
         <alias name='net2'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
+
         <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
 
       </interface>
 
       </interface>
 
       <serial type='pty'>
 
       <serial type='pty'>
Zeile 1.829: Zeile 1.819:
 
       </controller>
 
       </controller>
 
       <interface type='bridge'>
 
       <interface type='bridge'>
         <mac address='52:54:00:1c:86:61'/>
+
         <mac address='52:54:00:fd:c1:33'/>
 +
        <source network='ovs-sw05' portgroup='vlan-6' bridge='br-sw05'/>
 +
        <vlan>
 +
          <tag id='6'/>
 +
        </vlan>
 +
        <virtualport type='openvswitch'>
 +
          <parameters interfaceid='789cf088-db1a-47a5-9cc9-334d1366546d'/>
 +
        </virtualport>
 +
        <target dev='vuplsw05'/>
 +
        <model type='virtio'/>
 +
        <alias name='net0'/>
 +
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
 +
      </interface>
 +
      <interface type='bridge'>
 +
        <mac address='52:54:00:f5:1e:09'/>
 
         <source bridge='br-gluonb2b'/>
 
         <source bridge='br-gluonb2b'/>
         <target dev='vnet3'/>
+
         <target dev='vuplb2b'/>
 
         <model type='virtio'/>
 
         <model type='virtio'/>
         <alias name='net0'/>
+
         <alias name='net1'/>
 
         <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
 
         <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
 
       </interface>
 
       </interface>
       <interface type='network'>
+
       <interface type='bridge'>
         <mac address='52:54:00:fd:c1:33'/>
+
         <mac address='52:54:00:e7:71:af'/>
         <source network='ovs-sw05' portgroup='vlan-6'/>
+
         <source network='ovs-sw01' portgroup='vlan-all' bridge='br-sw01'/>
         <actual type='bridge'>
+
         <vlan trunk='yes'>
           <source bridge='br-sw05'/>
+
           <tag id='4'/>
          <virtualport type='openvswitch'>
+
        </vlan>
            <parameters interfaceid='47c1d339-fc70-4734-8f77-197ceecaed70'/>
+
        <virtualport type='openvswitch'>
          </virtualport>
+
          <parameters interfaceid='5d824f23-d60c-443f-9c00-429f0bdd7943'/>
        </actual>
+
        </virtualport>
         <target dev='vnet4'/>
+
         <target dev='vuplsw01'/>
 
         <model type='virtio'/>
 
         <model type='virtio'/>
         <alias name='net1'/>
+
         <alias name='net2'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
+
         <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
 
       </interface>
 
       </interface>
 
       <serial type='pty'>
 
       <serial type='pty'>

Version vom 11. Oktober 2016, 01:26 Uhr

Dies ist die Übersichtsseite des Projektes Hans-Bredow-Straße. Möchtest Du Dich hier beteiligen, so sprich einfach den Verantwortlichen der Gruppe an. Möchtest Du etwas zu dieser Seite beitragen, kannst Du das auf der Diskussionsseite tun. Die Übersichtsseite selbst ist den Mitgliedern der Gruppe vorbehalten.

Allgemeines

Name Hans-Bredow-Straße
Thema Versorgung des ehemaligen Gerling Verwaltungssitzes in Wiesbaden-Südost, Hans-Bredow-Straße 2 mit Freifunk. Dort sind bis zu 600 Geflüchtete untergebracht.
Verantwortlicher GÜ-NN1
Mitglieder Axel, Benito, GÜ-NN1, Peter, Volker, Kokel
Planungs-Mailing-Liste Hans
Berichtsturnus auf ML
Beginn 2016-02-02
Ende ?
Ergebnisse

aktueller Stand

  • 2016-10-10 | 01 Pers. X 02 h | Wartung; Config-Reset einer CPE; Umpatchung einer CPE
  • 2016-09-11 | 01 Pers. X 02 h | Inbetriebnahme Switche 1-3/Technikraum EG; Ausrichtung PBE-5AC-400 in Richtung Opelbad; Einweisung Hausmeister umpatchen CPEs
  • 2016-08-25 | 02 Pers. X 02 h | Ausrichtung NB5-AC zu Weilstraße
  • 2016-08-12 | 01 Pers. X 01 h | Telekomrouter konfiguriert
  • 2016-07-10 | 02 Pers. X 04 h | 4 Kabel gecrimpt, Server + Gluon-VM konfiguriert
  • 2016-07-06 | 02 Pers. X 03 h | 2 Kabel gecrimpt, 2 Switche konfiguriert, 2 PBE-5AC-400 ausgerichtet + konfiguriert
  • 2016-05-15 | 01 Pers. X 05 h | Switche/USV in Schrank montiert
  • 2016-05-14 | 02 Pers. X 08 h | Installation vom Server, Switche/USV in Schrank montiert
  • 2016-05-11 | 02 Pers. X 02 h | Einlagerung der bestellten Hardware zur Weiternutzung
  • 2016-03-03 | 04 Pers. X 03 h | Ausmessung eines Stockwerkes und Bedarfsfestlegung (Bestellung Hardware)
  • 2016-02-02 | 03 Pers. X 01 h | Vor-Ort-Termin

Lokationsbeschreibung

HBS hat 8 Stockwerke, ein längliches Gebäude, wo vom mittigen Flur rechts und links die Zimmer abgehen. Außerdem gibt es einen zweistöckigen Anbau, der im rechten Winkel am achtstöckigen Teil angebaut ist. Dort im UG ist die Kantine / Aufenthaltsraum.

Befreifunkt sollen alle 8 Stockwerke, die 2 Stockwerke des Anbaus und der Aufenthaltbereich.

Bing-Standort: http://binged.it/1QbZhTd

Vom Dach hat man einen guten Rundumblick auf viele Standorte in der Stadt und bis nach Mainz. Fotos: http://photos.wiesbaden.freifunk.net/index.php?/category/30

Das 2., 3. und 4. OG soll am 15.2. in Betrieb gehen, der Rest später. Belegung werden 500 - 600 Personen sein.

An einen zentralen Punkt im Haus käme ein PoE-fähiger Switch. Von dort bekommen wir LAN an die nötigen Routerplätze gelegt. Auf das Dach wird ebenfalls LAN gelegt, zwecks Anbindung BB.--Axel (Diskussion) 22:42, 3. Feb. 2016 (CET)

Technik

Folgende Richtlinien sollen gelten:

  • VLAN 5 = Freifunk Client Netz
  • VLANs 100-121/201-222/301-316/401-422/501-512 = Untagged VLANs für CPE210/TL-WR841N
  • VLANs 11-22 = Tagged VLANs für Richtfunk
  • CPE210 = Mesh-On-LAN/-WAN aktiviert
  • TL-WR841N = Mesh-On-LAN/-WAN/-WiFi aktiviert

Port-Legende: "X YZ YZ .. "

X: Port-Bezeichnung (Gerät, nicht Software intern)
Y: VLAN-ID
Z: U = Untagged, T = Tagged

WLAN-Legende: "CX/MX"

C: Client-WLAN
M: Mesh-WLAN
X: 0 = deaktiviert; >0 = WLAN-Kanal (+ aktiviert)


End-Geräte Knoten

Client-WLAN sind alle auf 2,4GHz eingestellt

Lfd. Nr. Knotenname Standort Routertyp Firmware 2,4GHz IPv4 Kommentar In Betrieb
01. HanS-EG-1 CPE210 v1.1 PharOS C01/M00 10.56.8.1 nein
02. HanS-EG-2 CPE210 v1.1 PharOS C05/M00 10.56.8.2 nein
03. HanS-EG-3 CPE210 v1.1 PharOS C09/M00 10.56.8.3 ja
04. HanS-EG-4 CPE210 v1.1 PharOS C13/M00 10.56.8.4 ja
05. HanS-1.OG-1 CPE210 v1.1 PharOS C13/M00 10.56.8.5 ja
06. HanS-1.OG-2 CPE210 v1.1 PharOS C09/M00 10.56.8.6 nein
07. HanS-1.OG-3 CPE210 v1.1 PharOS C05/M00 10.56.8.7 ja
08. HanS-1.OG-4 CPE210 v1.1 PharOS C01/M00 10.56.8.8 ja
09. HanS-2.OG-1 CPE210 v1.1 PharOS C01/M00 10.56.8.9 nein
10. HanS-2.OG-2 CPE210 v1.1 PharOS C05/M00 10.56.8.10 nein
11. HanS-2.OG-3 CPE210 v1.1 PharOS C09/M00 10.56.8.11 nein
12. HanS-2.OG-4 CPE210 v1.1 PharOS C13/M00 10.56.8.12 nein
13. HanS-3.OG-1 CPE210 v1.1 PharOS C13/M00 10.56.8.13 nein
14. HanS-3.OG-2 CPE210 v1.1 PharOS C09/M00 10.56.8.14 nein
15. HanS-3.OG-3 CPE210 v1.1 PharOS C05/M00 10.56.8.15 ja
16. HanS-3.OG-4 CPE210 v1.1 PharOS C01/M00 10.56.8.16 ja
17. HanS-4.OG-1 CPE210 v1.1 PharOS C01/M00 10.56.8.17 nein
18. HanS-4.OG-2 CPE210 v1.1 PharOS C05/M00 10.56.8.18 ja
19. HanS-4.OG-3 CPE210 v1.1 PharOS C09/M00 10.56.8.19 ja
20. HanS-4.OG-4 CPE210 v1.1 PharOS C13/M00 10.56.8.20 ja
21. HanS-5.OG-1 CPE210 v1.1 PharOS C13/M00 10.56.8.21 ja
22. HanS-5.OG-2 CPE210 v1.1 PharOS C09/M00 10.56.8.22 ja
23. HanS-5.OG-3 CPE210 v1.1 PharOS C05/M00 10.56.8.23 nein
24. HanS-5.OG-4 CPE210 v1.1 PharOS C01/M00 10.56.8.24 ja
25. HanS-6.OG-1 CPE210 v1.1 PharOS C01/M00 10.56.8.25 ja
26. HanS-6.OG-2 CPE210 v1.1 PharOS C05/M00 10.56.8.26 ja
27. HanS-6.OG-3 CPE210 v1.1 PharOS C09/M00 10.56.8.27 ja
28. HanS-6.OG-4 CPE210 v1.1 PharOS C13/M00 10.56.8.28 nein
29. HanS-7.OG-1 CPE210 v1.1 PharOS C13/M00 10.56.8.29 nein
30. HanS-7.OG-2 CPE210 v1.1 PharOS C09/M00 10.56.8.30 nein
31. HanS-7.OG-3 CPE210 v1.1 PharOS C05/M00 10.56.8.31 ja
32. HanS-7.OG-4 CPE210 v1.1 PharOS C01/M00 10.56.8.32 nein
33. HanS-8.OG-1 CPE210 v1.1 PharOS C01/M00 10.56.8.33 nein
34. HanS-8.OG-2 CPE210 v1.1 PharOS C05/M00 10.56.8.34 ja
35. HanS-8.OG-3 CPE210 v1.1 PharOS C09/M00 10.56.8.35 ja
36. HanS-8.OG-4 CPE210 v1.1 PharOS C13/M00 10.56.8.36 ja
37. HanS-Flur-EG-1 CPE210 v1.1 Gluon C01/M01 Mesh mit HanS-Flur-EG-1.1 ja
38. HanS-Flur-EG-1.1 TL-WR841N Gluon C01/M01 Mesh mit HanS-Flur-EG-1 nein
39. HanS-Flur-EG-2 CPE210 v1.1 Gluon C05/M05 Mesh mit HanS-Flur-EG-2.1 ja
40. HanS-Flur-EG-2.1 TL-WR841N Gluon C05/M05 Mesh mit HanS-Flur-EG-2 nein
41. HanS-Flur-1.OG-1 CPE210 v1.1 Gluon C09/M09 Mesh mit HanS-Flur-1.OG-1.1 nein
42. HanS-Flur-1.OG-1.1 TL-WR841N Gluon C09/M09 Mesh mit HanS-Flur-1.OG-1 nein
43. HanS-Flur-1.OG-2 CPE210 v1.1 Gluon C13/M13 Mesh mit HanS-Flur-1.OG-2.1 nein
44. HanS-Flur-1.OG-2.1 TL-WR841N Gluon C13/M13 Mesh mit HanS-Flur-1.OG-2 nein


WLAN-Kanäle bei IEEE 802.11g und 802.11n (2,4 GHz überlappungsfrei bei 20 MHz Kanalbreite)

WLAN 2 4 20mhz.png

Quelle: www.elektronik-kompendium.de

Richtfunk

Lfd. Nr. Knotenname Standort Routertyp nach Kommentar
01. ffmwu-hans-fw1 PowerBeam 5AC 400 FW1 AP PtP ffmwu-hans-fw1-11ac
02. ffmwu-hans-opel PowerBeam 5AC 400 Opel AP PtP ffmwu-hans-opel-11ac
03. ffmwu-Accesspoint-client-Standort PowerBeam 5AC 400 Point-to-Point
04. ffmwu-Accesspoint-client-Standort PowerBeam 5AC 400 Point-to-Point
05. ffmwu-Accesspoint-client-Standort NanoBeam 5AC 19 Point-to-Point
06. ffmwu-Accesspoint-client-Standort NanoBeam 5AC 19 Point-to-Point
07. ffmwu-Accesspoint-client-Standort NanoBeam 5AC 19 Point-to-Point
08. ffmwu-Accesspoint-client-Standort NanoBeam 5AC 19 Point-to-Point
09. ffmwu-hans-11ac-116 LiteBeam 5AC 16 120 Luisenstraße Point-to-Multipoint
10. ffmwu-hans-weil NanoBeam 5AC 19 Weil Point-to-Point

Switche

Portbelegung der 5 Ubiquiti EdgeSwitch ES-24-250W, die in den Racks verbaut sind

HanS-EG-Switch-1

Port VLANs Tag-Modi Patch-Punkt/Gerät PoE-Status
1 5 untagged WLAN EG 1.1 24V passive
2 5 untagged WLAN EG 1.2 24V passive
3 5 untagged WLAN EG 2.1 24V passive
4 5 untagged WLAN EG 2.2 24V passive
5 5 untagged WLAN EG 3.1 24V passive
6 5 untagged WLAN EG 3.2 24V passive
7 5 untagged WLAN EG 4.1 24V passive
8 5 untagged WLAN EG 4.2 24V passive
9 5 untagged WLAN 1.OG 1.1 24V passive
10 5 untagged WLAN 1.OG 1.2 24V passive
11 5 untagged WLAN 1.OG 2.1 24V passive
12 5 untagged WLAN 1.OG 2.2 24V passive
13 5 untagged WLAN 1.OG 3.1 24V passive
14 5 untagged WLAN 1.OG 3.2 24V passive
15 5 untagged WLAN 1.OG 4.1 24V passive
16 5 untagged WLAN 1.OG 4.2 24V passive
17 5 untagged WLAN 2.OG 1.1 24V passive
18 5 untagged WLAN 2.OG 1.2 24V passive
19 5 untagged WLAN 2.OG 2.1 24V passive
20 5 untagged WLAN 2.OG 2.2 24V passive
21 5 untagged frei 24V passive
22 5 untagged RaspberryPi B+ disabled
23 5 untagged frei/Out-of-Band Mgmt disabled
24 5 tagged Panel-A Port 1/Server-Port enp2s0f1 disabled

HanS-EG-Switch-2

Port VLANs Tag-Modi Patch-Punkt/Gerät PoE-Status
1 5 untagged WLAN 2.OG 3.1 24V passive
2 5 untagged WLAN 2.OG 3.2 24V passive
3 5 untagged WLAN 2.OG 4.1 24V passive
4 5 untagged WLAN 2.OG 4.2 24V passive
5 5 untagged WLAN 3.OG 1.1 24V passive
6 5 untagged WLAN 3.OG 1.2 24V passive
7 5 untagged WLAN 3.OG 2.1 24V passive
8 5 untagged WLAN 3.OG 2.2 24V passive
9 5 untagged WLAN 3.OG 3.1 24V passive
10 5 untagged WLAN 3.OG 3.2 24V passive
11 5 untagged WLAN 3.OG 4.1 24V passive
12 5 untagged WLAN 3.OG 4.2 24V passive
13 5 untagged WLAN 4.OG 1.1 24V passive
14 5 untagged WLAN 4.OG 1.2 24V passive
15 5 untagged WLAN 4.OG 2.1 24V passive
16 5 untagged WLAN 4.OG 2.2 24V passive
17 5 untagged WLAN 4.OG 3.1 24V passive
18 5 untagged WLAN 4.OG 3.2 24V passive
19 5 untagged WLAN 4.OG 4.1 24V passive
20 5 untagged WLAN 4.OG 4.2 24V passive
21 5 untagged frei 24V passive
22 5 untagged frei 24V passive
23 5,317-322 tagged ffmwu-hans-sw03 Port 24 disabled
24 5,301,303,317-322 tagged Panel-A Port 2/Server-Port ens1f0 disabled

HanS-EG-Switch-3

Port VLANs Tag-Modi Patch-Punkt/Gerät PoE-Status
1 301 untagged WLAN Flur EG 1.1 24V passive
2 5 untagged WLAN Flur EG 1.2 24V passive
3 5 303 WLAN Flur EG 2.1 24V passive
4 5 untagged WLAN Flur EG 2.2 24V passive
5 5 untagged WLAN Flur 1.OG 1.1 24V passive
6 5 untagged WLAN Flur 1.OG 1.2 24V passive
7 5 untagged WLAN Flur 1.OG 2.1 24V passive
8 5 untagged WLAN Flur 1.OG 2.2 24V passive
9 5 untagged frei 24V passive
10 5 untagged frei 24V passive
11 5 untagged frei 24V passive
12 5 untagged frei 24V passive
13 5 untagged frei 24V passive
14 5 untagged frei 24V passive
15 5 untagged frei 24V passive
16 5 untagged frei 24V passive
17 5,317 tagged Dach 4.1 24V passive
18 5,318 tagged Dach 4.2 24V passive
19 5,319 tagged Dach 5.1 24V passive
20 5,320 tagged Dach 5.2 24V passive
21 5,321 tagged Dach 6.1 24V passive
22 5,322 tagged Dach 6.2 24V passive
23 5 untagged Out-of-Band Mgmt disabled
24 5,301,303,317-322 tagged ffmwu-hans-sw02 Port 23 disabled

HanS-8OG-Switch-4

Port VLANs Tag-Modi Patch-Punkt/Gerät PoE-Status
1 5 untagged WLAN 5.OG 1.1 24V passive
2 5 untagged WLAN 5.OG 1.2 24V passive
3 5 untagged WLAN 5.OG 2.1 24V passive
4 5 untagged WLAN 5.OG 2.2 24V passive
5 5 untagged WLAN 5.OG 3.1 24V passive
6 5 untagged WLAN 5.OG 3.2 24V passive
7 5 untagged WLAN 5.OG 4.1 24V passive
8 5 untagged WLAN 5.OG 4.2 24V passive
9 5 untagged WLAN 6.OG 1.1 24V passive
10 5 untagged WLAN 6.OG 1.2 24V passive
11 5 untagged WLAN 6.OG 2.1 24V passive
12 5 untagged WLAN 6.OG 2.2 24V passive
13 5 untagged WLAN 6.OG 3.1 24V passive
14 5 untagged WLAN 6.OG 3.2 24V passive
15 5 untagged WLAN 6.OG 4.1 24V passive
16 5 untagged WLAN 6.OG 4.2 24V passive
17 5 untagged WLAN 7.OG 1.1 24V passive
18 5 untagged WLAN 7.OG 1.2 24V passive
19 5 untagged WLAN 7.OG 2.1 24V passive
20 5 untagged WLAN 7.OG 2.2 24V passive
21 5 untagged TL-WR841N disabled
22 5 untagged frei 24V passive
23 5 untagged Out-of-Band Mgmt disabled
24 5 tagged ffmwu-hans-sw05 Port 23 disabled

HanS-8OG-Switch-5

Port VLANs Tag-Modi Patch-Punkt/Gerät PoE-Status
1 5 untagged WLAN 7.OG 3.1 24V passive
2 5 untagged WLAN 7.OG 3.2 24V passive
3 5 untagged WLAN 7.OG 4.1 24V passive
4 5 untagged WLAN 7.OG 4.2 24V passive
5 5 untagged WLAN 8.OG 1.1 24V passive
6 5 untagged WLAN 8.OG 1.2 24V passive
7 5 untagged WLAN 8.OG 2.1 24V passive
8 5 untagged WLAN 8.OG 2.2 24V passive
9 5 untagged WLAN 8.OG 3.1 24V passive
10 5 untagged WLAN 8.OG 3.2 24V passive
11 5 untagged WLAN 8.OG 4.1 24V passive
12 5 untagged WLAN 8.OG 4.2 24V passive
13 5,513 tagged Dach 1.1 24V passive
14 5,514 tagged Dach 1.2 24V passive
15 5,515 tagged Dach 2.1 24V passive
16 5,516 tagged Dach 2.2 24V passive
17 5,517 tagged Dach 3.1 24V passive
18 5,518 tagged Dach 3.2 24V passive
19 5 untagged frei 24V passive
20 6 tagged Telekom Uplink disabled
21 5 untagged integrated Lights-Out (iLO) disabled
22 5 untagged Out-of-Band Mgmt disabled
23 5 tagged ffmwu-hans-sw04 Port 24 disabled
24 5,513-518 tagged Server-Port ens1f1 disabled

Server

  • Modell:HP ProLiant DL380 G5 2x Xeon E5450
  • Betriebssystem: Ubuntu 16.04 LTS
  • Virtualisierung: KVM/QEMU

Netzwerk Config

Installation Open vSwitch

apt-get install openvswitch-switch openvswitch-common

Anlegen der Open vSwitch Bridges

ovs-vsctl add-br br-sw01
ovs-vsctl add-port br-sw01 enp2s0f1

ovs-vsctl add-br br-sw02
ovs-vsctl add-port br-sw02 ens1f0

ovs-vsctl add-br br-sw05
ovs-vsctl add-port br-sw05 ens1f1

/etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto br-ffwi
iface br-ffwi inet static
        bridge_ports enp2s0f0
        bridge_stp no
        bridge_fd 0
        address 10.56.2.139
        netmask 255.255.192.0
        gateway 10.56.0.161
        dns-nameservers 10.56.0.161 10.56.0.23 10.56.0.231

# Uplink ffmwu-hans-sw01
auto enp2s0f1
iface enp2s0f1 inet manual

# Uplink ffmwu-hans-sw02
auto ens1f0
iface ens1f0 inet manual

# Uplink ffmwu-hans-sw05
auto ens1f1
iface ens1f1 inet manual

# Inter-Bridge Backbone-VM <-> Uplink-VM
auto br-gluonb2b
iface br-gluonb2b inet manual
        bridge_ports none
        bridge_stp no
        bridge_fd 0

Libvirt Networks

Man legt z.B. nach /tmp/ die Netzwerk Definitionen ab.

Datei /tmp/ovs-sw01.xml

<networkstatus>
  <class_id bitmap='0-2'/>
  <floor sum='0'/>
  <network>
    <name>ovs-sw01</name>
    <uuid>e5992f9c-4dc1-4f7d-b4e5-6865e80c57f0</uuid>
    <forward mode='bridge'/>
    <bridge name='br-sw01'/>
    <virtualport type='openvswitch'/>
    <portgroup name='vlan-all' default='yes'>
      <vlan trunk='yes'>
        <tag id='4'/>
      </vlan>
    </portgroup>
  </network>
</networkstatus>

Datei /tmp/ovs-sw02.xml

<networkstatus>
  <class_id bitmap='0-2'/>
  <floor sum='0'/>
  <network>
    <name>ovs-sw02</name>
    <uuid>3ceae5b0-cdb4-4996-a0d0-be5f206ed3c2</uuid>
    <forward mode='bridge'/>
    <bridge name='br-sw02'/>
    <virtualport type='openvswitch'/>
    <portgroup name='vlan-all' default='yes'>
      <vlan trunk='yes'>
        <tag id='5'/>
        <tag id='301'/>
        <tag id='303'/>
        <tag id='317'/>
        <tag id='318'/>
        <tag id='319'/>
        <tag id='320'/>
        <tag id='321'/>
        <tag id='322'/>
      </vlan>
    </portgroup>
  </network>
</networkstatus>

Datei /tmp/ovs-sw05.xml

<networkstatus>
  <class_id bitmap='0-2'/>
  <floor sum='0'/>
  <network>
    <name>ovs-sw05</name>
    <uuid>c22babeb-8513-4b83-b4eb-ea9252500477</uuid>
    <forward mode='bridge'/>
    <bridge name='br-sw05'/>
    <virtualport type='openvswitch'/>
    <portgroup name='vlan-all' default='yes'>
      <vlan trunk='yes'>
        <tag id='5'/>
        <tag id='513'/>
        <tag id='514'/>
        <tag id='515'/>
        <tag id='516'/>
        <tag id='517'/>
        <tag id='518'/>
      </vlan>
    </portgroup>
    <portgroup name='vlan-6'>
      <vlan>
        <tag id='6'/>
      </vlan>
  </network>
</networkstatus>

Netzwerk-Definitionen einlesen, starten und für den Autostart markieren.

virsh net-define /tmp/ovs-sw01.xml
virsh net-define /tmp/ovs-sw02.xml
virsh net-define /tmp/ovs-sw05.xml

virsh net-start ovs-sw01
virsh net-start ovs-sw02
virsh net-start ovs-sw05

virsh net-autostart ovs-sw01
virsh net-autostart ovs-sw02
virsh net-autostart ovs-sw05

Libvirt Domain Configs

Per default werden die Namen für virtuelle Netzwerkkarten der VMs auf dem Host dynamisch nach dem Schema vnetX vergeben. Für die OpenvSwitch Konfiguration benötigen wir aber persistente Interface-Namen. Diese werden in den <target dev=/> Direktiven gesetzt.

ffmwu-hans-core

<domain type='kvm' id='1'>
    <name>ffmwu-hans-core</name>
    <uuid>04502792-af13-41de-9073-a777ec8eea80</uuid>
    <memory unit='KiB'>524288</memory>
    <currentMemory unit='KiB'>524288</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <resource>
      <partition>/machine</partition>
    </resource>
    <os>
      <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
      <boot dev='hd'/>
    </os>
    <features>
      <acpi/>
      <apic/>
      <vmport state='off'/>
    </features>
    <cpu mode='host-model'>
      <model fallback='allow'/>
    </cpu>
    <clock offset='utc'>
      <timer name='rtc' tickpolicy='catchup'/>
      <timer name='pit' tickpolicy='delay'/>
      <timer name='hpet' present='no'/>
    </clock>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>restart</on_crash>
    <pm>
      <suspend-to-mem enabled='no'/>
      <suspend-to-disk enabled='no'/>
    </pm>
    <devices>
      <emulator>/usr/bin/kvm-spice</emulator>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/ffmwu-hans-core.img'/>
        <backingStore/>
        <target dev='vda' bus='virtio'/>
        <alias name='virtio-disk0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
      </disk>
      <controller type='usb' index='0' model='ich9-ehci1'>
        <alias name='usb'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
      </controller>
      <controller type='usb' index='0' model='ich9-uhci1'>
        <alias name='usb'/>
        <master startport='0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
      </controller>
      <controller type='usb' index='0' model='ich9-uhci2'>
        <alias name='usb'/>
        <master startport='2'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
      </controller>
      <controller type='usb' index='0' model='ich9-uhci3'>
        <alias name='usb'/>
        <master startport='4'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
      </controller>
      <controller type='pci' index='0' model='pci-root'>
        <alias name='pci.0'/>
      </controller>
      <controller type='virtio-serial' index='0'>
        <alias name='virtio-serial0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
      </controller>
      <interface type='bridge'>
        <mac address='52:54:00:93:ba:bb'/>
        <source network='ovs-sw05' portgroup='vlan-all' bridge='br-sw05'/>
        <vlan trunk='yes'>
          <tag id='5'/>
          <tag id='513'/>
          <tag id='514'/>
          <tag id='515'/>
          <tag id='516'/>
          <tag id='517'/>
          <tag id='518'/>
        </vlan>
        <virtualport type='openvswitch'>
          <parameters interfaceid='55521f0b-3c6e-4855-8fb2-7fa265da3ac2'/>
        </virtualport>
        <target dev='vcoresw05'/>
        <model type='virtio'/>
        <alias name='net0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
      </interface>
      <interface type='bridge'>
        <mac address='52:54:00:f7:8b:a8'/>
        <source bridge='br-gluonb2b'/>
        <target dev='vcoreb2b'/>
        <model type='virtio'/>
        <alias name='net1'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
      </interface>
      <interface type='bridge'>
        <mac address='52:54:00:3c:50:59'/>
        <source network='ovs-sw02' portgroup='vlan-all' bridge='br-sw02'/>
        <vlan trunk='yes'>
          <tag id='5'/>
          <tag id='301'/>
          <tag id='303'/>
          <tag id='317'/>
          <tag id='318'/>
          <tag id='319'/>
          <tag id='320'/>
          <tag id='321'/>
          <tag id='322'/>
        </vlan>
        <virtualport type='openvswitch'>
          <parameters interfaceid='959931f7-7eb8-46a9-9c8b-c100e4c9fea8'/>
        </virtualport>
        <target dev='vcoresw02'/>
        <model type='virtio'/>
        <alias name='net2'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
      </interface>
      <serial type='pty'>
        <source path='/dev/pts/0'/>
        <target port='0'/>
        <alias name='serial0'/>
      </serial>
      <console type='pty' tty='/dev/pts/0'>
        <source path='/dev/pts/0'/>
        <target type='serial' port='0'/>
        <alias name='serial0'/>
      </console>
      <channel type='spicevmc'>
        <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
        <alias name='channel0'/>
        <address type='virtio-serial' controller='0' bus='0' port='1'/>
      </channel>
      <input type='mouse' bus='ps2'/>
      <input type='keyboard' bus='ps2'/>
      <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
        <listen type='address' address='127.0.0.1' fromConfig='1'/>
      </graphics>
      <sound model='ich6'>
        <alias name='sound0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      </sound>
      <video>
        <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
        <alias name='video0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      </video>
      <redirdev bus='usb' type='spicevmc'>
        <alias name='redir0'/>
      </redirdev>
      <redirdev bus='usb' type='spicevmc'>
        <alias name='redir1'/>
      </redirdev>
      <watchdog model='i6300esb' action='reset'>
        <alias name='watchdog0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
      </watchdog>
      <memballoon model='virtio'>
        <alias name='balloon0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
      </memballoon>
    </devices>
    <seclabel type='dynamic' model='apparmor' relabel='yes'>
      <label>libvirt-04502792-af13-41de-9073-a777ec8eea80</label>
      <imagelabel>libvirt-04502792-af13-41de-9073-a777ec8eea80</imagelabel>
    </seclabel>
  </domain>

ffmwu-hans-uplink

<domain type='kvm' id='15'>
    <name>ffmwu-hans-uplink</name>
    <uuid>d768984d-d16e-400d-9a22-273f45bd9ab2</uuid>
    <memory unit='KiB'>524288</memory>
    <currentMemory unit='KiB'>524288</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <resource>
      <partition>/machine</partition>
    </resource>
    <os>
      <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
      <boot dev='hd'/>
    </os>
    <features>
      <acpi/>
      <apic/>
      <vmport state='off'/>
    </features>
    <cpu mode='custom' match='exact'>
      <model fallback='allow'>Nehalem</model>
    </cpu>
    <clock offset='utc'>
      <timer name='rtc' tickpolicy='catchup'/>
      <timer name='pit' tickpolicy='delay'/>
      <timer name='hpet' present='no'/>
    </clock>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>restart</on_crash>
    <pm>
      <suspend-to-mem enabled='no'/>
      <suspend-to-disk enabled='no'/>
    </pm>
    <devices>
      <emulator>/usr/bin/kvm-spice</emulator>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/ffmwu-hans-uplink.img'/>
        <backingStore/>
        <target dev='vda' bus='virtio'/>
        <alias name='virtio-disk0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
      </disk>
      <controller type='usb' index='0' model='ich9-ehci1'>
        <alias name='usb'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
      </controller>
      <controller type='usb' index='0' model='ich9-uhci1'>
        <alias name='usb'/>
        <master startport='0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
      </controller>
      <controller type='usb' index='0' model='ich9-uhci2'>
        <alias name='usb'/>
        <master startport='2'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
      </controller>
      <controller type='usb' index='0' model='ich9-uhci3'>
        <alias name='usb'/>
        <master startport='4'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
      </controller>
      <controller type='pci' index='0' model='pci-root'>
        <alias name='pci.0'/>
      </controller>
      <controller type='virtio-serial' index='0'>
        <alias name='virtio-serial0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
      </controller>
      <controller type='ide' index='0'>
        <alias name='ide'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
      </controller>
      <controller type='scsi' index='0'>
        <alias name='scsi0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
      </controller>
      <interface type='bridge'>
        <mac address='52:54:00:fd:c1:33'/>
        <source network='ovs-sw05' portgroup='vlan-6' bridge='br-sw05'/>
        <vlan>
          <tag id='6'/>
        </vlan>
        <virtualport type='openvswitch'>
          <parameters interfaceid='789cf088-db1a-47a5-9cc9-334d1366546d'/>
        </virtualport>
        <target dev='vuplsw05'/>
        <model type='virtio'/>
        <alias name='net0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
      </interface>
      <interface type='bridge'>
        <mac address='52:54:00:f5:1e:09'/>
        <source bridge='br-gluonb2b'/>
        <target dev='vuplb2b'/>
        <model type='virtio'/>
        <alias name='net1'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
      </interface>
      <interface type='bridge'>
        <mac address='52:54:00:e7:71:af'/>
        <source network='ovs-sw01' portgroup='vlan-all' bridge='br-sw01'/>
        <vlan trunk='yes'>
          <tag id='4'/>
        </vlan>
        <virtualport type='openvswitch'>
          <parameters interfaceid='5d824f23-d60c-443f-9c00-429f0bdd7943'/>
        </virtualport>
        <target dev='vuplsw01'/>
        <model type='virtio'/>
        <alias name='net2'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
      </interface>
      <serial type='pty'>
        <source path='/dev/pts/2'/>
        <target port='0'/>
        <alias name='serial0'/>
      </serial>
      <console type='pty' tty='/dev/pts/2'>
        <source path='/dev/pts/2'/>
        <target type='serial' port='0'/>
        <alias name='serial0'/>
      </console>
      <channel type='spicevmc'>
        <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
        <alias name='channel0'/>
        <address type='virtio-serial' controller='0' bus='0' port='1'/>
      </channel>
      <input type='tablet' bus='usb'>
        <alias name='input0'/>
      </input>
      <input type='mouse' bus='ps2'/>
      <input type='keyboard' bus='ps2'/>
      <graphics type='spice' port='5901' autoport='yes' listen='127.0.0.1'>
        <listen type='address' address='127.0.0.1' fromConfig='1'/>
      </graphics>
      <sound model='ich6'>
        <alias name='sound0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      </sound>
      <video>
        <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
        <alias name='video0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      </video>
      <redirdev bus='usb' type='spicevmc'>
        <alias name='redir0'/>
      </redirdev>
      <redirdev bus='usb' type='spicevmc'>
        <alias name='redir1'/>
      </redirdev>
      <memballoon model='virtio'>
        <alias name='balloon0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
      </memballoon>
    </devices>
    <seclabel type='dynamic' model='apparmor' relabel='yes'>
      <label>libvirt-d768984d-d16e-400d-9a22-273f45bd9ab2</label>
      <imagelabel>libvirt-d768984d-d16e-400d-9a22-273f45bd9ab2</imagelabel>
    </seclabel>
  </domain>

VM-Watchdog-Script

Wenn die VM unerwartet crasht, kann diese per Remote nicht resettet werden. Dies machen wir automatisiert mit diesem Script, das in /usr/local/bin liegt.

#!/bin/bash

count=$( ping6 -c 5 fd56:b4dc:4b1e:0:5054:ff:fedd:cc9d | grep "bytes from" | wc -l )
if [ $count -eq 0 ]
then
  logger "ffmwu-hans-core: Not available -> Reset VM"
  virsh reset ffmwu-hans-core || virsh start ffmwu-hans-core
  exit 0
else
  logger "ffmwu-hans-core: Up and running -> nothing to do"
  exit 0
fi
#!/bin/bash

count=$( ping6 -c 5 fd56:b4dc:4b1e:0:5054:ff:fe1c:8661 | grep "bytes from" | wc -l )
if [ $count -eq 0 ]
then
  logger "ffmwu-hans-core: Not available -> Reset VM"
  virsh reset ffmwu-hans-core || virsh start ffmwu-hans-core
  exit 0
else
  logger "ffmwu-hans-core: Up and running -> nothing to do"
  exit 0
fi

Per cronjob wird es alle 20 Minuten ausgeführt

# m h  dom mon dow   command
*/20 * * * * /usr/local/bin/ffmwu-hans-core.sh
*/20 * * * * /usr/local/bin/ffmwu-hans-uplink.sh

Uplink

  • via Richtfunk
  • 16.000 DSL Telekom

Dokumente

Flucht- & Rettungspläne

Planung

geplante Technik

  • Hardwareplanung für das Projekt vom 03.03.2016
Produkt Anzahl Einzelpreis Gesamt Kommentar Händler
Haupthaus
TP-Link CPE210 32 59,90 € 1.916,80 € Client AP Völkner
Ubiquiti EdgeSwitch ES-24-250W 5 416,70 € 2.083,50 € PoE-Switch jacob
APC Smart-UPS 1000VA LCD RM 2U 230V 2 466,60 € 933,20 € USV für 5 Switche + Server jacob
LogiLink 19" Steckdosenleiste, 8-fach mit Schalter 2 22,50 € 45,00 € Steckdosenleiste für Serverschrank jacob
HP ProLiant DL380 G5 2x Xeon E5450 1 249,99 € 249,99 € Server servershop24
HP NC364T Quad Port Gigabit Server Adapter 2 49,99 € 99,98 € 4x Port RJ45 Netzwerkkarte servershop24
HP 19" Rackmount-Schienen 1 7,99 € 7,99 € 19" Rackmount-Schienen für Server servershop24
Wandhalterung - 25cm (L) x 25cm (H) 32 5,49 € 175,68 € Halterung für TP-Link CPE210 varia-store
Patchkabel 200 1,99 € 398,00 € Patchkabel für TP-Link CPE210 Völkner
Kleinmaterial 1 100,00 € 100,00 €
Zwischensumme 6108,15 €
Anbau
TP-Link CPE210 8 59,90 € 479,20 € Client AP Völkner
TP-Link WR841N 5 15,94 € 79,70 € Client Mesh Völkner
Wandhalterung - 25cm (L) x 25cm (H) 8 5,49 € 43,92 € Halterung für TP-Link CPE210 varia-store
Zwischensumme 602,62 €
Aufenthaltsraum
TP-Link CPE210 4 59,90 € 239,60 € Client AP Völkner
Wandhalterung - 25cm (L) x 25cm (H) 4 5,49 € 21,96 € Halterung für TP-Link CPE210 varia-store
Zwischensumme 261,56 €
Dach
NBE-5AC-19 4 99,20 € 396,80 € Backbone jacob
PBE-5AC-400 4 109,40 € 437,60 € Backbone jacob
LBE-5AC-16-120 1 89,90 € 89,90 € Backbone jacob
Zwischensumme 924,30 €
Gesamtsumme 7896,63 €