Fix network config for new PCIe layout

This commit is contained in:
Ciapa 2024-06-08 11:20:16 +02:00
parent 862c5e9cc1
commit 85e8b63f08
1 changed files with 5 additions and 9 deletions

View File

@ -5,8 +5,9 @@
"br0" = {
interfaces = [
"eno2"
"enp23s0"
"enp23s0d1"
"enp2s0"
"enp101s0"
"enp101s0d1"
];
};
};
@ -19,18 +20,13 @@
};
networking.interfaces.br0.ipv4.addresses = [
{
address = "10.0.69.69";
prefixLength = 16;
}
{
address = "192.168.0.42";
prefixLength = 22;
}
];
networking.defaultGateway = "10.0.0.1";
# networking.defaultGateway = "192.168.0.1";
# networking.defaultGateway = "10.0.0.1";
networking.defaultGateway = "192.168.0.1";
networking.nameservers = [ "1.1.1.1" ];
networking.firewall.enable = false;