chore(router02/networking): Update routes syntax
This commit is contained in:
parent
1467819be2
commit
bceb0ce492
1 changed files with 24 additions and 42 deletions
|
@ -40,18 +40,14 @@
|
||||||
};
|
};
|
||||||
routes = [
|
routes = [
|
||||||
{
|
{
|
||||||
routeConfig = {
|
Destination = "::/0";
|
||||||
Destination = "::/0";
|
Table = "he";
|
||||||
Table = "he";
|
Scope = "global";
|
||||||
Scope = "global";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# Use HE tunnel for router trafic as well
|
# Use HE tunnel for router trafic as well
|
||||||
routeConfig = {
|
Destination = "::/0";
|
||||||
Destination = "::/0";
|
Scope = "global";
|
||||||
Scope = "global";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
routingPolicyRules = [
|
routingPolicyRules = [
|
||||||
|
@ -82,41 +78,31 @@
|
||||||
};
|
};
|
||||||
routes = [
|
routes = [
|
||||||
{
|
{
|
||||||
routeConfig = {
|
Gateway = "2a0b:cbc0:1::215";
|
||||||
Gateway = "2a0b:cbc0:1::215";
|
PreferredSource = "2a0e:e701:1120::1";
|
||||||
PreferredSource = "2a0e:e701:1120::1";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# Local route
|
# Local route
|
||||||
routeConfig = {
|
Table = "mwan";
|
||||||
Table = "mwan";
|
Destination = "2a0e:e701:1120::/64";
|
||||||
Destination = "2a0e:e701:1120::/64";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# Default unreachable route for unattributed prefixes of our /48
|
# Default unreachable route for unattributed prefixes of our /48
|
||||||
routeConfig = {
|
Table = "mwan";
|
||||||
Table = "mwan";
|
Metric = 9999;
|
||||||
Metric = 9999;
|
Destination = "2a0e:e701:1120::/48";
|
||||||
Destination = "2a0e:e701:1120::/48";
|
Type = "unreachable";
|
||||||
Type = "unreachable";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
routeConfig = {
|
Table = "mwan";
|
||||||
Table = "mwan";
|
Gateway = "2a0b:cbc0:1::215";
|
||||||
Gateway = "2a0b:cbc0:1::215";
|
PreferredSource = "2a0e:e701:1120::1";
|
||||||
PreferredSource = "2a0e:e701:1120::1";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
# IPv4
|
# IPv4
|
||||||
{
|
{
|
||||||
routeConfig = {
|
Scope = "global";
|
||||||
Scope = "global";
|
Table = "mwan";
|
||||||
Table = "mwan";
|
Gateway = "10.1.1.49";
|
||||||
Gateway = "10.1.1.49";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
routingPolicyRules = [
|
routingPolicyRules = [
|
||||||
|
@ -165,10 +151,8 @@
|
||||||
];
|
];
|
||||||
routes = [
|
routes = [
|
||||||
{
|
{
|
||||||
routeConfig = {
|
Table = "mwan";
|
||||||
Table = "mwan";
|
Destination = "2a0e:e701:1120:1000::/64";
|
||||||
Destination = "2a0e:e701:1120:1000::/64";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -188,11 +172,9 @@
|
||||||
];
|
];
|
||||||
routes = [
|
routes = [
|
||||||
{
|
{
|
||||||
routeConfig = {
|
Table = "he";
|
||||||
Table = "he";
|
Scope = "global";
|
||||||
Scope = "global";
|
Destination = "2001:470:1f13:187::/64";
|
||||||
Destination = "2001:470:1f13:187::/64";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue