starlight: use vs0 as vlan=1 interface
This commit is contained in:
parent
f5374d2606
commit
0fe4816359
|
@ -33,20 +33,21 @@
|
|||
|
||||
networking.useDHCP = false;
|
||||
|
||||
networking.vswitches.vs0.interfaces = {
|
||||
lan10g0 = { };
|
||||
lan10g1 = { };
|
||||
lan1g0 = { vlan = 4; };
|
||||
"vs0.4" = {
|
||||
vlan = 4;
|
||||
type = "internal";
|
||||
};
|
||||
"vs0.1" = {
|
||||
vlan = 1;
|
||||
type = "internal";
|
||||
networking.vswitches.vs0 = {
|
||||
extraOvsctlCmds = ''
|
||||
set Port vs0 tag=1
|
||||
'';
|
||||
interfaces = {
|
||||
lan10g0 = { };
|
||||
lan10g1 = { };
|
||||
lan1g0 = { vlan = 4; };
|
||||
"vs0.4" = {
|
||||
vlan = 4;
|
||||
type = "internal";
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.interfaces."vs0.1" = {
|
||||
networking.interfaces."vs0" = {
|
||||
useDHCP = true;
|
||||
ipv6.addresses = [{
|
||||
address = "2001:470:8b04:6900:6969:1454:7749:e591";
|
||||
|
|
Loading…
Reference in a new issue