Interne Netzwerkkonfiguration

StefanM1990

Member
Mar 1, 2021
9
0
6
33
Hallo Proxmox-Community,

ich habe eine Frage hinsichtlich Netzwerk.

Meine Umgebung:

NODE 1 (dedicated Server for Proxmox)
i7 4790K
32GB
2x 480GB SSD RAID1

NODE 2 (dedicated Server for Proxmox)
i7 4790K
32GB
2x 480GB SSD RAID1

Die Netzwerkkonfiguration auf beiden Nodes sieht wie folgt aus. Die VMs erhalten dann die IP Adressen, die unter "up ip route add" stehen.
Das funktioniert auch alles wunderbar!

Code:
auto lo
iface lo inet loopback
iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
 address <statische IP>
 netmask 255.255.255.255
 pointopoint <statische IP/32>
 gateway <statische IP/32>
 bridge_ports enp2s0
 bridge_stp off
 bridge_fd 0
 #Für jede VM/IP:
 up ip route add <statische IP/32> dev vmbr0
 up ip route add <statische IP/32> dev vmbr0
 up ip route add <statische IP/32> dev vmbr0

Nun stelle ich mir die Frage, ob ich in meiner Umgebung ein zusätzliches, internes Netzwerk erstellen kann, um z.B. Test-VM aufzubauen die nicht öffentlich erreichbar sein sollen. Ich könnte mir vorstellen, z.B. VM1 + VM2 + VM3 zu erstellen, die dann untereinander mit IP Adresse wie 192.168.20.10 192.168.20.20 192.168.20.30 kommunizieren können.

Klappt sowas? Und wie würde so eine Konfiguration aussehen?

Vielen Dank im Voraus :)
 
Einfach eine neue bridge hinzufügen, also z.B. vmbr1. Am besten übers web-interface. IP muss dafür unter PVE erstmal gar nicht vergeben werden, außer der host selbst soll in dem Netz erreichbar sein. Die bridge kann man sich dann wie einen leeren switch vorstellen, und beim erstellen von VMs dann einfach die NIC an die neue bridge hängen - effekt: VMs sind auf layer 2 verbunden. Kann dann eine VM als DHCP agieren, oder all statisch, oder etc...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!