replace deprecated (IPForward) attribute
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
62d3e7c1e3
commit
be327b6c90
@ -19,15 +19,21 @@
|
|||||||
"10-lan" = {
|
"10-lan" = {
|
||||||
matchConfig.Name = "eno1";
|
matchConfig.Name = "eno1";
|
||||||
address = [ "192.168.76.2/24" ];
|
address = [ "192.168.76.2/24" ];
|
||||||
routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
routes = [ { Gateway = "192.168.76.1"; } ];
|
||||||
IPForward = "yes";
|
networkConfig = {
|
||||||
|
IPv4Forwarding = true;
|
||||||
|
IPv6Forwarding = true;
|
||||||
|
};
|
||||||
linkConfig.RequiredForOnline = "routable";
|
linkConfig.RequiredForOnline = "routable";
|
||||||
};
|
};
|
||||||
# default lan settings
|
# default lan settings
|
||||||
"60-def-lan" = {
|
"60-def-lan" = {
|
||||||
matchConfig.type = "ether";
|
matchConfig.type = "ether";
|
||||||
|
networkConfig = {
|
||||||
DHCP = "ipv4";
|
DHCP = "ipv4";
|
||||||
IPForward = "yes";
|
IPv4Forwarding = true;
|
||||||
|
IPv6Forwarding = true;
|
||||||
|
};
|
||||||
#routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
#routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
||||||
linkConfig.RequiredForOnline = "no";
|
linkConfig.RequiredForOnline = "no";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user