swann: fix en-ee routes so they belong to the ee route table

This commit is contained in:
Luke Granger-Brown 2023-09-30 21:22:36 +00:00
parent 2a0a5d4cb6
commit acb3f9c849

View file

@ -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.