Benutzer:Eorg

Aus FunkFeuer Wiki
Version vom 13. Januar 2019, 22:53 Uhr von Eorg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ == Konfiguration meines Knoten == Knoten: hof28 === Router === Basis: ER-Setup [https://github.com/pocki80/ER-wizard-Setup0xFF] { "routername": "ho…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Konfiguration meines Knoten

Knoten: hof28

Router

Basis: ER-Setup [1]

  {
      "routername": "hof28-router",
      "username": "█████████",
      "portforwardings": "",
      "portsnmp": "on",
      "ip": "193.238.156.39",
      "laninterface": "eth0",
      "landhcp": "on",
      "nodeid": "3008",
      "webinterface": "",
      "managementbr": "on",
      "olsrvlans": "",
      "sshport": "████",
      "portssl": "on",
      "portssh": "on"
  }

Zusätzliche VLANs 2 und 10 auf eth0.

eth0.10 hinzugefügt zu br1

Im OLSRd V1 Feature Wizard unter OLSRd IPv4 -> HNA4 78.41.112.106 255.255.255.255 eingetragen

Neue Statische Route im GUI:

  Route type: interface
  Destination Network 78.41.112.106/32
  Next hop Interface eth0.2
  Descr.: Helium
  Distance <kein Wert>
  Enable True


"Switch"

Eigentlich Wireless-Router TL-WR841N mit OpenWRT

/etc/config/network File:


  config interface 'loopback'
     option ifname 'lo'
     option proto 'static'
     option ipaddr '127.0.0.1'
     option netmask '255.0.0.0'
  
  config globals 'globals'
     option ula_prefix 'fd74:8d6d:678a::/48'
  
  config switch
     option name 'switch0'
     option reset '1'
     option enable_vlan '1 2 10'
  
  config switch_vlan
     option device 'switch0'
     option vlan '1'
     option ports '0 1 3 4'
  
  config switch_vlan
     option device 'switch0'
     option vlan '10'
     option ports '0t 2'
  
  config switch_vlan
     option device 'switch0'
     option vlan '2'
     option ports '0t 2t'
  
  config interface 'MNGT'
     option type 'bridge'
     option proto 'static'
     option ifname 'eth0.10 eth1.10'
     option ipaddr '10.30.8.4'
     option netmask '255.255.255.0'
     option gateway '10.30.8.100'
     option dns '1.0.0.1 1.1.1.1'
  
  config interface 'LAN'
     option type 'bridge'
     option ifname 'eth0 eth1'
     option proto 'none'
  
  config interface 'PUBLAN'
     option type 'bridge'
     option proto 'none'
     option ifname 'eth0.2 eth1.2'


Raspi "Helium"

Ich bin mir nicht sicher ob das wirklich die Laufende config ist, da ich sehr viel mit ip Eingestellt habe und es erst dann niedergeschrieben habe.

/etc/systemd/network/eth0.network Datei

  [Match]
  Name=eth0
  
  [Network]
  VLAN=eth0.2
  VLAN=eth0.10
  DNS=10.30.8.100

/etc/systemd/network/eth0.10.netdev Datei

  [NetDev]
  Name=eth0.10
  Kind=vlan
  
  [VLAN]
  Id=10

/etc/systemd/network/eth0.10.network Datei

  [Match]
  Name=eth0.10
  
  [Network]
  Address=10.30.8.5/24
  Address=10.30.8.6/24
  
  [Route]
  Gateway=10.30.8.100
  Table=10

/etc/systemd/network/eth0.2.netdev Datei

  [NetDev]
  Name=eth0.2
  Kind=vlan
  
  [VLAN]
  Id=2
  

/etc/systemd/network/eth0.2.network Datei

  [Match]
  Name=eth0.2
  
  [Network]
  Address=79.41.112.106/32