nodes/home.*: add ipv6 site-local ip addressing and v6-only vlan

This commit is contained in:
Franzi 2024-02-25 20:50:25 +01:00
parent 9c4d1c94a5
commit 9e59bb044a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 22 additions and 2 deletions

View file

@ -6,7 +6,10 @@ bundles = [
groups = ["debian-bookworm"] groups = ["debian-bookworm"]
[metadata.interfaces.enp1s0] [metadata.interfaces.enp1s0]
ips = ["172.19.138.25/24"] ips = [
"172.19.138.25/24",
"fd90:2017:0:1138::25/64",
]
gateway4 = "172.19.138.1" gateway4 = "172.19.138.1"
ipv6_accept_ra = true ipv6_accept_ra = true

View file

@ -25,6 +25,7 @@ nodes['home.nas'] = {
'br1138': { 'br1138': {
'ips': { 'ips': {
'172.19.138.20/24', '172.19.138.20/24',
'fd90:2017:0:1138::20/64',
}, },
'gateway4': '172.19.138.1', 'gateway4': '172.19.138.1',
'ipv6_accept_ra': True, 'ipv6_accept_ra': True,

View file

@ -19,6 +19,7 @@ nodes['home.router'] = {
'enp1s0.1138': { 'enp1s0.1138': {
'ips': { 'ips': {
'172.19.138.1/24', '172.19.138.1/24',
'fd90:2017:0:1138::1/64',
}, },
}, },
'enp1s0.1139': { 'enp1s0.1139': {
@ -26,6 +27,11 @@ nodes['home.router'] = {
'172.19.139.1/24', '172.19.139.1/24',
}, },
}, },
'enp1s0.2000': {
'ips': {
'fd90:2017:0:2000::1/64',
},
},
}, },
'backups': { 'backups': {
'exclude_from_backups': True, 'exclude_from_backups': True,
@ -104,8 +110,17 @@ nodes['home.router'] = {
}, },
'radvd': { 'radvd': {
'interfaces': { 'interfaces': {
'enp1s0.1138': {}, 'enp1s0.1138': {
'rdnss': {
'fd90:2017:0:1138::1',
},
},
'enp1s0.1139': {}, 'enp1s0.1139': {},
'enp1s0.2000': {
'rdnss': {
'fd90:2017:0:2000::1',
},
},
}, },
}, },
'postfix': { 'postfix': {
@ -152,6 +167,7 @@ nodes['home.router'] = {
'targets': { 'targets': {
'enp1s0.1138': '1', 'enp1s0.1138': '1',
'enp1s0.1139': '2', 'enp1s0.1139': '2',
'enp1s0.2000': '3',
}, },
}, },
'wireguard': { 'wireguard': {