mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(c4130): br
This commit is contained in:
parent
21ed969ab7
commit
29a48ee5e5
3 changed files with 75 additions and 18 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue