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
|
% endif
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=no
|
DHCP=no
|
||||||
|
% if config.get('ipv6_accept_ra', False):
|
||||||
|
IPv6AcceptRA=yes
|
||||||
|
% else:
|
||||||
IPv6AcceptRA=no
|
IPv6AcceptRA=no
|
||||||
|
% endif
|
||||||
|
|
||||||
% if config.get('forwarding', False):
|
% if config.get('forwarding', False):
|
||||||
IPForward=yes
|
IPForward=yes
|
||||||
|
|
|
@ -25,6 +25,7 @@ nodes['home.kodi-wohnzimmer'] = {
|
||||||
'172.19.138.24/24',
|
'172.19.138.24/24',
|
||||||
},
|
},
|
||||||
'gateway4': '172.19.138.1',
|
'gateway4': '172.19.138.1',
|
||||||
|
'ipv6_accept_ra': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'backup-client': {
|
'backup-client': {
|
||||||
|
|
|
@ -22,6 +22,7 @@ nodes['home.nas'] = {
|
||||||
'172.19.138.20/24',
|
'172.19.138.20/24',
|
||||||
},
|
},
|
||||||
'gateway4': '172.19.138.1',
|
'gateway4': '172.19.138.1',
|
||||||
|
'ipv6_accept_ra': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'apt': {
|
'apt': {
|
||||||
|
|
|
@ -14,6 +14,7 @@ nodes['home.openhab'] = {
|
||||||
'172.19.138.21/24',
|
'172.19.138.21/24',
|
||||||
},
|
},
|
||||||
'gateway4': '172.19.138.1',
|
'gateway4': '172.19.138.1',
|
||||||
|
'ipv6_accept_ra': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'backup-client': {
|
'backup-client': {
|
||||||
|
|
|
@ -18,6 +18,7 @@ nodes['home.paperless'] = {
|
||||||
'172.19.138.29/24',
|
'172.19.138.29/24',
|
||||||
},
|
},
|
||||||
'gateway4': '172.19.138.1',
|
'gateway4': '172.19.138.1',
|
||||||
|
'ipv6_accept_ra': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'backup-client': {
|
'backup-client': {
|
||||||
|
|
Loading…
Reference in a new issue