4
0

Modification du subnet SAÉ

172.17.0.0/16 est utilisé par défaut sur docker, déplacement du subnet SAE vers 172.19.0.0/16 pour éviter les conflits
This commit is contained in:
Lyanis SOUIDI 2024-09-09 22:09:39 +02:00
parent 0854bfaf5b
commit 96c2182f84

View File

@ -2,14 +2,6 @@
# Script créant la connexion entre gatekeeper et les réseaux virtuels sur le cluster Proxmox Rohan # 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
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.72 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 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.70 dev ethRohanNetArda
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.71 dev ethRohanNetArda bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.71 dev ethRohanNetArda
@ -17,3 +9,11 @@ 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 addr add 172.18.1.254/16 dev ethRohanNetArda
ip link set mtu 1450 dev ethRohanNetArda ip link set mtu 1450 dev ethRohanNetArda
ip link set up 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