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,7 +33,11 @@
networking.useDHCP = false;
networking.vswitches.vs0.interfaces = {
networking.vswitches.vs0 = {
extraOvsctlCmds = ''
set Port vs0 tag=1
'';
interfaces = {
lan10g0 = { };
lan10g1 = { };
lan1g0 = { vlan = 4; };
@ -41,12 +45,9 @@
vlan = 4;
type = "internal";
};
"vs0.1" = {
vlan = 1;
type = "internal";
};
};
networking.interfaces."vs0.1" = {
networking.interfaces."vs0" = {
useDHCP = true;
ipv6.addresses = [{
address = "2001:470:8b04:6900:6969:1454:7749:e591";