From 0c28a1dc9e29ad39c8f242ecc55d6eb960ce3bca Mon Sep 17 00:00:00 2001 From: Lyanis SOUIDI Date: Sun, 8 Sep 2024 12:07:08 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20script=20de=20cr=C3=A9ation=20des=20VXL?= =?UTF-8?q?AN=20sur=20gatekeeper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gatekeeper/rohannet_setup.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gatekeeper/rohannet_setup.sh diff --git a/gatekeeper/rohannet_setup.sh b/gatekeeper/rohannet_setup.sh new file mode 100644 index 0000000..cfe9663 --- /dev/null +++ b/gatekeeper/rohannet_setup.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# Script créant la connexion entre gatekeeper et les réseaux virtuels sur le cluster Proxmox Rohan + +ip link add ethRohanNetSAE type vxlan id 17 dev ethInfoInt dstport 4789 +bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.70 dev ethRohanNetSAE +bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.71 dev ethRohanNetSAE +ip addr add 172.17.1.254/16 dev ethRohanNetSAE +ip link set mtu 1450 dev ethRohanNetSAE +ip link set up dev ethRohanNetSAE + +ip link add ethRohanNetArda type vxlan id 18 dev ethInfoInt dstport 4789 +bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.70 dev ethRohanNetArda +bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.71 dev ethRohanNetArda +ip addr add 172.18.1.254/16 dev ethRohanNetArda +ip link set mtu 1450 dev ethRohanNetArda +ip link set up dev ethRohanNetArda