Compare commits
No commits in common. "51db3d1dbb510010e08da39048debfce8b6dee03" and "a3b0dfa0b60b91784cd1997ee5baa63cf2f40944" have entirely different histories.
51db3d1dbb
...
a3b0dfa0b6
3 changed files with 10 additions and 48 deletions
|
@ -8,7 +8,6 @@ lib.extra.mkConfig {
|
|||
|
||||
enabledServices = [
|
||||
# List of services to enable
|
||||
"networking"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
let
|
||||
vlanName = "vlan-uplink-cri";
|
||||
in
|
||||
{
|
||||
systemd.network = {
|
||||
networks = {
|
||||
"10-sfp-right" = {
|
||||
name = "enp67s0f0np0";
|
||||
networkConfig = {
|
||||
VLAN = [ vlanName ];
|
||||
|
||||
LinkLocalAddressing = false;
|
||||
LLDP = false;
|
||||
EmitLLDP = false;
|
||||
IPv6AcceptRA = false;
|
||||
IPv6SendRA = false;
|
||||
};
|
||||
};
|
||||
"20-vlan-uplink-cri" = {
|
||||
name = vlanName;
|
||||
address = [ "10.120.33.250/30" ];
|
||||
networkConfig = {
|
||||
Gateway = "10.120.33.249";
|
||||
};
|
||||
};
|
||||
};
|
||||
netdevs = {
|
||||
"20-vlan-uplink-cri" = {
|
||||
netdevConfig = {
|
||||
Name = vlanName;
|
||||
Kind = "vlan";
|
||||
};
|
||||
vlanConfig = {
|
||||
Id = 223;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -90,15 +90,17 @@
|
|||
vault01 = {
|
||||
interfaces = {
|
||||
enp130s0f0 = {
|
||||
ipv4 = [
|
||||
{
|
||||
address = "192.168.42.7";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
#ipv4 = [
|
||||
# {
|
||||
# address = "129.199.210.85";
|
||||
# prefixLength = 24;
|
||||
# }
|
||||
#];
|
||||
|
||||
gateways = [ "192.168.42.1" ];
|
||||
enableDefaultDNS = true;
|
||||
#gateways = [ "129.199.210.254" ];
|
||||
gateways = [ ];
|
||||
|
||||
DHCP = "ipv4";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue