This commit is contained in:
Lucy 2025-09-16 00:17:48 +02:00
parent 9466a71cc5
commit c8600dbe44

View file

@ -36,11 +36,11 @@
};
};
# Configuration for the second interface (e.g., enp2s0)
systemd.network.networks."20-wan" = {
matchConfig.Name = "enp2s0"; # Adjust to your second network interface name
systemd.network.networks."20-eno2np1" = {
matchConfig.Name = "eno2np1";
networkConfig = {
DHCP = "ipv4"; # Enable DHCP for this interface
Address = "192.168.42.144/24";
Gateway = "192.168.42.1"; # Replace with your actual gateway
};
};