starlight: use vs0 as vlan=1 interface

This commit is contained in:
Artemis Tosini 2023-11-14 02:47:25 +00:00
parent f5374d2606
commit 0fe4816359
Signed by: artemist
GPG key ID: EE5227935FE3FF18

View file

@ -33,20 +33,21 @@
networking.useDHCP = false; networking.useDHCP = false;
networking.vswitches.vs0.interfaces = { networking.vswitches.vs0 = {
lan10g0 = { }; extraOvsctlCmds = ''
lan10g1 = { }; set Port vs0 tag=1
lan1g0 = { vlan = 4; }; '';
"vs0.4" = { interfaces = {
vlan = 4; lan10g0 = { };
type = "internal"; lan10g1 = { };
}; lan1g0 = { vlan = 4; };
"vs0.1" = { "vs0.4" = {
vlan = 1; vlan = 4;
type = "internal"; type = "internal";
};
}; };
}; };
networking.interfaces."vs0.1" = { networking.interfaces."vs0" = {
useDHCP = true; useDHCP = true;
ipv6.addresses = [{ ipv6.addresses = [{
address = "2001:470:8b04:6900:6969:1454:7749:e591"; address = "2001:470:8b04:6900:6969:1454:7749:e591";