parent
40fadb15e0
commit
2952495b70
1 changed files with 26 additions and 0 deletions
|
@ -11,6 +11,32 @@
|
|||
LLDP = true;
|
||||
# Only to the switch we are connected to directly, e.g. the hypervisor or the switch.
|
||||
EmitLLDP = "nearest-bridge";
|
||||
Tunnel = [ "gre-mwan" ];
|
||||
};
|
||||
};
|
||||
"50-tun-mwan" = {
|
||||
name = "gre-mwan";
|
||||
networkConfig = {
|
||||
Description = "Tunnel de livraison GRE IPv4/IPv6 de MilkyWAN";
|
||||
Address = [
|
||||
"10.1.1.50/30"
|
||||
"2a0b:cbc0:1::216/126"
|
||||
];
|
||||
ConfigureWithoutCarrier = true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
netdevs = {
|
||||
"50-tun-mwan" = {
|
||||
netdevConfig = {
|
||||
Kind = "gre";
|
||||
Name = "gre-mwan";
|
||||
MTUBytes = "1480";
|
||||
};
|
||||
tunnelConfig = {
|
||||
Local = "129.199.146.230";
|
||||
Remote = "80.67.167.30";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue