feat(c4130): br

This commit is contained in:
arcnmx 2024-11-24 16:43:19 -08:00
parent 21ed969ab7
commit 29a48ee5e5
3 changed files with 75 additions and 18 deletions

View file

@ -20,8 +20,8 @@
networking.useNetworkd = true;
systemd.network = {
networks."40-eno1" = {
inherit (config.systemd.network.links.eno1) matchConfig;
networks.eno1 = {
inherit (config.systemd.network.links."10-eno1") matchConfig;
address = ["10.1.1.60/24"];
gateway = ["10.1.1.1"];
DHCP = "no";
@ -32,10 +32,18 @@
Multicast = true;
};
};
links.eno1 = {
matchConfig = {
Type = "ether";
MACAddress = "64:00:6a:c0:a1:4c";
links = {
"10-eno1" = {
matchConfig = {
Type = "ether";
MACAddress = "64:00:6a:c0:a1:4c";
};
};
"10-eno2" = {
matchConfig = {
Type = "ether";
MACAddress = "64:00:6a:c0:a1:4e";
};
};
};
};