Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft: add c-base #963

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions locations/c-base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
location: c-base
location_nice: "Rungestraße 20, 10179 Berlin"
latitude: 52.512865
longitude: 13.42017
altitude: 35
contacts:
- "#freifunk-site-cbase:matrix.riotcat.org"

hosts:
- hostname: c-base-core
role: corerouter
model: "avm_fritzbox-7530"
wireless_profile: freifunk_default

- hostname: c-base-nf-1
role: ap
model: "mikrotik_sxtsq-5-ac"
mac_override:
eth0: dc:2c:6e:ca:32:d8

- hostname: c-base-nf-2
role: ap
model: "mikrotik_sxtsq-5-ac"
mac_override:
eth0: dc:2c:6e:c4:36:57

snmp_devices:
- hostname: c-base-switch
address: 10.31.134.98
snmp_profile: edgeswitch

- hostname: c-base-mesh-ssw
address: 10.31.134.101
snmp_profile: airos_8

airos_dfs_reset:
- name: "c-base-mesh-ssw"
target: "10.31.134.101"
username: "ubnt"
password: "/root/pwd"
daytime_limit: "2-7"

ipv6_prefix: "2001:bf7:760:4800::/56"

# reservierte IPs
# 10.31.136.0/24 DHCP
# 10.31.134.96/28 MGMT
# 10.31.134.112/28 Mesh

networks:
- vid: 4
role: uplink

- vid: 11
role: mesh
name: mesh_ssw
prefix: 10.31.134.112/32
ipv6_subprefix: -11

- vid: 20
role: mesh
name: mesh_nf1
prefix: 10.31.134.113/32
ipv6_subprefix: -20

- vid: 21
role: mesh
name: mesh_nf2
prefix: 10.31.134.114/32
ipv6_subprefix: -21

- vid: 40
role: dhcp
inbound_filtering: true
enforce_client_isolation: true
prefix: 10.31.136.0/24
ipv6_subprefix: 0
assignments:
c-base-core: 1

- vid: 42
role: mgmt
prefix: 10.31.134.96/28
gateway: 1
dns: 1
ipv6_subprefix: 1
assignments:
c-base-core: 1
c-base-switch: 2
c-base-nf-1: 3
c-base-nf-2: 4
c-base-mesh-ssw: 5

- role: tunnel
ifname: ts_wg0
mtu: 1280
prefix: 10.31.134.115/32
wireguard_port: 51820

- role: tunnel
ifname: ts_wg1
mtu: 1280
prefix: 10.31.134.116/32
wireguard_port: 51821

location__ssh_keys__to_merge:
- comment: charly
key: ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBFndetEGRuYzJV7fwNFlf1r498La1CIHpgLSbsfmqzlI8beLyB28o/ewMH4wY+sHO7cYWzsWAyRA0TXBu7ULC9Oq/pbNyI8FEQjW25j1Bbx4XRx8uqcS2qO9bc65fMWlwQ==