replace deprecated (IPForward) attribute

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-08-06 16:41:24 -04:00 committed by Alice Huston
parent 62d3e7c1e3
commit be327b6c90

View File

@ -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";
DHCP = "ipv4"; networkConfig = {
IPForward = "yes"; DHCP = "ipv4";
IPv4Forwarding = true;
IPv6Forwarding = true;
};
#routes = [ { routeConfig.Gateway = "192.168.76.1"; } ]; #routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
linkConfig.RequiredForOnline = "no"; linkConfig.RequiredForOnline = "no";
}; };