Gluon/Erweiterte-Konfiguration

Aus Freifunk Potsdam | Wiki
< Gluon
Version vom 4. Februar 2024, 21:27 Uhr von Hannes (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Entwurf == VLANs == === Konfigurationsbeispiel Hannes === '''/etc/config/gluon''' * wichtig, Zuordnung der role config interface 'iface_lan' und config interface 'iface_wan' entfernen * Siehe Kommentare im Code (Achtung, Kommentare gehen verloren wenn '''gluon-reconfigure''' läuft) * eth0 mit VLAN 101 (WAN/Uplink für den Router) und VLAN 102 (Freifunk Client Netz/Freifunk DHCP) ** auf WAN/Uplink wird gleichzeitig Mesh über Kabel gemacht * eth1/eth2…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Entwurf

VLANs

Konfigurationsbeispiel Hannes

/etc/config/gluon

  • wichtig, Zuordnung der role config interface 'iface_lan' und config interface 'iface_wan' entfernen
  • Siehe Kommentare im Code (Achtung, Kommentare gehen verloren wenn gluon-reconfigure läuft)
  • eth0 mit VLAN 101 (WAN/Uplink für den Router) und VLAN 102 (Freifunk Client Netz/Freifunk DHCP)
    • auf WAN/Uplink wird gleichzeitig Mesh über Kabel gemacht
  • eth1/eth2 untagged Freifunk Client Netz/Freifunk DHCP
  • eth3 untagged VLAN 101 (WAN/Uplink für den Router)
  • eth4 mit VLAN 101 (WAN/Uplink für den Router)

config core 'core' option domain 'potsdam'

config interface 'iface_lan' option name '/lan'

config interface 'iface_wan' option name '/wan'

config wireless 'wireless' option outdoor '0' option preserve_channels '0'

config mesh_vpn 'mesh_vpn' option limit_ingress '35000' option limit_enabled '0' option limit_egress '5000' option enabled '1'

  1. eth0 ist hier im VLAN 101 (Tagged), verbindet sich zum
  2. Gateway (uplink) und macht darüber Gleichzeit mesh für
  3. weitere Gluon Router über Kabel

config interface 'iface_wan_vlan101' option name 'eth0.101' list role 'uplink' list role 'mesh'

  1. eth3 ist hier untagged wie eth0, gleichzeitig wird damit
  2. das VLAN 101 auf den Port eth3 gebridged

config interface 'iface_wan_eth3' option name 'eth3' list role 'uplink' list role 'mesh'

  1. eth4 tagged VLAN 101

config interface 'iface_wan_eth4_vlan101' option name 'eth4.101' list role 'uplink' list role 'mesh'

  1. eth0 VLAN 102 (tagged) ist freifunk client netz

config interface 'iface_lan_vlan102' option name 'eth0.102' list role 'client'

  1. eth1 freifunk client netz

config interface 'iface_lan_eth1' option name 'eth1' list role 'client'

config interface 'iface_lan_eth2' option name 'eth2' list role 'client'