Skip to content

Commit

Permalink
noki: init location
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki committed Aug 19, 2023
1 parent fb1a5d7 commit 8e9e152
Showing 1 changed file with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions locations/noki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
location: noki
location_nice:
latitude:
longitude:
contact_nickname: 'Noki'
contacts:
- '@noki-:matrix.org'

dns_servers:
# quad9
- 9.9.9.9
- 149.112.112.112
- 2620:fe::fe
- 2620:fe::9
# cloudflare
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001

hosts:
- hostname: noki-core
role: corerouter
model: "dlink_dap-x1860-a1"

ipv6_prefix: '2001:bf7:830:1000::/56'

# got following prefixes:
# Router: 10.31.215.0/24
# --MGMT: 10.31.215.0/27
# --MESH: 10.31.215.32/27
# --UPLK: 10.31.215.64/27
# --DHCP: 10.31.215.96/27 (HOST)
# --DHCP: 10.31.215.128/25

# Disable noping
dhcp_no_ping: false

networks:
# DHCP with filtering and isolation
- vid: 40
role: dhcp
untagged: true
inbound_filtering: true
enforce_client_isolation: true
prefix: 10.31.215.128/25
ipv6_subprefix: 0
assignments:
noki-core: 1

# DHCP (HOST) without filtering and isolation
- vid: 41
role: dhcp
name: noki_host
prefix: 10.31.215.96/27
ipv6_subprefix: -41
assignments:
noki-core: 1

# MESH - 5 GHz 802.11s
- vid: 20
role: mesh
name: mesh_5g
prefix: 10.31.215.33/32
ipv6_subprefix: -20
mesh_ap: noki-core
mesh_radio: 11a_standard
mesh_iface: mesh

# MESH - 2.4 GHz 802.11s
- vid: 21
role: mesh
name: mesh_2g
prefix: 10.31.215.34/32
ipv6_subprefix: -21
# make mesh_metric(s) for 2GHz worse than 5GHz
mesh_metric: 1024
mesh_metric_lqm: ['default 0.8']
mesh_ap: noki-core
mesh_radio: 11g_standard
mesh_iface: mesh

# MGMT
- vid: 42
role: mgmt
prefix: 10.31.215.0/27
gateway: 1
dns: 1
ipv6_subprefix: 1
assignments:
# 10.31.215.1/32
noki-core: 1

0 comments on commit 8e9e152

Please sign in to comment.