starlight: use vs0 as vlan=1 interface
This commit is contained in:
parent
f5374d2606
commit
0fe4816359
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue