Skip to content

Commit

Permalink
nix.nixos-configurations.dev-server: ipv4 static route for bridge103
Browse files Browse the repository at this point in the history
Unlike the hypervisors during the show: The dev-server has multiple
networks that its apart of: HE Tunnel + Scale Expo Network. Thus we must
be explicit about which route the entire 10.0.0.0/8 should take.

Co-authored-by: Owen DeLong <owen@delong.com>
  • Loading branch information
sarcasticadmin and owendelong committed Jan 21, 2025
1 parent 28ef2db commit 343f034
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nix/nixos-configurations/dev-server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,13 @@
"10.0.3.20/24"
"2001:470:f026:103::20/64"
];
routes = [
{
routeConfig.Destination = "10.0.0.0/8";
routeConfig.Gateway = "10.0.3.1";
routeConfig.GatewayOnLink = true;
}
];
};
"50-bridge104" = {
matchConfig.Name = "bridge104";
Expand Down

0 comments on commit 343f034

Please sign in to comment.