swann: fix en-ee routes so they belong to the ee route table
This commit is contained in:
parent
2a0a5d4cb6
commit
acb3f9c849
1 changed files with 12 additions and 1 deletions
|
@ -276,7 +276,18 @@ in {
|
|||
};
|
||||
}]) // {
|
||||
linkConfig.RequiredForOnline = "no";
|
||||
networkConfig.Gateway = "10.42.0.1";
|
||||
routes = [{
|
||||
routeConfig = {
|
||||
Gateway = "10.42.0.1";
|
||||
Destination = "0.0.0.0/0";
|
||||
Table = routeTables.ee;
|
||||
};
|
||||
} {
|
||||
routeConfig = {
|
||||
Destination = "10.42.0.0/24";
|
||||
Table = routeTables.ee;
|
||||
};
|
||||
}];
|
||||
};
|
||||
networks."40-en-gnet" = (physicalNetwork routeTables.gnet "0xcafe" [{
|
||||
# Catch-all mop-up rule at the end.
|
||||
|
|
Loading…
Reference in a new issue