diff options
| author | Max Audron <audron@cocaine.farm> | 2023-08-11 16:51:35 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2023-08-11 16:51:35 +0200 |
| commit | 5828af9fc19e18dc85e49fcc1a251a7eb25d909c (patch) | |
| tree | c70c3e52237c08d3fdcb2f1269c524c25e3feeb8 /modules/bgp | |
init
Diffstat (limited to 'modules/bgp')
| -rw-r--r-- | modules/bgp/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/bgp/default.nix b/modules/bgp/default.nix new file mode 100644 index 0000000..79187da --- /dev/null +++ b/modules/bgp/default.nix @@ -0,0 +1,19 @@ +{ config, lib, pkgs, ... }: + +{ + networking.interfaces.eth0.ipv4.addresses = [ + { + address = "217.163.29.14"; + prefixLength = 32; + } + { + address = "209.250.238.254"; + prefixLength = 32; + } + ]; + + networking.interfaces.eth0.ipv6.addresses = [{ + address = "2a0f:9400:8020::"; + prefixLength = 48; + }]; +} |
