bundles/systemd-networkd: add option to enable RA for nodes without dhcp
This commit is contained in:
parent
460a04278f
commit
5a34d9d58c
5 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -25,6 +25,7 @@ nodes['home.kodi-wohnzimmer'] = {
|
|||
'172.19.138.24/24',
|
||||
},
|
||||
'gateway4': '172.19.138.1',
|
||||
'ipv6_accept_ra': True,
|
||||
},
|
||||
},
|
||||
'backup-client': {
|
||||
|
|
|
@ -22,6 +22,7 @@ nodes['home.nas'] = {
|
|||
'172.19.138.20/24',
|
||||
},
|
||||
'gateway4': '172.19.138.1',
|
||||
'ipv6_accept_ra': True,
|
||||
},
|
||||
},
|
||||
'apt': {
|
||||
|
|
|
@ -14,6 +14,7 @@ nodes['home.openhab'] = {
|
|||
'172.19.138.21/24',
|
||||
},
|
||||
'gateway4': '172.19.138.1',
|
||||
'ipv6_accept_ra': True,
|
||||
},
|
||||
},
|
||||
'backup-client': {
|
||||
|
|
|
@ -18,6 +18,7 @@ nodes['home.paperless'] = {
|
|||
'172.19.138.29/24',
|
||||
},
|
||||
'gateway4': '172.19.138.1',
|
||||
'ipv6_accept_ra': True,
|
||||
},
|
||||
},
|
||||
'backup-client': {
|
||||
|
|
Loading…
Reference in a new issue