Fix network config for new PCIe layout
This commit is contained in:
parent
862c5e9cc1
commit
85e8b63f08
|
@ -5,8 +5,9 @@
|
||||||
"br0" = {
|
"br0" = {
|
||||||
interfaces = [
|
interfaces = [
|
||||||
"eno2"
|
"eno2"
|
||||||
"enp23s0"
|
"enp2s0"
|
||||||
"enp23s0d1"
|
"enp101s0"
|
||||||
|
"enp101s0d1"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -19,18 +20,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.interfaces.br0.ipv4.addresses = [
|
networking.interfaces.br0.ipv4.addresses = [
|
||||||
{
|
|
||||||
address = "10.0.69.69";
|
|
||||||
prefixLength = 16;
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
address = "192.168.0.42";
|
address = "192.168.0.42";
|
||||||
prefixLength = 22;
|
prefixLength = 22;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
# networking.defaultGateway = "10.0.0.1";
|
||||||
networking.defaultGateway = "10.0.0.1";
|
networking.defaultGateway = "192.168.0.1";
|
||||||
# networking.defaultGateway = "192.168.0.1";
|
|
||||||
networking.nameservers = [ "1.1.1.1" ];
|
networking.nameservers = [ "1.1.1.1" ];
|
||||||
|
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
|
Loading…
Reference in New Issue