2024-09-08 12:07:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Script créant la connexion entre gatekeeper et les réseaux virtuels sur le cluster Proxmox Rohan
|
|
|
|
|
2024-09-19 01:25:09 +02:00
|
|
|
ip link add ethRohanNetArda type vxlan id 20 dev ethInfoInt dstport 4789
|
|
|
|
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.21 dev ethRohanNetArda
|
2024-09-08 12:07:08 +02:00
|
|
|
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
|
2024-09-10 01:26:05 +02:00
|
|
|
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.73 dev ethRohanNetArda
|
2024-09-19 01:25:09 +02:00
|
|
|
ip addr add 172.20.1.254/16 dev ethRohanNetArda
|
2024-09-08 12:07:08 +02:00
|
|
|
ip link set mtu 1450 dev ethRohanNetArda
|
|
|
|
ip link set up dev ethRohanNetArda
|
2024-09-09 22:09:39 +02:00
|
|
|
|
2024-09-19 01:25:09 +02:00
|
|
|
ip link add ethRohanNetSAE type vxlan id 21 dev ethInfoInt dstport 4789
|
2024-09-09 22:09:39 +02:00
|
|
|
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
|
2024-09-10 01:26:05 +02:00
|
|
|
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.73 dev ethRohanNetSAE
|
2024-09-19 01:25:09 +02:00
|
|
|
ip addr add 172.21.1.254/16 dev ethRohanNetSAE
|
2024-09-09 22:09:39 +02:00
|
|
|
ip link set mtu 1450 dev ethRohanNetSAE
|
|
|
|
ip link set up dev ethRohanNetSAE
|