4
0
proxmox-scripts/rohan-net/rohan-net_setup_yavanna.sh

14 lines
684 B
Bash
Raw Normal View History

2024-09-19 01:25:09 +02:00
#!/bin/bash
# Script créant la connexion entre yavanna et les réseaux virtuels sur le cluster Proxmox Rohan
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.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.72 dev ethRohanNetArda
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.73 dev ethRohanNetArda
bridge fdb append to 00:00:00:00:00:00 dst 172.16.1.254 dev ethRohanNetArda
ip addr add 172.20.1.21/16 dev ethRohanNetArda
ip link set mtu 1450 dev ethRohanNetArda
ip link set up dev ethRohanNetArda