virtualisierung:proxmox:pve_sdn
This is an old revision of the document!
Proxmox Software Defined Network
Vorteile:
- Man muss nicht mehr alle Interfaces auf jedem Host anlegen
- Es können Hosts zum Cluster hinzugefügt werden und man kann einfach die Config drauf deployen
- Es ist flexibler in der Handhabung
Host vorbereiten (Interfaces)
Die /etc/network/interfaces Config von einem Host muss schon noch editiert und vorbereitet werden.
Hier ein Beispiel mit von einem Host. Das Netzwerk sieht wie folgt aus:
- 2x 25G SFP → LACP
- MGT
- Storage Traffic
- SDN (VM Netzwork)
- Live + Storage Migration
- HA (Ring 1+2)
- 2x 1G Base-T → LACP
- HA (Ring 0)
Hier die Interfaces Config dazu:
auto lo
iface lo inet loopback
####################
### Docu - Start ###
####################
# OnBoard 1G Base-T Nic
# eno12399
# eno12409
# eno12419
# eno12429
# PCI Slot Dual 25G SFP28 Nic
# ens2f0np0
# ens2f1np1
# 2x 1G BaseT -> HA Traffic
# 2x 25G SFP28 -> IP & Storage & Migartion
##################
### Docu - End ###
##################
###############################
### Bond Interfaces - Start ###
###############################
auto bond-ip
iface bond-ip inet manual
bond-slaves ens2f0np0 ens2f1np1
bond_miimon 100
bond_mode 802.3ad
bond_lacp_rate 1
up bridge vlan add dev bond-ip vid 2-4090
# Bond IP & Storage LAN
auto bond-ha
iface bond-ha inet manual
bond-slaves eno12399 eno12409
bond_miimon 100
bond_mode 802.3ad
bond_lacp_rate 1
# Bond HA LAN
#############################
### Bond Interfaces - End ###
#############################
##########################
### Bond VLANs - Start ###
##########################
auto bond-ip.736
iface bond-ip.736 inet static
dns-nameservers 172.28.11.4 172.28.11.5
dns-search mgmt.semantic-web.at
vlan-raw-device bond-ip
# MGT VLAN
auto bond-ip.737
iface bond-ip.737 inet static
address 172.28.3.37
netmask 255.255.255.0
# Storage VLAN + IP
auto bond-ha.753
iface bond-ha.753 inet static
address 172.28.30.37
netmask 255.255.255.0
# HA VLAN + IP
########################
### Bond VLANs - End ###
########################
##########################
### MGT Bridge - Start ###
##########################
auto vmbr0
iface vmbr0 inet static
bridge_ports bond-ip.736
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
address 172.28.2.37
netmask 255.255.255.0
gateway 172.28.2.1
# MGT IP
########################
### MGT Bridge - End ###
########################
#######################
### For SDN - Start ###
#######################
auto vmbr1
iface vmbr1 inet manual
bridge_ports bond-ip
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
# SDN Network Bridge
source /etc/network/interfaces.d/*
#####################
### For SDN - End ###
#####################
virtualisierung/proxmox/pve_sdn.1739796648.txt.gz · Last modified: by stone
