nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit 607460a838b9c0d879faee629028a8bf710e368f
parent e44d772ebe7fd4a7057a33d428d5d445e36f01e0
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 27 Jan 2024 18:20:27 +0100

Meow

Diffstat:
Mnixos/worker-1/configuration.nix | 20++------------------
Mnixos/worker-2/configuration.nix | 20++------------------
2 files changed, 4 insertions(+), 36 deletions(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -472,52 +472,36 @@ in { protocol bgp worker2 { local 10.0.2.1 as 64513; # Use a private AS number neighbor 10.0.2.2 as 64514; # Our neighbor ... - multihop; # ... which is connected indirectly + #multihop; # ... which is connected indirectly ipv4 { export filter allowed_ips; import filter allowed_ips; - next hop self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv6 { import all; export none; - missing lladdr self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv4 multicast { import all; export none; - table multicasttable4; # Another IPv4 table, dedicated for multicast - igp table igptable4; }; } protocol bgp nordgedanken { local 10.0.2.1 as 64513; # Use a private AS number neighbor 10.0.1.2 as 64512; # Our neighbor ... - multihop; # ... which is connected indirectly + #multihop; # ... which is connected indirectly ipv4 { export filter allowed_ips; import filter allowed_ips; - next hop self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv6 { import all; export none; - missing lladdr self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv4 multicast { import all; export none; - table multicasttable4; # Another IPv4 table, dedicated for multicast - igp table igptable4; }; } ''; diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -566,52 +566,36 @@ in { protocol bgp worker1 { local 10.0.2.2 as 64514; # Use a private AS number neighbor 10.0.2.1 as 64513; # Our neighbor ... - multihop; # ... which is connected indirectly + #multihop; # ... which is connected indirectly ipv4 { export filter allowed_ips; import filter allowed_ips; - next hop self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv6 { import all; export none; - missing lladdr self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv4 multicast { import all; export none; - table multicasttable4; # Another IPv4 table, dedicated for multicast - igp table igptable4; }; } protocol bgp nordgedanken { local 10.0.2.2 as 64514; # Use a private AS number neighbor 10.0.1.2 as 64512; # Our neighbor ... - multihop; # ... which is connected indirectly + #multihop; # ... which is connected indirectly ipv4 { export filter allowed_ips; import filter allowed_ips; - next hop self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv6 { import all; export none; - missing lladdr self; - igp table igptable4; # IGP table for routes with IPv4 nexthops - igp table igptable6; # IGP table for routes with IPv6 nexthops }; ipv4 multicast { import all; export none; - table multicasttable4; # Another IPv4 table, dedicated for multicast - igp table igptable4; }; } '';