From ffadd981177a82c659dbb049b6cb672b9c21f28f Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 4 Apr 2020 03:14:47 +0200 Subject: [PATCH] add peers --- fsn1/bird2/bird/peers/AS4242423905_weiti.conf | 7 +++++++ fsn1/systemd-networkd/dn42p5.netdev | 13 +++++++++++++ fsn1/systemd-networkd/dn42p5.network | 10 ++++++++++ nbg1/bird2/bird/peers/AS4242423905_weiti.conf | 7 +++++++ nbg1/systemd-networkd/dn42p3.netdev | 13 +++++++++++++ nbg1/systemd-networkd/dn42p3.network | 10 ++++++++++ 6 files changed, 60 insertions(+) create mode 100644 fsn1/bird2/bird/peers/AS4242423905_weiti.conf create mode 100644 fsn1/systemd-networkd/dn42p5.netdev create mode 100644 fsn1/systemd-networkd/dn42p5.network create mode 100644 nbg1/bird2/bird/peers/AS4242423905_weiti.conf create mode 100644 nbg1/systemd-networkd/dn42p3.netdev create mode 100644 nbg1/systemd-networkd/dn42p3.network diff --git a/fsn1/bird2/bird/peers/AS4242423905_weiti.conf b/fsn1/bird2/bird/peers/AS4242423905_weiti.conf new file mode 100644 index 0000000..c9f598d --- /dev/null +++ b/fsn1/bird2/bird/peers/AS4242423905_weiti.conf @@ -0,0 +1,7 @@ +protocol bgp AS4242423905_weiti from dnpeers { + neighbor 172.20.175.195 as 4242423905; +} + +protocol bgp AS4242423905_weiti_v6 from dnpeers { + neighbor fe80::42%dn42p5 as 4242423905; +} diff --git a/fsn1/systemd-networkd/dn42p5.netdev b/fsn1/systemd-networkd/dn42p5.netdev new file mode 100644 index 0000000..28b5613 --- /dev/null +++ b/fsn1/systemd-networkd/dn42p5.netdev @@ -0,0 +1,13 @@ +[NetDev] +Name = dn42p5 +Kind = wireguard +Description = WireGuard + +[WireGuard] +ListenPort = 42425 +PrivateKeyFile = /etc/wireguard/private.key + +[WireGuardPeer] +PublicKey = OxX4oGg6XCefMLKqC3T9wmQfwvvkVg1O9PRx5quLrXA= +Endpoint = dn42-gw.weiti.org:22341 +AllowedIPs = 172.16.0.0/12,10.0.0.0/8,fd00::/8,fe80::/10 diff --git a/fsn1/systemd-networkd/dn42p5.network b/fsn1/systemd-networkd/dn42p5.network new file mode 100644 index 0000000..14403c2 --- /dev/null +++ b/fsn1/systemd-networkd/dn42p5.network @@ -0,0 +1,10 @@ +[Match] +Name = dn42p5 + +[Address] +Address = fe80::2342/128 +Peer = fe80::42/128 + +[Address] +Address = 172.20.177.33/32 +Peer = 172.20.175.195/32 diff --git a/nbg1/bird2/bird/peers/AS4242423905_weiti.conf b/nbg1/bird2/bird/peers/AS4242423905_weiti.conf new file mode 100644 index 0000000..7edff06 --- /dev/null +++ b/nbg1/bird2/bird/peers/AS4242423905_weiti.conf @@ -0,0 +1,7 @@ +protocol bgp AS4242423905_weiti from dnpeers { + neighbor 172.20.175.193 as 4242423905; +} + +protocol bgp AS4242423905_weiti_v6 from dnpeers { + neighbor fe80::42%dn42p3 as 4242423905; +} diff --git a/nbg1/systemd-networkd/dn42p3.netdev b/nbg1/systemd-networkd/dn42p3.netdev new file mode 100644 index 0000000..5db90a4 --- /dev/null +++ b/nbg1/systemd-networkd/dn42p3.netdev @@ -0,0 +1,13 @@ +[NetDev] +Name = dn42p3 +Kind = wireguard +Description = WireGuard + +[WireGuard] +ListenPort = 42423 +PrivateKeyFile = /etc/wireguard/private.key + +[WireGuardPeer] +PublicKey = r0B2r7XcpplqtrbIvnKGUvarvfe15qS9Qrd4bg5Bwyw= +Endpoint = dn42-de01.weiti.org:22341 +AllowedIPs = 172.16.0.0/12,10.0.0.0/8,fd00::/8,fe80::/10 diff --git a/nbg1/systemd-networkd/dn42p3.network b/nbg1/systemd-networkd/dn42p3.network new file mode 100644 index 0000000..3bd7def --- /dev/null +++ b/nbg1/systemd-networkd/dn42p3.network @@ -0,0 +1,10 @@ +[Match] +Name = dn42p3 + +[Address] +Address = fe80::3/128 +Peer = fe80::42/128 + +[Address] +Address = 172.20.177.34/32 +Peer = 172.20.175.193/32