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" = {
|
||||
matchConfig.Name = "eno1";
|
||||
address = [ "192.168.76.2/24" ];
|
||||
routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
||||
IPForward = "yes";
|
||||
routes = [ { Gateway = "192.168.76.1"; } ];
|
||||
networkConfig = {
|
||||
IPv4Forwarding = true;
|
||||
IPv6Forwarding = true;
|
||||
};
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
# default lan settings
|
||||
"60-def-lan" = {
|
||||
matchConfig.type = "ether";
|
||||
networkConfig = {
|
||||
DHCP = "ipv4";
|
||||
IPForward = "yes";
|
||||
IPv4Forwarding = true;
|
||||
IPv6Forwarding = true;
|
||||
};
|
||||
#routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
||||
linkConfig.RequiredForOnline = "no";
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user