4
0
proxmox-scripts/gatekeeper/rohannet_setup.sh

20 lines
953 B
Bash
Raw Normal View History

#!/bin/bash
# Script créant la connexion entre gatekeeper et les réseaux virtuels sur le cluster Proxmox Rohan
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
2024-09-08 14:23:56 +02:00
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.72 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
ip link add ethRohanNetSAE type vxlan id 19 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
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.72 dev ethRohanNetSAE
ip addr add 172.19.1.254/16 dev ethRohanNetSAE
ip link set mtu 1450 dev ethRohanNetSAE
ip link set up dev ethRohanNetSAE