bundles/systemd-networkd: add option to enable RA for nodes without dhcp

This commit is contained in:
Franzi 2022-01-04 15:47:05 +01:00
parent 460a04278f
commit 5a34d9d58c
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
5 changed files with 8 additions and 0 deletions

View File

@ -39,7 +39,11 @@ GatewayOnlink=yes
% endif
[Network]
DHCP=no
% if config.get('ipv6_accept_ra', False):
IPv6AcceptRA=yes
% else:
IPv6AcceptRA=no
% endif
% if config.get('forwarding', False):
IPForward=yes

View File

@ -25,6 +25,7 @@ nodes['home.kodi-wohnzimmer'] = {
'172.19.138.24/24',
},
'gateway4': '172.19.138.1',
'ipv6_accept_ra': True,
},
},
'backup-client': {

View File

@ -22,6 +22,7 @@ nodes['home.nas'] = {
'172.19.138.20/24',
},
'gateway4': '172.19.138.1',
'ipv6_accept_ra': True,
},
},
'apt': {

View File

@ -14,6 +14,7 @@ nodes['home.openhab'] = {
'172.19.138.21/24',
},
'gateway4': '172.19.138.1',
'ipv6_accept_ra': True,
},
},
'backup-client': {

View File

@ -18,6 +18,7 @@ nodes['home.paperless'] = {
'172.19.138.29/24',
},
'gateway4': '172.19.138.1',
'ipv6_accept_ra': True,
},
},
'backup-client': {