Skip to content

Commit

Permalink
baumex: init location
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki committed Dec 16, 2024
1 parent e20b9a6 commit f9b2805
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 additions & 0 deletions locations/baumex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
location: baumex
location_nice: "Behringstraße 17, 12437 Berlin"
latitude: 52.465913098454
longitude: 13.490052223207
height: 10
contact_nickname: 'xayax'
contacts:
- 'ff@xayax.de'

hosts:

- hostname: baumex-core
role: corerouter
model: "ubnt_edgerouter-x-sfp"
poe_on: [0, 2, 3, 4]
# eth0 / Port 1: cube
# eth1 / Port 2: lte
# eth2 / Port 3: vorne
# eth3 / Port 4: litebeam
# eth4 / Port 5: hinten
# eth5 / Port 6: dhcp
host__rclocal__to_merge:
- |
uci set network.vlan_10.ports='eth0' # mesh_vater_60g
uci set network.vlan_30.ports='eth1' # mesh_lan_lte
uci set network.vlan_40.ports='eth2:t eth4:t eth5'
if [ $(uci changes | wc -l) -gt 0 ]; then
uci commit network ; sync ; reload_config
fi
- hostname: baumex-vorne
role: ap
model: "mikrotik_routerboard-wap-g-5hact2hnd"
- hostname: baumex-hinten
role: ap
model: "mikrotik_routerboard-wap-g-5hact2hnd"

snmp_devices:
- hostname: baumex-cube
address: 10.248.28.130
snmp_profile: mikrotik_60g

- hostname: baumex-litebeam
address: 10.248.28.131
snmp_profile: airos_8

ipv6_prefix: "2001:bf7:840:3b00::/56"

# humpty got the following prefixes:
# Router: 10.248.28.128/25
# --MGMT: 10.248.28.128/27
# --MESH: 10.248.28.160/27
# --DHCP: 10.248.28.192/26

networks:
# MESH - Vaterhaus 60 GHz - Cube
- vid: 10
role: mesh
name: mesh_vater_60g
prefix: 10.248.28.160/32
ipv6_subprefix: -10
ptp: true

# MESH - Vaterhaus 5 GHz - Litebeam
- vid: 11
role: mesh
name: mesh_vater_5g
prefix: 10.248.28.161/32
ipv6_subprefix: -11
ptp: true

# MESH - LAN - LTE Uplink
- vid: 30
role: mesh
name: mesh_lan_lte
prefix: 10.248.28.162/32
ipv6_subprefix: -30

# DHCP with filtering and isolation
- vid: 40
role: dhcp
inbound_filtering: true
enforce_client_isolation: true
prefix: 10.248.28.192/26
ipv6_subprefix: 0
assignments:
baumex-core: 1

# MGMT
- vid: 432
role: mgmt
prefix: 10.248.28.128/27
gateway: 1
dns: 1
ipv6_subprefix: 1
assignments:
baumex-core: 1 # 10.248.28.129
baumex-cube: 2 # 10.248.28.130
baumex-litebeam: 3 # 10.248.28.131
baumex-vorne: 4 # 10.248.28.132
baumex-hinten: 5 # 10.248.28.133

0 comments on commit f9b2805

Please sign in to comment.