Remove unnecessary ipvlan experiment

This commit is contained in:
Eli Ribble 2024-08-21 14:46:43 -07:00
parent 880fe6a7a1
commit 7140f464af
1 changed files with 2 additions and 26 deletions

View File

@ -11,6 +11,7 @@
];
# Enable forwarding for containers
# I have not yet confirmed that this is necessary.
boot.kernel.sysctl = {
"net.ipv6.conf.all.forwarding" = 1;
};
@ -280,15 +281,6 @@
system.stateVersion = "24.05"; # Did you read the comment?
systemd.network.enable = true;
systemd.network.netdevs."00-container-ipvlan" = {
netdevConfig = {
Name = "podipvlan";
Kind = "ipvlan";
};
ipvlanConfig = {
Mode = "L2";
};
};
systemd.network.networks."10-wan" = {
matchConfig.Name = "enp2s0";
dhcpV6Config = {
@ -317,24 +309,8 @@
# make routing on this interface a dependency for network-online.target
linkConfig.RequiredForOnline = "routable";
};
systemd.network.networks."20-container-ipvlan" = {
matchConfig = {
Name = "podipvlan";
Type = "ipvlan";
};
dhcpPrefixDelegationConfig = {
SubnetId=1;
};
dhcpV6Config = {
DUIDType="uuid";
};
networkConfig = {
IPv6DuplicateAddressDetection=1;
LinkLocalAddressing="ipv6";
};
};
# Useful for debugging systemd networkd
systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug";
systemd.services.scan-uploader = {