-
Notifications
You must be signed in to change notification settings - Fork 0
/
router.kenyonralph.com.yaml
200 lines (160 loc) · 3.37 KB
/
router.kenyonralph.com.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
---
classes:
- profile::gpsd
packages:
- firmware-realtek
profile::apparmor::profile_files:
usr.sbin.chronyd:
content: |
# Managed by Puppet.
@{run}/chrony.pps{,*}.sock rw,
munin::node::plugins:
if_err_wlp2s0:
ensure: absent
if_wlp2s0:
ensure: absent
if_err_eno1:
ensure: absent
if_eno1:
ensure: absent
if_err_enp1s0:
ensure: absent
if_enp1s0:
ensure: absent
if_err_wan:
ensure: link
target: if_err_
if_wan:
ensure: link
target: if_
if_err_lan:
ensure: link
target: if_err_
if_lan:
ensure: link
target: if_
if_err_leafwood:
ensure: link
target: if_err_
if_leafwood:
ensure: link
target: if_
smart_sda:
ensure: link
target: smart_
profile::gpsd::devices:
- /dev/ttyS0
- /dev/pps1
profile::timesync::refclocks:
- SOCK /run/chrony.ttyS0.sock refid GPS precision 1e-1
- SOCK /run/chrony.pps1.sock refid PPS precision 1e-7
systemd::dns: 2001:4860:4860::8888 2606:4700:4700::1111 8.8.8.8 1.1.1.1
systemd::networks:
10-lan.link:
content: |
# Managed by Puppet
[Match]
Type=ether
MACAddress=80:ee:73:f1:f2:fa
[Link]
Description=Next to USB ports
Name=lan
10-lan.network:
content: |
# Managed by Puppet
[Match]
Name=lan
[Link]
RequiredFamilyForOnline=ipv6
[Network]
Address=10.0.0.1/24
Description=LAN
DHCPServer=yes
DHCPv6PrefixDelegation=yes
EmitLLDP=yes
IPForward=yes
IPMasquerade=yes
IPv6SendRA=yes
LinkLocalAddressing=yes
LLDP=yes
MulticastDNS=yes
VLAN=leafwood
[DHCPServer]
DefaultLeaseTimeSec=1 day
MaxLeaseTimeSec=1 week
DNS=8.8.8.8 1.1.1.1
NTP=10.0.0.1
[DHCPv6PrefixDelegation]
SubnetId=0
[IPv6SendRA]
DNS=2001:4860:4860::8888 2606:4700:4700::1111
Domains=%{trusted.domain}
10-wan.link:
content: |
# Managed by Puppet
[Match]
Type=ether
MACAddress=80:ee:73:f1:f2:f9
[Link]
Description=Next to power jack
Name=wan
10-wan.network:
content: |
# Managed by Puppet
[Match]
Name=wan
[Link]
RequiredFamilyForOnline=ipv6
[Network]
Description=Internet
DHCP=yes
IPForward=yes
IPv6AcceptRA=yes
LinkLocalAddressing=yes
LLDP=yes
[DHCPv4]
UseDNS=no
UseHostname=no
SendRelease=no
[DHCPv6]
UseDNS=no
PrefixDelegationHint=::/56
[IPv6AcceptRA]
UseDNS=no
10-leafwood.netdev:
content: |
# Managed by Puppet
[NetDev]
Description=Guest network
Kind=vlan
Name=leafwood
[VLAN]
Id=2
10-leafwood.network:
content: |
# Managed by Puppet
[Match]
Name=leafwood
[Link]
RequiredFamilyForOnline=ipv6
[Network]
Address=10.0.2.1/24
Description=Guest network
DHCPServer=yes
DHCPv6PrefixDelegation=yes
EmitLLDP=yes
IPForward=yes
IPMasquerade=yes
IPv6SendRA=yes
LinkLocalAddressing=yes
LLDP=yes
MulticastDNS=yes
[DHCPServer]
DefaultLeaseTimeSec=1 day
MaxLeaseTimeSec=1 week
DNS=8.8.8.8 1.1.1.1
NTP=10.0.0.1
[DHCPv6PrefixDelegation]
SubnetId=1
[IPv6SendRA]
DNS=2001:4860:4860::8888 2606:4700:4700::1111